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/

50 responses to “The process account used to run ASP.NET must have read access to the IIS metabase”

  1. Georges Avatar
    Georges

    After trying many thing. This was the solution.

    Thanks a lot.

  2. Liat Avatar
    Liat

    Thanks – works for me too!

  3. Gleb Avatar
    Gleb

    Thank you very much.

  4. Vel Avatar
    Vel

    You are great. It finally worked. Thanks.

  5. Arabinda Avatar
    Arabinda

    Many many thanks. Perfect solution.

  6. Saidibabu Avatar
    Saidibabu

    Thank u very much

    for windows 2000 use WINNT in place of WINDOWS

    thanks again

  7. Matt Avatar
    Matt

    Thanks, this worked for me. One note.
    You can’t really tell since its underlined but its aspnet_regiis not aspnet regiis.

  8. Senthila Avatar
    Senthila

    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

  9. Sujith Avatar
    Sujith

    Thanks.. It worked 🙂

  10. dips1 Avatar
    dips1

    Nice! Worked perfectly.

  11. Noam Avatar
    Noam

    Thank you very much. You saved me a lot of time.

  12. isaac kariuki Avatar

    Thanks..tried many other ways, but this one worked! thank you

  13. Frank Ansola Avatar
    Frank Ansola

    Thanks. It works for me.

  14. ayyavar Avatar
    ayyavar

    I tried the above options but it says “this error indicates this version of ASP dotnet must first be registered on the machine”

  15. Sarnendu De Avatar
    Sarnendu De

    Fantastic solution.It worked for me also.
    Thanks
    Sarnendu De

  16. Parag Avatar
    Parag

    Thanks. It worked for me.

  17. Sudarshan Avatar
    Sudarshan

    A Million Thanks. It works! all thumbs UP!!!.

  18. Yanick Avatar
    Yanick

    Grande maestro!!, awesome article, even better than the microsoft’s one

  19. […] mackbook y ya no pueda entrar a Ubuntu, preferí seguir la búsqueda por la red y me encontré con este blog en el cual, describen una solución que en lo personal, me funcionó muy […]

  20. Vasya Avatar
    Vasya

    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.

  21. shashank Avatar
    shashank

    awesome. i owe you one. whats your paypal account?

    PS: as Vasya mentioned, not need for a dot (.) after the Root/

    thanks a million

    1. patriwala Avatar

      Thanks for your valuable reply.

  22. sanket Avatar
    sanket

    Thanks a lot patriwala. The solution worked well. This really deserves to be in the Microsoft Knowledgebase.

  23. John Wilkinson Avatar

    Thanks! Helped a lot.

  24. mura Avatar
    mura

    I ran up to step 4 and it worked!!
    Thanks a lot

  25. sudeshna Avatar
    sudeshna

    Thanks a lot.. it worked for me also but ‘. ‘ is not required after root.

    1. ajit Avatar
      ajit

      I think this extra dot is due to reflex of adding dot for every line end by British English users

  26. DANIEL Avatar

    Thanks i had tried many things but this worked fine with no error nor complications.

    Thank you

  27. Graham Avatar
    Graham

    As others have mentioned, this also worked for me. Thanks.

  28. Preeti Avatar
    Preeti

    Gr8 one. short and simple explaination. It worked. Thanks alot.

  29. James Avatar

    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!!!!

  30. abk Avatar
    abk

    worked like a charm man thankx.

  31. sai Avatar
    sai

    thanks for your solution.. it works fine..

  32. Ashutosh Singh Avatar
    Ashutosh Singh

    Very clean solution. worked for me. Thanks!!!

  33. Odnaurus Avatar
    Odnaurus

    Finally the answer. Thanks.

  34. Ronen Avatar
    Ronen

    Great, thank you. no way to know that without you.

  35. Ashi Avatar
    Ashi

    Thanks a lot
    🙂

  36. Bhramar Avatar
    Bhramar

    Thanks, alot, Gr8 n Very simple solution.

  37. Angel Linares Avatar
    Angel Linares

    Thanks for solution.

  38. prachi Avatar
    prachi

    thank u so much it really works

  39. tane Avatar
    tane

    Thanks a lot… It works very well!!

  40. Sundar Sathana Avatar
    Sundar Sathana

    It is like magic to me. It worked perfect.
    Thanks for posting this solution.
    -Sundar

  41. JeFF Avatar
    JeFF

    Thanks a lot, It work!!!

  42. Slothy Sakata Avatar
    Slothy Sakata

    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.

  43. Edwin Avatar
    Edwin

    I followed your instructions to the letter, but this does not work in Windows XP mode installed in Windows 7 64-bit Professional edition. Please help.

  44. sucharitha Avatar
    sucharitha

    After struggling for a lot of time.it worked .Thanks a lot

  45. Maneesh Avatar
    Maneesh

    Thaks Dear Very Useful thing

  46. Ryan Henning Avatar
    Ryan Henning

    Many Thanks! This worked! You are awesome!

  47. Amit Avatar
    Amit

    Cool Dude…you saved my day 🙂 God bless

  48. aisha Avatar
    aisha

    you deserve a medal of honor.. how come no one else on the internet had got this right. This guy deserves to be in microsoft

Leave a Reply

Discover more from The Engineering Behind Enterprise AI

Subscribe now to keep reading and get access to the full archive.

Continue reading