Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an web aplication.Which i publish on iis. iis is on my local computer. I configure it well but when i brows the page it gives an following error ....

The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.</pre>

Please reply as soon as possible....
Thank u !
Posted

1 solution

As per your post itslef, you receive this error message because the permissions to the metabase are insufficient, or because the permissions are set incorrectly. You need to change the permissions.

1) Open the command prompt and go to the root path.
2) (here I m used Operating System is Windows XP) go to the dotnet framework Path. cd {Your Root Path}\WINDOWS\Microsoft.NET\Framework\v2.0.50727
3) write this in to command prompt aspnet_regiis –ga ASPNET
run this it gives The User ‘aspnet’ not exist.
This command with parameter (-ga) check the Grants the specified user (ASPNET) or group access to the IIS metabase and other directories that are used by ASP.NET.
4) write this in to command prompt aspnet_regiis –iru
run this it install the iis.
This command is Installs the version of ASP.NET that is associated with Aspnet_regiis.exe and only registers ASP.NET in IIS.
5) write this in to command prompt aspnet_regiis -s W3SVC/1/Root/.

This installs the script map, points to the ASP.NET ISAPI version associated with Aspnet_regiis.exe. ASP.NET applications at the specified application root path and its subdirectories.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900