Failed to access IIS metabase Error


Hello Developers,

Failed to access IIS metabase” error might have faced by so many developers while deployment stage.

Cause of this issue:

This error occurs when you install IIS after installing .NET Framework. So IIS does not resolve the .NET framework  .

Solution:

If we install .NEt Framework after installing IIS then, IIS is automatically configures to handle requests to ASP.NET pages, and to redirect the execution to the ASP.NET runtime.

But in this situation we have to make use of aspnet_regiis.exe utility to register ASP.NET into IIS.

How to configure? :

You can copy and paste this command into windows command prompt

%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

this will fix this issue. You should be installing this for all version you want to configure.

 

Thanks for reading this article

Swagat

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s