Solve the problem that the ASP.NET process account does not have permission to access IIS
Under IIS, an error occurs when accessing an asp page:
Access to the IIS metabase failed
. "The process account used to run ASP.NET must have read access to the IIS metabase (such as IISservernameW3SVC). For information on how to modify metabase permissions, see httpsupport.microsoft.comkbid=267904. "
The reason may be that the .NET Framework is installed first and then IIS is installed, resulting in IIS not setting a user for ASP.NET.
Solution: 1. Runaspnet_regiis -i
under CWindowsMicrosoft.NET Framework version
2. Or download the Metaacl.vbs script and run
cscript metaacl.vbs
to manually modify the permissions
Metaacl.vbs file download