Select to view content in your preferred language

Failed to access IIS metabase

2922
9
Jump to solution
02-01-2012 11:07 AM
MattBrodersen
Occasional Contributor
Hello,

I installed ArcGIS Viewer for Silverlight 1.0, however when I go to run the program I run into the following error:

Server Error in '/Builder' Application.
--------------------------------------------------------------------------------

Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272


Has anyone else ran into this issue and if so, how did you resolve it?

Thanks!
0 Kudos
1 Solution

Accepted Solutions
MattBrodersen
Occasional Contributor
My website is not running.  Nothing displays in the browser (when navigated to http://<computer name>/Builder/default.aspx) except for the error message that I posted at the beginning of the thread.  I am unfamiliar with setting the permissions on the  files you mentioned above, would it be possible for you to further explain how to go about doing this?

Thanks!


wilburESRI was correct.  After doing research elsewhere it appears that this error occurs when IIS Server is installed after installing the .NET framework.  What I had to do was open up Window's command prompt and then run paste:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

and then hit enter.  After a few seconds of re-installing .NET framework my problem was fixed.  You just need to modify the string above with the version of .NET that you are running.  In my case,  v4.0.30319.

Hope this helps

View solution in original post

0 Kudos
9 Replies
DerekLaw
Esri Esteemed Contributor
Hi Matt,

What OS are you running?
Are you sure your machine meets all the system requirements?
Did the Silverlight Viewer install without issues?

FYI, ArcGIS Viewer for Silverlight system requirements.

Hope this helps,
0 Kudos
MattBrodersen
Occasional Contributor
Hi Matt,

What OS are you running?
Are you sure your machine meets all the system requirements?
Did the Silverlight Viewer install without issues?

FYI, ArcGIS Viewer for Silverlight system requirements.

Hope this helps,


Hello,

I am running Windows XP Professional 32-bit.
My machine does meet all the systems requirements.
I was able to install the Silverlight view without any issues, I followed the instructions on the same page that you provided a link to above.  However, I get the error I posted above when trying run the application.

Thanks for your reply!

-Matt
0 Kudos
HeatherRyan
Deactivated User
I also get this error message when trying to run the application.
My machine meets all of the requirements and I am running XP 32-bit.
Can you provide more guidance as to how to deal with this error?
Thank you.
0 Kudos
WilburHughes
Esri Contributor
Is you Web site running? Does the Builder web application show as started and listed in IIS?  Does any part of the Builder web application display?  Does the page display if you type url http://<computer name>/Builder/default.aspx in your browser? Is there any more details you can provide?

Try setting the permission on the Builder web application.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ga <Computer Name>\ASPNET
0 Kudos
MattBrodersen
Occasional Contributor
Is you Web site running? Does the Builder web application show as started and listed in IIS?  Does any part of the Builder web application display?  Does the page display if you type url http://<computer name>/Builder/default.aspx in your browser? Is there any more details you can provide?

Try setting the permission on the Builder web application.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ga <Computer Name>\ASPNET


My website is not running.  Nothing displays in the browser (when navigated to http://<computer name>/Builder/default.aspx) except for the error message that I posted at the beginning of the thread.  I am unfamiliar with setting the permissions on the  files you mentioned above, would it be possible for you to further explain how to go about doing this?

Thanks!
0 Kudos
MattBrodersen
Occasional Contributor
My website is not running.  Nothing displays in the browser (when navigated to http://<computer name>/Builder/default.aspx) except for the error message that I posted at the beginning of the thread.  I am unfamiliar with setting the permissions on the  files you mentioned above, would it be possible for you to further explain how to go about doing this?

Thanks!


wilburESRI was correct.  After doing research elsewhere it appears that this error occurs when IIS Server is installed after installing the .NET framework.  What I had to do was open up Window's command prompt and then run paste:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

and then hit enter.  After a few seconds of re-installing .NET framework my problem was fixed.  You just need to modify the string above with the version of .NET that you are running.  In my case,  v4.0.30319.

Hope this helps
0 Kudos
noamrozenfeld
Deactivated User
So simple, and wasted so much time with this...
Thanks alot!
Solved my issue
0 Kudos
TarigAhmed1
Deactivated User
Is you Web site running? Does the Builder web application show as started and listed in IIS?  Does any part of the Builder web application display?  Does the page display if you type url http://<computer name>/Builder/default.aspx in your browser? Is there any more details you can provide?

Try setting the permission on the Builder web application.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ga <Computer Name>\ASPNET



Thanks ...this solved my problem. ..
0 Kudos
ThirukkumaranG
New Contributor
Is you Web site running? Does the Builder web application show as started and listed in IIS?  Does any part of the Builder web application display?  Does the page display if you type url http://<computer name>/Builder/default.aspx in your browser? Is there any more details you can provide?

Try setting the permission on the Builder web application.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ga <Computer Name>\ASPNET


It solved my problem. Thank u very much.
0 Kudos