aspx in virtual directory

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I’m trying to run an aspx page in a virtual directory in my IIS, and getting
the error below.
Please, where I should fix to make it run? I’ve tried many security changes
in directories, without success. The html and asp pages are running fine.

Thanks in advance.
Ricardo

Aspx Error:
Server cannot access application directory 'E:\Documents and
Settings\Ricardo\My Documents\My Web Sites\SSLF\'. The directory does not
exist or is not accessible because of security settings.

Stack Trace:
[HttpException (0x80004005): Server cannot access application directory
'E:\Documents and Settings\Ricardo\My Documents\My Web Sites\SSLF\'. The
directory does not exist or is not accessible because of security settings.]
System.Web.HttpRuntime.EnsureAccessToApplicationDirectory() +72
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +263

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +983
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128
 
you have a security issue. Without knowing more about how you got your
virtual root outside of Inetpub (or whether the root shows up correctly in
IIS), I have to venture that the easiest way to solve the issue is opening
the Microsoft .NET Configuration under Administration tools and opening
access to the file system.

With the location "My Web Sites", this looks like a FrontPage kind of set up
or a root created using "My Network Places" in Windows Explorer. It is not a
normal IIS setup.

Normally, it is easier to create the site in Visual Studio and then attach
your HTML editor to the URL. It causes far less grief than straightening out
messes later. (Assuming FrontPage, etc., is the root of the problem).
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Back
Top