A personal repository of technical notes. - CSC

App_GlobalResources maps to a directory outside this application, which is not supported.

Problem

Error thrown when virtual folder has trailing backslash at end of Local Path setting in IIS.

Solution

Remove trailing backslash at end of Local Path setting in IIS of virtual folder.

Error message in ASP.NET v2.0
Server Error in '/MyBadVirtualFolder/MyApplicationFolder' Application.
The path '/MyBadVirtualFolder/MyApplicationFolder/App_GlobalResources/' maps to a directory outside this application, which is not supported.

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.
Error message in ASP.NET v1.1
Server Error in '/MyBadVirtualFolder/MyApplicationFolder' Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
References
brutter. "App_GlobalResources maps to a directory outside this application, which is not supported. - ASP.NET Forums." Forum. 19 Sept. 2005. Forums.asp.net - Home. Web. 22 Jan. 2010.
<http://forums.asp.net/t/889911.aspx>.

No comments:

Post a Comment