Failed to access IIS metabase ASP.NET

Failed To Access IIS Metabase Error In ASP.NET, If You are getting "Failed to access IIS metabase" error while browsing asp.net site or aspx page in IIS server then you may have installed IIS Server after installing the .NET framework.

If that's the case, try running to repair your ASP.NET installation and set up all of the appropriate ISAPI extension mappings.

Open visual studio command prompt and type this command

aspnet_regiis -ga \username
username is usually aspnet


if this doesn't work than use this command
aspnet_regiis -i

alternatively you can copy and paste this command into windows command prompt

%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

this will fix your problem



If you like this post than join us or share

74 comments:

Anonymous said...

Perfect, after several hours and pretty close to a full breakdown i found this lifesaver. 10 second fix thanks


Anonymous said...

I tried for hours in searching and trying others solutions but your's was prefect. Solved my problem.

Thanks.


Anonymous said...

Thanks... perfect one


Anonymous said...

thanks a lot!!!!!! :)

microsoft help sucks!!!!!!!!!!!!!

thanks guys after 2 weeks of traiting you saved me :D


amol said...

Thanks a lot your the best it worked as you said but just for note this even works if first installed iis and then frame work.


Anonymous said...

what is the UserName?


Anonymous said...

Thanks !!!


ratul sarmah said...

Thanks a lot. i have search so many pages but finally it works.


Anonymous said...

omg, fighting this for an hour and then your post just saved me!


Anonymous said...

Thanks very much! It works great.


Anonymous said...

Thank you


Anonymous said...

Thanks!!


Anonymous said...

yet another very happy individual to find this page. You've saved me a great deal of time. Thanks!


Anonymous said...

Perfect solution


Anonymous said...

THANK YOU so much. It's perfect solution.


Anonymous said...

I tried both suggestions and I still get the "Failed to Access IIS metabase" error.

XP Pro SP2
ASP.NET 3.5


Anonymous said...

It's awesome!!!! I spent two month and now.... it's cool. Thanks


Anonymous said...

You rock!


Anonymous said...

Thanks a lot. I really worked


Anonymous said...

GREAT...it worked...


Anonymous said...

Thanks A lot..It really helps me a lot...
Thanks again..


Anonymous said...

Perfect !!
Thank

-- danu sukmawijaya --


Anonymous said...

That fix was da sheeot!


kijana said...

+1 Worked!


Anonymous said...

Bravo!!!!!! Thanks you so much.


Anonymous said...

Great Solution! I tried many recommended solutions in the net forum yours is great!

Thanks!


Anonymous said...

Great Solution!! i re-imaged my machie and i was getting this error. you recommended solution worked like a charm.


Anonymous said...

Thats perfect


Anonymous said...

you are really cool....this helped a lot. Thanks.


Edian said...

Thanks! Your solution works great.


Anonymous said...

Excellent fix.

Afterthought: It makes sense to install IIS before VS or SQL server...

Thanks!


Anonymous said...

Thanks a lot, worked like a charm


John said...

Perfect prognosis, and cure.


Anonymous said...

IIS help did not show nada and after going through your command it worked in no time. Thanks a lot.


Anonymous said...

Awesome, worked great.


Anonymous said...

Thank you!It really works!


Anonymous said...

Thanks!


Anonymous said...

Thanks Dude!!


Anonymous said...

THAT'S WHAT I'M TALKIN' ABOUT!!!! YOU THE MAN!!! I've spent almost three hours this morning trying to figure this one out.....I have an IIS textbook I've never used because it's useless.....nothing on this. Same with Microsoft. Can't thank you enough.


Anonymous said...

Awesome ..It worked...


Anonymous said...

"%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i" worked for me, thanks!


Subha said...

Thanks a lot . It fixed my problem.


Anonymous said...

Thank you so much. You saved me a lot of time and grief trying to troubleshoot this.


Anonymous said...

Thanks a lpt Guys.....It Works Perfect


MarkSquall said...

Thank you Sir, like what others said, it was a quick fix. God bless everyone.


Anonymous said...

Damn! Thanks a lot, you've just made me save time!


Anonymous said...

great Help. Thanks


Anonymous said...

cool, it fixed the problem.


Anonymous said...

I CURSE the person who wrote the error message that comes with this error directing you to go to the most UNHELPFUL "knowledge base" article there ever could be. And I wish the person who wrote THAT dies in his own vomit.


Anonymous said...

Aightaboy!


Anonymous said...

Thank you so much!


Anonymous said...

Thanks for the help. The last command prompt worked for me.


Anonymous said...

Waaaal thanks. It worked for me too yipeee!!!!


Anonymous said...

thanks ,
actually run the commnad
aspnet_regiis -ga \aspnet


Bhaskarjyoti Bhagowati said...

Thanks a lot


Anonymous said...

Thanks


Anonymous said...

Thanks dude.It Worked


Anonymous said...

Thanks a lot....!!!!!
it works perfectly.....

Anup


Anonymous said...

jakkass solutions..............


Anonymous said...

Thanks a lot. I've found this after several hours of web search for the solution, but this one fixed my problem in seconds.
Thanks !


Heera said...

Thanks, it's really helpful. I've found this after several hours of web search.
Thanks again !


Anonymous said...

Super like mate.
Ty!!


Anonymous said...

Yup..Its working fine..Thanx dude..Cheers


Minhaj said...

Than You... My Problem resolved...


Anonymous said...

yes.. u r the life saver...

thanks


Santhosh said...

Thank you so much...


Unknown said...

gre8....

Best Regards
Harshal


Anonymous said...

IT really worked.. thnaks


Bharat said...

It worked, Thanks a lot..


Zafar Ansari said...

Thanks buddy. Worked like a charm.


adi said...

thank u a lot. it saves my time.....great


Gourav Goyal said...

10 out of 10
it was really helpfull in concise way


prashant pathak said...

Worked for me also. Only changed it to latest version of .NET i.e. "v4.0.30319"


Anonymous said...

thanks..
It worked!!


Find More Articles