Failed to Map The Path '/'

Posted on 3/15/2011 | Comments (0)

What a nightmare! I've been wasting half the morning trying to set up a copy of a WP3 site. Any aspx page returns the error below. I was able to resolve it by changing the default app pool to use asp.net v4, integrated mode, and then change this site over to that app pool. I had been using the asp.net 4.0 app pool to start with. For some reason, changing it worked. I have no idea why.

Failed to map the path '/'.

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.InvalidOperationException: Failed to map the path '/'. Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Failed to map the path '/'.]
   System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +336

[HttpException (0x80004005): Failed to map the path '/'.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11524352
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4782309


Comments

Be the first to comment below.

Post Comment