Failed to access IIS metabase problem

Possible Cause:-
         When you install IIS AFTER .NET 2.0 framework, the rights of the ASPNET user had not been set correctly.

Resolution
         Repair (Uninstall if repair does not work for you)  .NET Framework 2.0

Simply run the following from command line to reset the IIS registry settings for aspnet user. Usually framework directory for .Net Framework 2.0 resides under C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727


References:-

Print | posted on Friday, March 23, 2007 11:28 AM

Comments on this post

# re: Failed to access IIS metabase problem

Requesting Gravatar...
right answer
Left by pran on Apr 10, 2007 11:04 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
I had this issue, and your solution proved correct. Thanks.
Left by jdp on May 02, 2007 12:38 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
resolution solved my issue. Thanks for the posting
Left by Paul on May 04, 2007 7:03 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
u can use the following command in the vs2005 command prompt "aspnet_regiis -i"

Left by prasad on May 17, 2007 5:54 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanks it worked
Left by zahur on May 30, 2007 7:12 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
w00t! Worked like a charm!

Thanks for posting!
Left by Dustin on Jun 06, 2007 9:22 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
that worked for me too, thanks
Left by Niramit on Jun 25, 2007 8:39 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thank you so muchh!!
Left by nia on Aug 06, 2007 1:50 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks and it fixed my issue with IIS... Very good simple and pain-free solution
Left by Um on Aug 17, 2007 5:05 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
it solved my prob tooooo.
Thank you very much.
Left by SRK on Aug 30, 2007 11:27 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Hi
Thanks a ton!!!
I was trying to solve this issue for past 6 hrs.....and nothing was working properly....ur solution is correct!!
Left by Nidhi on Aug 31, 2007 6:14 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Hey .. perffecto !
Left by empcarl on Sep 06, 2007 9:00 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanks a lot!
Left by klunk7 on Sep 11, 2007 1:55 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Correct!! Thank you very match!
Left by Roman on Sep 12, 2007 6:18 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a ton
It worked wonders for me
Left by Nik on Sep 19, 2007 2:22 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanks a lot
Left by Mehdi on Sep 19, 2007 8:02 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a lot.....
Left by Sachin on Sep 28, 2007 3:29 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
yes! you r right my problem has been solved.thanx very much.
Left by Mandeep Singh on Oct 01, 2007 10:26 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a lot man! u r great
Left by sb on Oct 05, 2007 1:00 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
I had the same problem.
I'm using Vista and VS 2005
tried to un-install and re-install asp.net
I tried to fix .Net 2.0 regestry...nothing worked.
Then i checked my shortcut to VS 2005, and sure eenough, for some reason the 'Run as Administrator' option was unchecked.

I checked it back...and voila....all is good.
Left by G. Hilal on Oct 19, 2007 11:09 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thx. Its worked well for me too.
Left by Gajapathy on Oct 25, 2007 12:19 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks due to ur solution( Repair (Uninstall if repair does not work for you) .NET Framework 2.0
).Problem has been solved
Left by Mohsin Irshad on Oct 27, 2007 3:26 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Gracias brother
Left by Frank on Nov 03, 2007 10:37 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks..
My problem is get resolved
Left by Arpan Shah on Nov 03, 2007 11:23 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Tks a lot...
my problem has been resolved.

Left by Leonardo Michel on Nov 06, 2007 5:23 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
my problem solved thanks for this simple solution
Left by shreeja on Nov 08, 2007 9:02 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thank you dear you solved my problem. you are genius really
Left by Majid on Nov 23, 2007 5:40 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Champion! what a nice solution
Left by Mao on Dec 06, 2007 10:47 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Hi,
Thanks for your Suggestion my problem has been solved.

can u provide me help for the below problem,

How to access .Net Applications which are deployed on IIS 5.1 from different systems on LAN.??

