Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem to browse my WCF application on iis 5.1 with xp windows
    primarykey
    data
    text
    <p>I added a mapping .svc .net 4 application configuration published my service with the profile : Service URL - "http://localhost:8732/Service1/" Site/Application - "Default Web Site/Service1" And checked the iis option</p> <p>My web.config file:</p> <p> </p> <p> </p> <pre><code> &lt;host&gt; &lt;baseAddresses&gt; &lt;add baseAddress = "http://localhost:8732/Service1/" /&gt; &lt;/baseAddresses&gt; &lt;/host&gt; &lt;endpoint address="" binding="wsHttpBinding" contract="WcfService.IService1"&gt; &lt;identity&gt; &lt;dns value="localhost"/&gt; &lt;/identity&gt; &lt;/endpoint&gt; &lt;endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/&gt; &lt;/service&gt; &lt;/services&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior&gt; &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --&gt; &lt;serviceMetadata httpGetEnabled="true"/&gt; &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information --&gt; &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt; </code></pre> <p> </p> <p></p> <p>And when I try to browse my service it gives the error :</p> <h2>Server Error in '/Service1' Application.</h2> <p>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. </p> <p>Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase. </p> <p>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 <a href="http://support.microsoft.com/?kbid=267904" rel="nofollow">http://support.microsoft.com/?kbid=267904</a>.</p> <p>Source Error: </p> <p>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. </p> <p>Stack Trace: </p> <p>[HostingEnvironmentException: Failed to access IIS metabase.] System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +1076 System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9 System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +301 System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath, Boolean permitNull) +51 System.Web.CachedPathData.GetPhysicalPath(VirtualPath virtualPath) +39 System.Web.CachedPathData.GetConfigPathData(String configPath) +704 System.Web.CachedPathData.GetConfigPathData(String configPath) +583 System.Web.CachedPathData.GetApplicationPathData() +38 System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +8782255 System.Web.Configuration.RuntimeConfig.GetConfig(VirtualPath path) +46 System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +96</p> <hr> <p>Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload