M
MichaelR
I have an ASP.NET application running on the 1.1 Framework on 2 servers just
fine. However, on one server (Windows Server 2003) I'm having a problem.
This particular line of code throws an exception when run through the Visual
Studio 2003 debugger:
objFileStream = New
FileStream(objHttpContext.Server.MapPath("/virdir1/subdir/mrConfig.dat"),
FileMode.Open)
The exception text is:
Access to the path "C:\Inetpub\wwwroot\virdir1\subdir\mrConfig.dat" is
denied."
I've checked file system security on the directory and on the file itself.
The user NETWORK SERVICE has full control over both. What else do I need to
do to enable access?
Thanks.
fine. However, on one server (Windows Server 2003) I'm having a problem.
This particular line of code throws an exception when run through the Visual
Studio 2003 debugger:
objFileStream = New
FileStream(objHttpContext.Server.MapPath("/virdir1/subdir/mrConfig.dat"),
FileMode.Open)
The exception text is:
Access to the path "C:\Inetpub\wwwroot\virdir1\subdir\mrConfig.dat" is
denied."
I've checked file system security on the directory and on the file itself.
The user NETWORK SERVICE has full control over both. What else do I need to
do to enable access?
Thanks.