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.
After trying many thing. This was the solution.
Thanks a lot.
Comment by Georges — November 3, 2008 @ 4:29 am
Thanks – works for me too!
Comment by Liat — December 17, 2008 @ 9:40 am
Thank you very much.
Comment by Gleb — January 19, 2009 @ 5:22 pm
You are great. It finally worked. Thanks.
Comment by Vel — March 26, 2009 @ 6:28 pm
Many many thanks. Perfect solution.
Comment by Arabinda — April 14, 2009 @ 10:25 pm
Thank u very much
for windows 2000 use WINNT in place of WINDOWS
thanks again
Comment by Saidibabu — April 22, 2009 @ 10:50 am
Thanks, this worked for me. One note.
You can’t really tell since its underlined but its aspnet_regiis not aspnet regiis.
Comment by Matt — May 13, 2009 @ 6:15 am
Thanks a lot. it worked. i was struggled a lot to make it work. this article was very much helped to sort out the issue. again thanks
Comment by Senthila — May 28, 2009 @ 1:40 pm
Thanks.. It worked
Comment by Sujith — June 10, 2009 @ 4:24 pm
Nice! Worked perfectly.
Comment by dips1 — August 27, 2009 @ 4:21 pm
Thank you very much. You saved me a lot of time.
Comment by Noam — September 2, 2009 @ 11:35 am
Thanks..tried many other ways, but this one worked! thank you
Comment by isaac kariuki — September 13, 2009 @ 5:46 pm
Thanks. It works for me.
Comment by Frank Ansola — September 25, 2009 @ 3:11 pm