Monday, February 16, 2009

Failed to access IIS metabase 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>

if this doesn'twork 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




Other Posts:
Trace track Mobile Phone number location and operator in India
Import/Export Excel Data into Sql Server using SqlBulkCopy-ASP.NET
Delete multiple rows records in Gridview with checkbox and confirmation in ASP.NET
www.tips-fb.com
Shout it
Stumble Upon Toolbar
Submit this story to DotNetKicks vote it on WebDevVote.com add to del.icio.us saved by 0 users
Subscribe to Feeds

23 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..


Hugo Lim said...

hey.. thanks. it saved my day!


Anonymous said...

Perfect !!
Thank

-- danu sukmawijaya --


About Me

My Photo
amiT jaiN
Hi, I am amiT jaiN Software engineer working on C#.NET and ASP.NET technologies
View my complete profile

Comments

.NET Resources

Find More Articles


Subscribe To Feeds

Subscribe by E-mail

Enter your email address:

Delivered by FeedBurner


Subscribe in your favorite reader

This site is best viewed with || You may get errors in proper display of this site if using Internet explorer


C#.NET Articles and tutorials,ASP.NET Articles - blog by amiT jaiN