ok, i have a service that fetches images from a database for me.the service is hosted in IIS and the service config is as follows
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
<diagnostics performanceCounters="All" wmiProviderEnabled="True">
<messageLogging logEntireMessage="True"
logMalformedMessages="True"
logMessagesAtServiceLevel="True"
logMessagesAtTransportLevel="True" />
</diagnostics>
<services>
<service behaviorConfiguration="MySite.ImageService.ImageFetchBehavior"
name="MySite.ImageService.ImageFetch">
<endpoint address=" binding="basicHttpBinding"
bindingConfiguration="bigBasicHttpBinding" name="ImageFetchHttpEndPoint"
contract="MySite.ImageService.ImageFetch">
<identity>
<dns value=" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" name="ImageFetchMexBinding"
contract="IMetadataExchange" />
</service>
<service behaviorConfiguration="MySite.ImageService.ImageSearchBehavior"
name="MySite.ImageService.ImageSearch">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="bigBasicHttpBinding"
contract="MySite.ImageService.ImageSearch">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<service behaviorConfiguration="MySite.ImageService.ImageUploadBehavior"
name="MySite.ImageService.ImageUpload">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="bigBasicHttpBinding"
contract="MySite.ImageService.ImageUpload">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="MySite.ImageService.ImageFetchBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="true"
serviceAuthorizationAuditLevel="SuccessOrFailure" messageAuthenticationAuditLevel="SuccessOrFailure" />
</behavior>
<behavior name="MySite.ImageService.ImageSearchBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="true"
serviceAuthorizationAuditLevel="SuccessOrFailure" messageAuthenticationAuditLevel="SuccessOrFailure" />
</behavior>
<behavior name="MySite.ImageService.ImageUploadBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="true"
serviceAuthorizationAuditLevel="SuccessOrFailure" messageAuthenticationAuditLevel="SuccessOrFailure" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<basicHttpBinding>
<binding name="bigBasicHttpBinding"
closeTimeout="01:00:00"
openTimeout="01:00:00"
receiveTimeout="01:00:00"
sendTimeout="01:00:00"
maxReceivedMessageSize="10490000"
maxBufferSize="10490000" >
<readerQuotas maxDepth="10490000"
maxStringContentLength="10490000"
maxArrayLength="10490000" />
</binding>
</basicHttpBinding>
</bindings>
</system.serviceModel>
the service functions just fine on my local machine. However, when i publish the service to a remote machine in the same network and try and browse to the svc file (or add a web refference from a remote client) the page just hangs pretty much indefinately. Any ideas where i may be going wrong?
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
<diagnostics performanceCounters="All" wmiProviderEnabled="True">
<messageLogging logEntireMessage="True"
logMalformedMessages="True"
logMessagesAtServiceLevel="True"
logMessagesAtTransportLevel="True" />
</diagnostics>
<services>
<service behaviorConfiguration="MySite.ImageService.ImageFetchBehavior"
name="MySite.ImageService.ImageFetch">
<endpoint address=" binding="basicHttpBinding"
bindingConfiguration="bigBasicHttpBinding" name="ImageFetchHttpEndPoint"
contract="MySite.ImageService.ImageFetch">
<identity>
<dns value=" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" name="ImageFetchMexBinding"
contract="IMetadataExchange" />
</service>
<service behaviorConfiguration="MySite.ImageService.ImageSearchBehavior"
name="MySite.ImageService.ImageSearch">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="bigBasicHttpBinding"
contract="MySite.ImageService.ImageSearch">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<service behaviorConfiguration="MySite.ImageService.ImageUploadBehavior"
name="MySite.ImageService.ImageUpload">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="bigBasicHttpBinding"
contract="MySite.ImageService.ImageUpload">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="MySite.ImageService.ImageFetchBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="true"
serviceAuthorizationAuditLevel="SuccessOrFailure" messageAuthenticationAuditLevel="SuccessOrFailure" />
</behavior>
<behavior name="MySite.ImageService.ImageSearchBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="true"
serviceAuthorizationAuditLevel="SuccessOrFailure" messageAuthenticationAuditLevel="SuccessOrFailure" />
</behavior>
<behavior name="MySite.ImageService.ImageUploadBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="true"
serviceAuthorizationAuditLevel="SuccessOrFailure" messageAuthenticationAuditLevel="SuccessOrFailure" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<basicHttpBinding>
<binding name="bigBasicHttpBinding"
closeTimeout="01:00:00"
openTimeout="01:00:00"
receiveTimeout="01:00:00"
sendTimeout="01:00:00"
maxReceivedMessageSize="10490000"
maxBufferSize="10490000" >
<readerQuotas maxDepth="10490000"
maxStringContentLength="10490000"
maxArrayLength="10490000" />
</binding>
</basicHttpBinding>
</bindings>
</system.serviceModel>
the service functions just fine on my local machine. However, when i publish the service to a remote machine in the same network and try and browse to the svc file (or add a web refference from a remote client) the page just hangs pretty much indefinately. Any ideas where i may be going wrong?