Error - Unable to Access the Iis Metabase

Error - Unable to access the IIS metabase

Thank you to everyone that answered. Since this was closed for a long time I couldn't provide much feedback, but I did eventually fix my problem. I tried many of these other solutions and they didn't fix my issue, but I'm sure they help when the root cause is different.

My Solution

I solved this problem by turning off the IIS and .Net Framework features within Windows 7 and then turning them back on. It seems like this re-installation is what fixed my issue. I still don't know what caused the problem, but at least one other developer on my team had the same issue.

Unable to access the IIS metabase ASP.Net

It turns out my Personal Folder was set to a network drive which occasionally went down causing the error described.

To change your Personal folder:

  • Open C://Windows/regedit.exe
  • Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  • Change the field Personal to %USERPROFILE% or %USERPROFILE%\{a folder of your choice}

This fixed the problem for me.

Note you may need to move over any files from your old Personal folder to your new one as they wont be picked up any more

Unable to access the IIS metabase w VS 2017

Delete %USERPROFILE%\Documents\IISExpress\config

Credit to Bill Hiebert for the fix!

Visual Studio Developer Community Reference thread

Error - Unable to access the IIS metabase

Thank you to everyone that answered. Since this was closed for a long time I couldn't provide much feedback, but I did eventually fix my problem. I tried many of these other solutions and they didn't fix my issue, but I'm sure they help when the root cause is different.

My Solution

I solved this problem by turning off the IIS and .Net Framework features within Windows 7 and then turning them back on. It seems like this re-installation is what fixed my issue. I still don't know what caused the problem, but at least one other developer on my team had the same issue.

Failed to access IIS metabase

You need to install the .net framework on you system

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



Related Topics



Leave a reply



Submit