Advanced thanks
Neha
Left by Neha on Dec 17, 2007 1:25 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thx..!
Left by Apexa on Dec 19, 2007 1:02 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
It works!! Thank you very much
Left by playaBalandra on Jan 04, 2008 7:26 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks!Really it's works nice.
Left by Azad on Jan 09, 2008 1:46 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thank You sooooo much!!!
I've been pulling my hair out all day trying to sort this problem out, until i came across your solution which worked miracles!!
Left by Gauthier on Jan 11, 2008 9:54 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a ton!!! finally it worked for me
Left by ganesh on Jan 15, 2008 5:29 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanks it worked for me
Left by srilu on Jan 16, 2008 2:44 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Great. It works 100%.
Thanks.
Left by Ali on Jan 17, 2008 5:50 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a lot. Your solution is OK.
Indeed, I installed IIS after AFTER .NET 2.0 framework!
Left by Mihael on Jan 22, 2008 4:11 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanks a lot i found this problem as a long time
until I find this
Left by BBB on Jan 24, 2008 6:42 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks, worked for me, too!
Left by Eric on Jan 26, 2008 1:35 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
GR88888888888888 Solution+ A perfect one....
Juz cant see the command promt screen properly

So...let me tell it is:
aspnet_regiis -i
Left by swapnil shejul on Feb 07, 2008 6:47 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Nice hint thx ;)
Left by AuGuS666 on Feb 21, 2008 8:08 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thank uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
Left by Sachin on Feb 23, 2008 8:50 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Really .... Your solutions is very helpful easy to resolve the problem without any panic ...... Great :(
Left by Muhammad Ali Arif on Feb 28, 2008 11:21 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a lot
Left by anupama on Feb 29, 2008 1:14 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
No complication.... just described..... expecting more like this... Thanks

Muneer
www.koliyat.com
Left by Muneer Koliyat on Mar 01, 2008 11:45 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
THANKS A LOT.. WORKS PERFECT.. :)
Left by Yohanes on Mar 05, 2008 6:08 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thank you very much.. its worked.. thanks again...
Left by Elango K on Mar 19, 2008 1:36 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanx a lot... it really works like magic.
Left by Piyush on Mar 21, 2008 11:42 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
hey,

thxs a lot. it's solved my problem.
Left by Nithya on Mar 24, 2008 1:56 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks for the solution. It really works....
Left by Ritesh Shrestha on Apr 14, 2008 11:20 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Hey guys it works on my system also...thanks...the problem is solved now...
Left by Imran Ahmed on Apr 19, 2008 12:53 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Your code didn't worked need help
Left by Kinjal on Apr 25, 2008 12:12 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Hey.. Thnx A LOTT..
Absolute Description..
D Rite Solution
Left by KRANTHI on May 14, 2008 10:28 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
10x a lot. I had a real chain of errors before finished configuring my site on iis. & this had been the last one. quick, simple solution!!!
Left by l_szn on May 27, 2008 10:04 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks. worked perfectly
Left by Bill on May 30, 2008 1:59 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a lot.
Left by Jegs on May 30, 2008 2:24 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thank you very much
Left by May01 on Jun 02, 2008 11:16 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanks
Left by pravin on Jun 07, 2008 5:30 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
salamat po (thank you)
Left by terminator on Jun 09, 2008 9:00 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
perfect
Left by Preetham on Jun 09, 2008 4:17 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a lot it worked perfectly..
Left by bhanu on Jun 11, 2008 9:53 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Excelente, mi problema ha quedado resuelto, Gracias
Left by Fernando Rdz on Jun 13, 2008 1:01 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a lot, solved my problem !!!
Left by el barto on Jun 13, 2008 2:31 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
very good post, it worked for me :)
Left by Gaurav Pandey on Jun 13, 2008 3:13 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Worked for me! Thanx a lot!
Left by Hesten on Jun 16, 2008 2:42 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
nail it!

Thanks!
Left by windchaser on Jun 17, 2008 7:04 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
I satisfy with that answer.
Thank U very much.
Left by Subashini on Jun 17, 2008 2:17 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Worked for me! Thanx a lot!!!
Left by avdhut on Jun 20, 2008 11:23 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks, It worked for me.
Just thanks again.
Left by prashanth on Jun 23, 2008 3:06 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
you are my hero, saved my ass.. i tried to fix this in the past two days, i thought my apache server was to blaim

thanks again
Left by Spoook on Jun 23, 2008 10:02 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks, it solved the issue!
Left by naqshi on Jun 24, 2008 1:48 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanks man it worked
Left by pradeep on Jun 25, 2008 11:11 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks it worked. Thanks alot
Left by Kamalpreet Singh on Jun 26, 2008 12:37 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thnks dude.It's perfect
Left by Gyan on Jun 26, 2008 4:48 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thank you very much..

