Wednesday, 18 May 2011

Fail to Acces IIS Metabase. (IIS_v.5.1)












Problem :- "Fail to access the IIS Meta-base".
While creating the .ASPX file in the IIS it shows the Above error message.



Solution:-
Many able to fix the error by running the suggested command, not sure why it didn't works for you.
now, did you run it in both 1.1. and 2.0 framework folders?

how about retry the steps here:
We followed below steps to resolve the issue -

1. Unregistered all the versions of ASP.NET with command "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –ua".

2. Deleted the ASPNET account from "Local Users and Group – Users".

3. Then registered ASP.NET 2.0 with IIS using "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –i".

4. Gave permissions to the ASPNET account using "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –ga machinename\ASPNET".

5. Reset the IIS and that resolved the issue for ASP.NET 2.0.

6. We registered ASP.NET 1.1 with IIS as well using command "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis –i".

7. Reset the IIS.
 

No comments: