aspx in virtual directory

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
 
G

Guest

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!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top