Note that there are some explanatory texts on larger screens.

plurals
  1. POpublishing WCF Service .NET 3.5 on IIS
    text
    copied!<p>I have a problem with publishing WCF Service on IIS. I think - the problem is in configuration(web.config). This my serviceModel section: </p> <pre><code> &lt;system.serviceModel&gt; &lt;services&gt; &lt;service name="rajon_wcf_service.Service1" behaviorConfiguration="rajon_wcf_service.Service1Behavior"&gt; &lt;!-- Service Endpoints --&gt; &lt;endpoint address="" binding="wsHttpBinding" contract="rajon_wcf_service.IService1"&gt; &lt;!-- После развертывания необходимо удалить или заменить указанный ниже элемент удостоверения, чтобы отображалось удостоверение, под которым выполняется развернутая служба. В случае удаления служба WCF автоматически определит соответствующее удостоверение. --&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 name="rajon_wcf_service.Service1Behavior"&gt; &lt;!-- Чтобы избежать разглашения сведений о метаданных, установите ниже значение FALSE и удалите вышеуказанную конечную точку метаданных перед развертыванием --&gt; &lt;serviceMetadata httpGetEnabled="true"/&gt; &lt;!-- Чтобы получить сведения об исключениях в ошибках для отладки, установите ниже значение TRUE. Перед развертыванием установите значение FALSE, чтобы избежать разглашения сведений об исключении --&gt; &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;/system.serviceModel&gt; </code></pre> <p>When I put URI: <a href="http://localhost/KOMPLAT/Service1.svc" rel="nofollow">http://localhost/KOMPLAT/Service1.svc</a> , I receive error message: HTTP 404.17 - Not Found</p> <p>KOMPLAT is the name of my application on IIS. Thanks.</p>
 

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