Click here to Skip to main content
15,914,074 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi Sir,

Good day to all!
I need your help with regards to deployment of my asp.net web application.
When I compiled my program to web setup in my unit (windows7) and can also access by the other computer, and run it
using the ip-address of mine, it runs smoothly, but when I tried to
compiled it to windows-xp computer, and tried to run it using the ip-address (of windows-xp) (LAN).Always resulted to server application error.
I checked my virtual directory and it looks ok.
I don't know what to do regarding on this. I need to transfer the program to windows-xp computer (serve as our server) so the other user can access that using the ip-address where the program stored. Please help me sir. Thanks in advance...

- Jess

here's the error below

Server Error in '/webiroc' Application.
Failed to access IIS metabase.
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.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

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:

[HostingEnvironmentException: Failed to access IIS metabase.]
System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +3591442
System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9
System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +169
System.Web.CachedPathData.GetConfigPathData(String configPath) +389
System.Web.CachedPathData.GetConfigPathData(String configPath) +243
System.Web.CachedPathData.GetApplicationPathData() +68
System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3536567
System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Posted

A little Google goes a long way. Read this.[^]
 
Share this answer
 
Comments
Silver Lightning 28-Mar-11 20:52pm    
I already did that sir, but still the same error, resulted to failed to access IIS metabase. here's my reference http://support.microsoft.com/?kbid=267904
but still the same error occurred. Any help about this sir? thanks in advance
Dave Kreskowiak 28-Mar-11 21:59pm    
I'd be going through ALL of those links, not just the MS KB article.
Silver Lightning 28-Mar-11 22:02pm    
I got the answer using aspnet_regiis -i
thank you for your help sir dave. :)
Hi Sir,

I got the answer using aspnet_regiis -i

Thank you very much for all your support sir.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900