I am working on a client machine and every time I host a website, it keeps giving me an IIS error.
The error is: Failed to access IIS metabase.
If anyone knows how to solve this error
SOLUTION 1:
You can try using following command, for the account that is failing to access the IIS metabase (Microsoft Site):
aspnet_regiis -ga <WindowsUserAccount>
This doesn't always seem to work however as there may be a problem with the installation of the 2.0 NET framework. Browsing to the appropriate .NET folder (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 for example) and running the following command will reinstall that version of IIS and typically resolves this problem.
aspnet_regiis –i
Note: running a repair on the .NET 2.0 component from the 'Add and Remove Programs' interface may not resolve this problem.
SOLUTION 2:
You can try the following steps :-
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.
Hope this will solve the issue!..
No comments:
Post a Comment