D
Dave
I am getting te following error in a ASP.Net app that is running on Win XP
Pro (SP2):
Server cannot access application directory 'C:\Documents and
Settings\dave\My Documents\My Visual Studio ASP.NET\MyWebSite\'. The
directory does not exist or is not accessible because of security settings.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Server cannot access
application directory 'C:\Documents and Settings\dave\My Documents\My Visual
Studio ASP.NET\MyWebSite\'. The directory does not exist or is not
accessible because of security settings.
The application is in a virtual directory called DotNet.
ASP.Net apps that I create directly in the wwwwroot folder display without
error. It is only in the virtual directory that I am having problems with
permissions.
I turned directory browsing on and I can see the contents of the virtual
directory root (//DELL9/dotnet/) but I cannot see the contents of the web
app (//DELL9/dotnet/MyWebSite) i.e. I get the above error when I try to
browse.
I tried adding the user ASPNET to the security settings for the folder at
'C:\Documents and Settings\dave\My Documents\My Visual Studio
ASP.NET\MyWebSite' but this does not work either.
What do I need to do to set permissions for the virtual directory?
Pro (SP2):
Server cannot access application directory 'C:\Documents and
Settings\dave\My Documents\My Visual Studio ASP.NET\MyWebSite\'. The
directory does not exist or is not accessible because of security settings.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Server cannot access
application directory 'C:\Documents and Settings\dave\My Documents\My Visual
Studio ASP.NET\MyWebSite\'. The directory does not exist or is not
accessible because of security settings.
The application is in a virtual directory called DotNet.
ASP.Net apps that I create directly in the wwwwroot folder display without
error. It is only in the virtual directory that I am having problems with
permissions.
I turned directory browsing on and I can see the contents of the virtual
directory root (//DELL9/dotnet/) but I cannot see the contents of the web
app (//DELL9/dotnet/MyWebSite) i.e. I get the above error when I try to
browse.
I tried adding the user ASPNET to the security settings for the folder at
'C:\Documents and Settings\dave\My Documents\My Visual Studio
ASP.NET\MyWebSite' but this does not work either.
What do I need to do to set permissions for the virtual directory?