|
-
Nov 1st, 2006, 11:06 PM
#1
Thread Starter
Lively Member
Access to the path text file in "C:\Inetpub\wwwroot\" is denied.
Hi everyone!
I have a small problem with my Websetup project!
In my Web Aplication Project, I have some code which read and write some text to a text file "VEFFErrLog.txt.1". This file stores all error of my project during run time.
I create a web setup project and install it in my computer. It's OK.
But in run time, my web aplication have an error and i recieved a yellow page with this message: "Access to the path "C:\Inetpub\wwwroot\WebSetup1\VEFFErrLog.txt.1" is denied."
What is my error and how can i fix bug!
Thank for any suggestion!
-
Nov 2nd, 2006, 01:20 PM
#2
Re: Access to the path text file in "C:\Inetpub\wwwroot\" is denied.
You will have to grant write access to that directory for your applcation user, which is aspnet I think. You might be able to do it via IIS as well.
-
Nov 3rd, 2006, 04:30 AM
#3
Thread Starter
Lively Member
Re: Access to the path text file in "C:\Inetpub\wwwroot\" is denied.
Thk you very much!
But now i get a funny problem.
I have 3 text files. 2 of them can read and write in "C:\Inetpub\wwwroot\" but the last cann't. They show this error: "Access to the path 'C:\Inetpub\wwwroot\WebSetup1\VeffLog.txt' is denied.".
what can i do now to solve this problem.
Thank for any suggestion!
-
Nov 3rd, 2006, 08:45 AM
#4
Re: Access to the path text file in "C:\Inetpub\wwwroot\" is denied.
Have you tried to delete that file manually? Maybe something has it locked.
-
Nov 5th, 2006, 09:43 PM
#5
Thread Starter
Lively Member
Re: Access to the path text file in "C:\Inetpub\wwwroot\" is denied.
Hi wild bill!
I don't delete any file in that folder! I only write data into 3 files.
I've tried some ways. But it can't help me.
Thank for any suggestion!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|