I host a WCF Service in IIS, but it is giving following error:-
HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.
I developed this service in .Net Framework 4.0 and applied basicHttpBinding
for SOAP.
I also tried aspnet_regiis.exe -i
command but still my problem did not get resolved.
Http Binding is as follow:-
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="ServBehave">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
basicHttpBinding
is a SOAP binding - you cannot test a SOAP binding by just browsing to it with a browser - you'll need a SOAP-capable test tool, like the WCF Test Client or Soap UI