“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 .
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
this will fix this issue. You should be installing this for all version you want to configure.
Thanks for reading this article