By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,610 Members | 1,957 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,610 IT Pros & Developers. It's quick & easy.

Failed to map the path '/App_GlobalResources/'

P: n/a
Hi,
i have W2k and framework 1.0 and 1.1 and work fine,
i have installed framework 2.0 and when start a simple page aspx
return the page error

i try to make asp.net user permission in folder
Microsoft\Crypto\RSA\MachineKeys

i try to make aspnet_regiis with various paramenter but

all my test failed

What can i make ???
Failed to map the path '/App_GlobalResources/'

Exception Details: System.InvalidOperationException: Failed to map the
path '/App_GlobalResources/'.

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
'/App_GlobalResources/'.]
System.Web.Hosting.HostingEnvironment.MapPathActua l(VirtualPath
virtualPath, Boolean permitNull) +3521404

System.Web.Compilation.BuildManager.CheckTopLevelF ilesUpToDate2(StandardDiskBuildResultCache
diskCache) +306

System.Web.Compilation.BuildManager.CheckTopLevelF ilesUpToDate(StandardDiskBuildResultCache
diskCache) +46

System.Web.Compilation.BuildManager.PrecompiledApp RuntimeModeInitialize()
+708
System.Web.Compilation.BuildManager.Initialize() +3466117
System.Web.Compilation.BuildManager.InitializeBuil dManager() +228
System.Web.HttpRuntime.HostingInit(HostingEnvironm entFlags
hostingFlags) +310

[HttpException (0x80004005): Failed to map the path
'/App_GlobalResources/'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context)
+3426887
System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context)
+88
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr)
+149

Feb 1 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
App_GlobalResources is a new type of .NET folder. Make sure the folder is
installed in your web app would be the first (add asp.net folder >>
App_GlobalResources).

The next step would be to ensure the "global resource" in question is in
that folder. My guess is it has something to do with RSA, as I do not have
this problem and have not used RSA in 2.0. I would check to see how 2.0
handles encryption, as that is the most likely culprit to why your app is not
working.

NOTE: On the asp.net site, there are some migration tool helps, as well as
compilation helpers that will compile in the same manner as 1.x. I have not
tried them, but look at this link and focus on the "Web Application Projects"
and "Web Deployment Projects":
http://www.asp.net/default.aspx?tabindex=5&tabid=41

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

***************************
Think Outside the Box!
***************************
"Pippo" wrote:
Hi,
i have W2k and framework 1.0 and 1.1 and work fine,
i have installed framework 2.0 and when start a simple page aspx
return the page error

i try to make asp.net user permission in folder
Microsoft\Crypto\RSA\MachineKeys

i try to make aspnet_regiis with various paramenter but

all my test failed

What can i make ???
Failed to map the path '/App_GlobalResources/'

Exception Details: System.InvalidOperationException: Failed to map the
path '/App_GlobalResources/'.

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
'/App_GlobalResources/'.]
System.Web.Hosting.HostingEnvironment.MapPathActua l(VirtualPath
virtualPath, Boolean permitNull) +3521404

System.Web.Compilation.BuildManager.CheckTopLevelF ilesUpToDate2(StandardDiskBuildResultCache
diskCache) +306

System.Web.Compilation.BuildManager.CheckTopLevelF ilesUpToDate(StandardDiskBuildResultCache
diskCache) +46

System.Web.Compilation.BuildManager.PrecompiledApp RuntimeModeInitialize()
+708
System.Web.Compilation.BuildManager.Initialize() +3466117
System.Web.Compilation.BuildManager.InitializeBuil dManager() +228
System.Web.HttpRuntime.HostingInit(HostingEnvironm entFlags
hostingFlags) +310

[HttpException (0x80004005): Failed to map the path
'/App_GlobalResources/'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context)
+3426887
System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context)
+88
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr)
+149

Feb 1 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.