Publishing a WCF service using visual studio 2013, cannot find service afterwards -
i trying develope silverlight page uses wcf service communicate database (external database on webhotel). works fine locally, when deploy page , run it, error "the remote server returned error: notfound".
<system.servicemodel> <bindings> <custombinding> <binding name="fundfinder.web.fundsilverlightservice.custombinding0"> <binarymessageencoding /> <httptransport /> </binding> </custombinding> </bindings> <services> <service name="fundfinder.web.fundsilverlightservice"> <endpoint address="http://subdomain.domain.com" binding="custombinding" bindingconfiguration="fundfinder.web.fundsilverlightservice.custombinding0" contract="fundfinder.web.fundsilverlightservice" /> <endpoint address="mex" binding="mexhttpbinding" contract="imetadataexchange" /> </service> </services> <behaviors> <servicebehaviors> <behavior name=""> <servicemetadata httpgetenabled="true" httpsgetenabled="true" /> <servicedebug includeexceptiondetailinfaults="false" /> </behavior> </servicebehaviors> </behaviors> <servicehostingenvironment aspnetcompatibilityenabled="true" multiplesitebindingsenabled="true" />
i not sure if have configured service correctly, above visual studio gave me when added service solution.
this generic error. please turn on debug in web.config , turn exception details
<behaviors> <servicebehaviors> <behavior name=""> <servicemetadata httpgetenabled="true" /> <servicedebug includeexceptiondetailinfaults="true" /> </behavior> </servicebehaviors> ## heading ## </behaviors>
see exception throwing.
Comments
Post a Comment