Error: Failed to access IIS metabase

October 30th, 2007 | Tags: , ,

If you install IIS after .Net 2.0 or Visual studio 2005, you may receive “Failed to access IIS metabase” error. To resolve this issue either you need to install .Net framework again after IIS or you can do the following…

You can use the aspnet_regiis utility comes with .Net framework 2.0. This is an administrator utility to install or uninstall Asp.Net on local server/machine. To run this utility through command prompt move to C:\Windows\Microsoft.Net\Framework\v2.0.50727 and type (without quotes)

“aspnet_regiis -i ”


This will install the ASP.Net and update and upgrade the scriptmaps at the IIS metabase root and in below the root. In certain cases, a particular user account doesn’t have access to IIS metabase. Such condition will result the same error. However, in this case you can simply grant access to user account using…

“aspnet_regiis –ga (user_account_name)”





Share and Enjoy:
  • Twitter
  • Digg
  • del.icio.us
  • StumbleUpon
  • Google Bookmarks
  • Technorati
  • Facebook
  • DotNetKicks
  • email
  • Print
  • NewsVine
  • Reddit
  • RSS
  1. November 7th, 2007 at 14:31
    Reply | Quote | #1

    niche blog… i like that… thanks for sharing

  2. sanjib
    January 3rd, 2008 at 17:37
    Reply | Quote | #2

    Thanks very much for details explanation. At last i have solved my problems from your blog.

  3. carla
    February 5th, 2008 at 00:58
    Reply | Quote | #3

    thanx that worked for me also

  4. Md.Tarik Khan
    March 24th, 2008 at 15:21
    Reply | Quote | #4

    Thakhs for this details and nice explaination, I have solved my problem.

  5. April 14th, 2008 at 20:58
    Reply | Quote | #5

    Thanks for sharing this. I googled plenty of suggestions, but you’ve made it very clear what and why needs to be done. aspnet_regiis -i solved my problem. On my machine the path to aspnet_regiis.exe was missing from PATH variable, so I had to type it all the way to the .NET 2.0 subfolder, but in the end it worked.
    Thanks again!

  6. mehak
    May 14th, 2008 at 11:25
    Reply | Quote | #6

    thanks a ton it realy worked 4 me

  7. Dhaval Joshi
    May 15th, 2008 at 06:11
    Reply | Quote | #7

    Thanks a lot…

    It worked for me….

  8. Frank Cobbinah
    June 20th, 2008 at 14:37
    Reply | Quote | #8

    Thanks, that worked fine for me…!

  9. Navdeep
    July 11th, 2008 at 09:34
    Reply | Quote | #9

    gud

  10. Vikram
    July 25th, 2008 at 17:36

    Hi,

    .net 2.0 was preinstalled on my laptop and i had installed iis (v 5.0) and then Sql server 2005, and am still getting the error "Failed to Access IIS Metabase."

    Have tried the solution suggested, but am still getting the error.

    Pls suggest a resolution.

  11. joseconstantine
    August 5th, 2008 at 09:47

    Thanks very much for details explanation. At last i have solved my problems from your blog.

  12. sheetal
    August 8th, 2008 at 14:20

    Thanks :)

  13. Mangesh
    December 5th, 2008 at 05:33

    Nice post !!!
    Thanx

  14. ChinniMP
    February 21st, 2009 at 07:36

    It is not working in windows server 2008, even after running the aspnet_regiis command

  15. samir
    March 5th, 2009 at 11:23

    really really useful post….thanks a lot….

  16. Paul
    September 10th, 2009 at 13:19

    Thanks, that worked fine for me…!

  17. August 12th, 2010 at 02:05

    Great Blog here!! Keep up the good work. I have found it to be very informative, Thanks for all the help :)

  18. September 6th, 2010 at 00:54

    I’ve glanced at several of your current posts and I was wondering if you were interesting in swapping website links? I am always looking to swap links with blogs about related themes! I look forward to hearing back from you quickly.