Correcting the Error: Failed to Access IIS Metabase

April 13, 2010

Development

I recently FUBAR’ed my computer at work. I’m not sure exactly how or why my system went down, but I the trigger for the crash was uninstalling the Xpise application. I the application worked very well while it was installed — I was using it for well over 6 months without issue — but when I went to remove it from my system it seemed to want to take some critical files with it.

Anyway, I had to reinstall and the framework on my computer and came across what was a frustrating, albeit common, problem. Once I had finished loading the required software, I copied over my application files from my most recent backup. When I tried to launch the application through my local host, I received the message: “Cannot view XML input using XSL style sheet.” I recognized this message as a security issue easy enough to correct. Simply ensuring the IIS has the correct permissions to execute application on my local host. Was this was fixed I ran across a new (to me) message: “Failed to access IIS metabase“.

After a little searching, I found that this error relates to the .NET mappings that IIS has in place, or rather the lack there of. Again, once I finally found the resolution, it was a simple fix. You can update the .NET script maps for the IIS Metabase Root by running the following script from the command line:

C:\Windows\Microsoft.NET\Framework\[version]\aspnet_regiis /i

Where [version] is the version you intend to update. In my case it was v2.0.50727.

, ,

No comments yet.

Leave a Reply