When I publish my asp.net application and configure with iis6.0 (in windows XP) I got the error
“The process account used to run ASP.NET must have read access to the IIS metabase “
Steps:
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/.
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.
Thnx.
Leave a reply to Ashutosh Singh Cancel reply