This has been posted in forums and knowledgebases already, but it happened to me and I had to track it down, so I will document it here for posterity. The details of the post are particular to my installation and do not imply a more global solution.
If you install IIS on XP after you install .Net 2.0, you may have problems deploying a 2.0 ASP.Net web site. If you receive this message:
Failed to Access IIS Metabase
Try running this:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
The -i option essentially re-registers ASP.Net with IIS and will in all likelihood fix your issue.
I tried the option u have specified, but still didn’t work.. As a result i tried uninstalling the .NET framework and reinstalling it. And now the condition is worst. Neither my site runs from the MS Studio2005’s web server not from the local host..
Please help me.
Thanx
I am not sure what I can do without seeing your machine and issue first hand.
If you uninstalled .Net, but did not uninstall VS2005, I am sure you are running in a unstable state.
Given this is your development environment, you may have more luck with a fresh install of XP with IIS, and then add VS2005. I know that isnt how you want to spend your day, but it may be your best solution.
This is why VMs are so great.