Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Installer Utili...  Failed to Access IIS Metabase
Previous Previous
 
Next Next
New Post 9/1/2006 8:35 AM
User is offline Jeff Rogers
1 posts
www.jobhunterpro.com
10th Ranked


Failed to Access IIS Metabase 

Apparently I have some permissions problems with IIS that need to be corrected.  Checking user access to the IIS metabase might make a nice enhancement to the installer.  Here is the error message I received.

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) +3492186
   System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) +9
   System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +163
   System.Web.CachedPathData.GetConfigPathData(String configPath) +382
   System.Web.CachedPathData.GetConfigPathData(String configPath) +243
   System.Web.CachedPathData.GetApplicationPathData() +68
   System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3385695
   System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189

 
New Post 9/8/2006 12:04 PM
User is offline Mark Schuler
92 posts
10th Ranked


Re: Failed to Access IIS Metabase 
I getthe same error.  I just got a new laptop and tried a dnn site that I was running on my old laptop.  I tried running aspnet_regiis -ga for the windows account I used to login and I also tried running it with the aspnet account.  Still getting the same error.
 
New Post 9/8/2006 12:19 PM
User is offline Mark Schuler
92 posts
10th Ranked


Re: Failed to Access IIS Metabase 

Got it.  I just reinstalled the .NET framework and it worked fine.  aparrantly iis needs to be installed before the framework.  I seem to remember there is an regiis command that you can use to fix this, but it's just as easy to reinstall the framework.

 

 
New Post 2/14/2008 1:08 AM
User is offline Prasanth
2 posts
10th Ranked


Re: Failed to Access IIS Metabase 

i ran regiis to ASPNET user and the local user as whom i am logged in

 
New Post 2/14/2008 6:16 AM
User is offline Mitch Sellers
5028 posts
www.mitchelsellers.com
3rd Ranked




Re: Failed to Access IIS Metabase 

You can fix this error by running the following process

  1. Open a command line window
  2. Navigate to C:\Windows\Microsoft.NET\Framework\v2.0.50727 (Based on default install)
  3. Run the following command without the quotes "aspnet_regiis.exe -u"
  4. Run the following command without the quotes "aspnet_regiis.exe -i"

This will remove and re-install the IIS registration of the .NET 2.0 framework.


-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.
View Mitchel Sellers's profile on LinkedIn

Visit mitchelsellers.com for DotNetNuke tutorials, modules and technical help

Custom DotNetNuke Services Available (Development, etc).

My sites are hosted with 3Essentials
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Installer Utili...  Failed to Access IIS Metabase
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNN SEO
Seablick Consulting specializes in DNN search engine optimization (SEO), DNN consulting, as well as support & training.
seablick.com
Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP