The process account used to run ASP.NET must have read access to the IIS metabase
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.
http://www.ibusiness-management.com/
After trying many thing. This was the solution.
Thanks a lot.
Thanks – works for me too!
Thank you very much.
You are great. It finally worked. Thanks.
Many many thanks. Perfect solution.
Thank u very much
for windows 2000 use WINNT in place of WINDOWS
thanks again
Thanks, this worked for me. One note.
You can’t really tell since its underlined but its aspnet_regiis not aspnet regiis.
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
Thanks.. It worked
Nice! Worked perfectly.
Thank you very much. You saved me a lot of time.
Thanks..tried many other ways, but this one worked! thank you
Thanks. It works for me.
I tried the above options but it says “this error indicates this version of ASP dotnet must first be registered on the machine”
Fantastic solution.It worked for me also.
Thanks
Sarnendu De
Thanks. It worked for me.
A Million Thanks. It works! all thumbs UP!!!.
Grande maestro!!, awesome article, even better than the microsoft’s one
Thanks for this solution, wouldnt have figured out. Also I did not need a “.” after the Root/
Also something was wrong in command 4 if i copied and pasted into command window. But if i typed the same text it worked.
awesome. i owe you one. whats your paypal account?
PS: as Vasya mentioned, not need for a dot (.) after the Root/
thanks a million
Thanks for your valuable reply.
Thanks a lot patriwala. The solution worked well. This really deserves to be in the Microsoft Knowledgebase.
Thanks! Helped a lot.
I ran up to step 4 and it worked!!
Thanks a lot
Thanks a lot.. it worked for me also but ‘. ‘ is not required after root.
I think this extra dot is due to reflex of adding dot for every line end by British English users
Thanks i had tried many things but this worked fine with no error nor complications.
Thank you
As others have mentioned, this also worked for me. Thanks.
Gr8 one. short and simple explaination. It worked. Thanks alot.
You’re a wizard!!! I was pulling my hair for hours trying to figure this out. Thank you sooooooo much! My site is up and running now!!! Thank you!!!!
worked like a charm man thankx.
thanks for your solution.. it works fine..
Very clean solution. worked for me. Thanks!!!
Finally the answer. Thanks.
Great, thank you. no way to know that without you.
Thanks a lot
Thanks, alot, Gr8 n Very simple solution.
Thanks for solution.
thank u so much it really works
Thanks a lot… It works very well!!
It is like magic to me. It worked perfect.
Thanks for posting this solution.
-Sundar
Thanks a lot, It work!!!
Thanks alot. Great post. Still doing its magic three years later. I was that close to quiting ASP.NET in favor of things that have more straightforward deployment. I’m soldiering on thanks to you so..kudos.
After struggling for a lot of time.it worked .Thanks a lot