I am developing a webservice in Visual Studio RC. I have just got a new pc and my problem is that I am not able to access this webservice. I have created a virtual directory in IIS, but if I try to browse there, I get a "Failed to acces IIS metabase" error message. Does anybody know how I can resolve this problem

Failed to access IIS metabase, VS2005 RC
Hristo Serafimov
gps
gagandce
in my case this error was caused by the fact that i had installed IIS AFTER .NET2.0 . Therefore the rights of the ASPNET user had not been set correctly.
I fixed this by uninstalling (not repairing) the .NET Framework completely and then reinstalling it (no reboot necessary on WinXP). After that i had to set :NET 2.0 again as the Standard .NET Version in IIS and my error-message was gone.
Hope this helps.
greetings
fenrir
amzayle
So annoying...
I was trying to fix this on a Windows 2000,
I think the Microsoft article did not dot help...
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –ga ASPNET
and a restart (looks like the utility did not take the command...)
Eventually: IIS -> Web Site -> Operators -> Add -> ASPNET -> BINGO
jms04081974
Not to be nit-picky.. but this doesn't work..
C:\WINNT\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis /i /e
Some options specified are not compatible. Use aspnet_regiis / to see all options.
Brian Patrick
gameprix1,
Thanks for the response. I checked Authentication Method Window for my IIS. The Intergated Windows Security box is checked. I think it is enabled as default. I also checked the Authentication mode in the ASP.NET Configuration Settings Window under the ASP.NET Tag in site properties. It is Window. It seems asp files work but not aspx files.
Bong
Cahyo Sasongko
and by the way , the time tracker sample is working very good and without any problem !
tubefeed
Mark,
I visited the doc. http://support.microsoft.com/ kbid=267904. that was suggested by the error message. However, when I ran "aspnet_regiis –ga <WindowsUserAccount>" from Command Prompt, aspnet_regiis is not recognized.I am creating a test web site in my local W2K SP4 IIS with "the Microsoft Visual Studio 2005 Version 8.0.50727.7 (RTM.050727-0700) Microsoft .NET Framework Version 2.0.50727 Microsoft Visual Web Developer 2005 Express 76872-000-0000011-00123. I have the similar error message, "Failed to access IIS metabase"
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).
Stack Trace:
I downloaded and ran the metaacl.exe to add my account to the list and then restart the IIS, but I still have the problem.
I also based on another web site to change the Machine.config
<system.web> <processModel autoConfig="true"/> to
<system.web> <processModel userName="SYSTEM"/>
and restart IIS. I still have the same error message.
Can you help
Bong
TigerMan90
TMHerring
Add/Remove Programs->Microsoft .NET Framework 2.0->Change/Remove->Reinstall.
Despite the warning that I would need to reboot, it worked without doing so.
YMMV
-Wackyspat
Wolfgang Rues
Alright.. this works...
Now tell me why.. because this feels like a nasty hacky kludge to me and a maintenance nightmare.
The server is running Windows 2000 Server, has several deployed and working ASP 1.1 applications on it.
The server also has several other web sites on it, some running ColdFusion MX. ASP.Net 2.0 was installed on the machine.
I ran : aspnet_regiis -iru
Then : aspnet_regiis -s W3SVC/1/Root/<appPath>
The 1.1 applications continued to work fine. The 2.0 application failed with the metabase error until ASPNet was made an operator for the site. Afterwords, both the 1.1 applications and the 2.0 applications work fine.
Why
jamaddox
I am sorry for the late response Mark, but I have been busy the last few days and have put this problem aside for a while. I did try your suggestions, but they did not help. I suspect the cause of the problem is that VS 2005 RC was installed before IIS. Now, I am awaiting the official release very soon, so I have decided to not care about this before that and install everything from scratch when I am getting the official release.
Hans Geurtsen
Mark Ramey
2) Is ASP.NET installed - Run aspnet_iisreg.exe /lv from the VS command line prompt
3) For 2) is the default install for ASP.NET v2.0 as opposed to v1.1 ( the running version is marked with the (root)value). If not then then run aspnet_iisreg.exe /i /e
If none of the above can you provide more info
Thanks. Mark Fussell
WSE Program Manager