Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>After some tinkering with my web.config I was able to resolve this by moving the <code>relaxedUrlToFileSystemMapping</code> entry into it's own node outside of the <code>&lt;location&gt;</code> node. I'm not sure if this is a recommended approach (multiple <code>&lt;system.web&gt;</code> entries?) or might cause some other conflict(s) but after running a full system test of the service everything is working fine again so I'm going with this for now.</p> <p>My updated and complete web.config for reference:</p> <pre><code>&lt;configuration&gt; &lt;system.web&gt; &lt;httpRuntime relaxedUrlToFileSystemMapping="true"/&gt; &lt;/system.web&gt; &lt;location path="api"&gt; &lt;system.web&gt; &lt;httpHandlers&gt; &lt;add path="*" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*" /&gt; &lt;/httpHandlers&gt; &lt;/system.web&gt; &lt;connectionStrings&gt; &lt;add name="AppDb" connectionString="data source=AppHost\SQLEXPRESS;Initial Catalog=db;User Id=AppUser;password=AppPwd;" providerName="System.Data.SqlClient" /&gt; &lt;/connectionStrings&gt; &lt;system.webServer&gt; &lt;modules runAllManagedModulesForAllRequests="true" /&gt; &lt;validation validateIntegratedModeConfiguration="false" /&gt; &lt;handlers&gt; &lt;add path="*" name="ServiceStack.Factory" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*" preCondition="integratedMode" resourceType="Unspecified" allowPathInfo="true" /&gt; &lt;/handlers&gt; &lt;/system.webServer&gt; &lt;/location&gt; &lt;/configuration&gt; </code></pre>
    singulars
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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