Admin page not accessible

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
ZimmerbergerM
Posts: 2
Joined: Wed Jun 27, 2007 7:18 am

Admin page not accessible

Post by ZimmerbergerM » Wed Jun 27, 2007 9:12 am

After installing Vault 4.0.1 the first time on a W2K Advanced Server, it is not possible to reach admin's page. .NET gives the following error (yes, i've already reinstalled .NET):

Server Error in '/VaultService' Application.
--------------------------------------------------------------------------------

Failed to map the path '/VaultService/App_GlobalResources/'.
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 '/VaultService/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 '/VaultService/App_GlobalResources/'.]
System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +3521404
System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate2(StandardDiskBuildResultCache diskCache) +306
System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(StandardDiskBuildResultCache diskCache) +46
System.Web.Compilation.BuildManager.RegularAppRuntimeModeInitialize() +418
System.Web.Compilation.BuildManager.Initialize() +235
System.Web.Compilation.BuildManager.InitializeBuildManager() +228
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +310

[HttpException (0x80004005): Failed to map the path '/VaultService/App_GlobalResources/'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3426887
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +149




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Wed Jun 27, 2007 9:42 am

That's really odd. Our web services are pre-compiled, so the .Net Framework shouldn't be trying to do anything like that. Is there an App_GlobalResources folder on your disk under VaultService? If there is, can you delete it?

ZimmerbergerM
Posts: 2
Joined: Wed Jun 27, 2007 7:18 am

Post by ZimmerbergerM » Thu Jun 28, 2007 2:10 am

There is no such folder on this host. But there is also .NET framework 1.1 installed - normally that shouldn't matter?

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Jun 29, 2007 7:12 am

The internet seems to point to this being caused by having inadequate rights to the C:\WINNT\system32\Microsoft\Crypto\RSA\MachineKeys directory. Make sure to give your ASPNET user full rights to that directory and all files in it.

If that doesn't work, repeat setup for C:\Documents and Settings\All Users.WINNT\Application Data\Microsoft\Crypto\RSA\MachineKeys

Post Reply