Ask a Question related to ASP.NET Security, Design and Development.
-
David Li #1
Access file denied - Urgent!!!
Hi all,
I was trying to read/write to a file under the ASP.NET web application's
root directory. After some configurations, e.g. Enabling 'Impersonate',
Assigning correct pemissions to ASPNET accounts for this file, the program
ran very well. However when I put it on another server, it appears the
system is trying to locate the file under "C:\Winnt\System32" and I got
"Unauthorized Exception". This file IS under the web application root
directory, and I tried to put "~/" or "./" before the file name, it didn't
work either! Any ideas? Thank you in advance!!!
David
David Li Guest
-
access denied to file
When installing a java program from my computer the install shield brings up and error message saying that it needs to access a file inside... -
Access Denied when uploading a file
Just changed web hosting providers. I'm using Contribute 4. This problem only seems to happen when I'm linking a new file from our network (ie... -
Access Denied. The file may not exist,...
Hello everyone, I have no idea why this issue keeps poping up... what have i done wrong... any ideas here is the error message... Access... -
Access denied to file from ServicedComponent
I would greatly appreciate help on issue that looks as have been resolved before: I wrote a ServicedComponent that reads and writes files to a... -
A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY?
Hi. This is an error that comes up fairly regularly when trying to run the "Rebuild All" command in a Solution that contains more than one... -
Paul Clement #2
Re: Access file denied - Urgent!!!
On Wed, 20 Oct 2004 08:29:35 -0500, "David Li" <david.li@yourcall.com> wrote:
¤ Hi all,
¤
¤ I was trying to read/write to a file under the ASP.NET web application's
¤ root directory. After some configurations, e.g. Enabling 'Impersonate',
¤ Assigning correct pemissions to ASPNET accounts for this file, the program
¤ ran very well. However when I put it on another server, it appears the
¤ system is trying to locate the file under "C:\Winnt\System32" and I got
¤ "Unauthorized Exception". This file IS under the web application root
¤ directory, and I tried to put "~/" or "./" before the file name, it didn't
¤ work either! Any ideas? Thank you in advance!!!
¤
Are you using Server.MapPath to specify the location of the file?
Paul ~~~ [email]pclement@ameritech.net[/email]
Microsoft MVP (Visual Basic)
Paul Clement Guest



Reply With Quote

