Lets Have a fun with Technology.

BTemplates.com

Follow by Email

Thursday, April 30, 2009

Failed to access IIS metabase.


Problem 

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 http://support.microsoft.com/?kbid=267904.
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

26 comments:

  1. Nice Post

    Thank Dude.u Solved my Problem.

    ReplyDelete
  2. Great! It works. Thanks.

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

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

    ReplyDelete
  5. Really good tip it worked for me THANKS ALOT!!!

    ReplyDelete
  6. Thanks Working Nice.

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

    ReplyDelete
  8. Thank you, solved my problem,

    Tubasi

    ReplyDelete
  9. Thank you.
    It works.
    (Ferhat K.)

    ReplyDelete
  10. thanks a lot. solved my problem!

    ReplyDelete
  11. all this dint solve my problem

    ReplyDelete
  12. Thanks dude..................
    really worked for me...............

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

    ReplyDelete
  14. Thanks... it solved my problem

    ReplyDelete
  15. Thanks a lot. It works.

    ReplyDelete
  16. Thanks Sir......

    It works..Thank U for sharing knowledge.

    ReplyDelete
  17. 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

    ReplyDelete
  18. Thanks a Lot....from Amitabh-9437506725

    ReplyDelete
  19. thank you so much for you sharing this

    ReplyDelete