very GOOOD !!!
Left by kibcute on Jun 27, 2008 9:38 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a lot, I was struggling a lot with http://support.microsoft.com/?kbid=267904, msdn and other links, but of no use :-( This one liner worked like wonder!!
Left by Tanmay on Jun 27, 2008 5:51 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
many many thanks for providing a strong and simple solution !!
Left by Shabu on Jul 02, 2008 7:11 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a ton......This resolved my problem.
Left by Habib Ahmad on Jul 04, 2008 11:29 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks for your answer. lol
Left by l2omance on Jul 06, 2008 12:09 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thank you very much great solution!
Left by Claudio on Jul 08, 2008 2:54 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
This was great help. Thanks.
Left by Yves on Jul 09, 2008 6:53 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thank you very much great solution!
Left by Sameer on Jul 10, 2008 3:59 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
i had same problem, after this working fine

Thanks lot...

Francis
Left by Arul Francis on Jul 10, 2008 7:07 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thnx alot...this worked for me too =)
Left by James L. on Jul 15, 2008 8:54 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanks it worked for me.
Left by ali on Jul 15, 2008 9:18 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanx a lot
Left by Aditya on Jul 16, 2008 10:24 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanks sir
Left by vikas on Jul 16, 2008 2:05 PM

# Failed to access IIS metabase problem

Requesting Gravatar...
Thanks. Worked out for me
Left by meathead on Jul 18, 2008 8:22 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...

Thanks...
When I received this error on my web page, the following suggestion message also appear.

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.


I followed that instruction and didn't work out. So, I google it and your blog page has shown me on the first.

I did aspnet_regiis -i and now it's solved.

Thank you so much.
Left by Myo Zaw on Jul 22, 2008 5:10 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thank you very much great solution!
Left by Hong on Jul 23, 2008 10:29 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanx dud for the suggestion. It solved the issue i got because of installing IIS 5.1 after installing DOTNET Framework 2.
Left by Sudeep Das on Jul 24, 2008 5:24 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks. Perfect answer.
Left by John on Jul 25, 2008 1:08 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a lot...You're a genius buddy!
Left by red on Jul 25, 2008 6:03 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks your solutions worked!!!
Left by fisayo on Jul 25, 2008 8:51 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks a lot...It worked for me...Thanks a lot again...
Left by Arul on Jul 27, 2008 12:44 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Excelent .....
Left by Dan on Jul 29, 2008 7:46 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
I had this problem and was struggling to fix it. Your solution fixed the problem right away. Thank you very much.
Left by Sadiq on Jul 31, 2008 3:03 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
fantastic
Left by prasad on Jul 31, 2008 5:04 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
fantastic...it worked!
Left by prasad on Jul 31, 2008 5:04 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanx a lot it solved my problem
Left by raghavendra on Aug 01, 2008 2:36 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks Mr Tiwari,
Many Many Thanks for ur solution that i get..
Left by Asutosha on Aug 04, 2008 5:21 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thank you very much!
This is helpful!
Left by Nick on Aug 05, 2008 7:16 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Pico bello ! Thanks a lot !
Left by Christophe on Aug 06, 2008 4:55 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanks men it working fine with me...
Left by saujal on Aug 07, 2008 1:57 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thanx a lot. My problem is solved now.
Left by Manan Shah on Aug 08, 2008 12:37 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanks a lot it really worked..
Left by preeti on Aug 12, 2008 10:24 AM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanx

I works and solve my problem.
Left by Inderjeet on Aug 13, 2008 3:29 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
thanks a lot you solved my problem dear
Left by Deepak singhal on Aug 14, 2008 5:11 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
Thank you.
Left by Kla on Aug 15, 2008 3:30 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
It worked like a charm, Thank u.
Left by Mohammed on Aug 15, 2008 11:50 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
THANKS
Left by keso on Aug 15, 2008 11:55 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
u guys are God sent. it worked like magic
Left by tunde on Aug 18, 2008 11:46 PM

# re: Failed to access IIS metabase problem

Requesting Gravatar...
hey thanks Boss !
Left by n I t I n on Aug 19, 2008 5:18 PM

# re: Failed to access IIS metabase problem