Failed to access IIS metabase.


Failed to access IIS metabase.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

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
Solution :-
This Error Caused Because You Not Have Register ASP.Net with IIS.Please Follow Following Step to Regiser ASP.Net With IIS.
-> Go to Start - >  Run -> Cmd.

-> GO to Your System Drive Mostly C Drive.

-> Type C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i
Just wait And Message comes Successfully Register.

Prev Post                                                      All Post                                                           Next Post

Posted in |


  1. Anonymous Says:

    The blog is helpfull...
    visit also [c#]

  2. Anonymous Says:

    Nice Post

    Thank Dude.u Solved my Problem.

  3. THUYEN Says:

    Great! It works. Thanks.

  4. Anonymous Says:

    Dude.... you are tooo gud... Thanks a KETAN !!!!!!!!!!!!!!!

  5. Rajesh Says:

    This blog is very helpful...Thanks guys...

  6. Designer Says:

    Really good tip it worked for me THANKS ALOT!!!

  7. रविंदर कुमार Says:

    thanks... your blog is very good :)

  8. Anonymous Says:

    Thanks Working Nice.

  9. Anonymous Says:

    The real beauty lied in the way u explained and gave specific and required details.Hats off to u,boss

  10. Mahmoud Tubasi Says:

    Thank you, solved my problem,


  11. Anonymous Says:

    Thank you.
    It works.
    (Ferhat K.)

  12. amol Says:

    Thank you very much

  13. Anand Says:

    Thanks.. Problem solved

  14. Anonymous Says:

    thanks a lot. solved my problem!

  15. Monz Says:

    all this dint solve my problem

  16. Amys Cool Says:

    Thanks dude..................
    really worked for me...............

  17. Anonymous Says:

    Still have to same problem man !! Dailed to access IIS metabase!!! do i have to reboot my PC?

  18. Anonymous Says:

    Thanks... it solved my problem

  19. Anonymous Says:


  20. prakash Says:

    Thanks Buddy

  21. Anonymous Says:

    Thanks a lot. It works.

  22. Anonymous Says:

    Thanks Sir......

    It works..Thank U for sharing knowledge.

  23. dimasiano Says:

    matur suwun bro

  24. Ganesh Says:

    thanks. its working but when i start again (e.g http://localhost/chscoredb ) it shows file directory of project. then again have to select file (login.aspx) then it will redirect to the page. how i can directly access login page after entering above path ?
    anyone's help will be appreciated. thanks

  25. Amitabh Sahoo Says:

    Thanks a Lot....from Amitabh-9437506725

  26. may Says:

    thank you so much for you sharing this

Post a Comment