Madhu Sudhan

Madhu Sudhan

  • NA
  • 2
  • 4k

silverlight application is not working in external machine

Mar 22 2013 7:56 AM
Hiii
  I really need this help struggling from few days my silverlight app is working in the desktop and not working in the laptops.

Client.config
<configuration>
  <system.serviceModel>
  <bindings>
  <basicHttpBinding>
  <binding name="BasicHttpBinding_ImagingService" maxBufferSize="2147483647" 
  maxReceivedMessageSize="2147483647">
  <security mode="None" />
  </binding>
  </basicHttpBinding>
  </bindings>
  <client>
  <endpoint address="http://localhost:49654/ImagingService.svc"
  binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ImagingService"
  contract="ImagingServiceReference.IImagingService" name="BasicHttpBinding_ImagingService" />
  </client>
  </system.serviceModel>
</configuration>
<!---->

WebConfig:
<?xml version="1.0"?>

<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->

<configuration>
  <system.web>
  <compilation debug="true" targetFramework="4.0" />
  </system.web>
  <system.serviceModel>
  <behaviors>
  <serviceBehaviors>
  <behavior name="ImagingService">
  <serviceMetadata httpGetEnabled="true"/>
  <serviceDebug includeExceptionDetailInFaults="false"/>
  <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
  </behavior>
  </serviceBehaviors>
  </behaviors>
  <bindings>
  <basicHttpBinding>
  <binding name="mybinding" maxReceivedMessageSize="2147483647"  maxBufferSize="2147483647" maxBufferPoolSize="2147483647" closeTimeout="00:01:00" openTimeout="00:01:00"
        receiveTimeout="00:10:00" sendTimeout="00:01:00">
  <readerQuotas maxDepth="128" maxStringContentLength="8192000" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
  <security mode="None"/>
  </binding>
  </basicHttpBinding>
  </bindings>
  <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
 
  <services>
  <service behaviorConfiguration="ImagingService" name="SilverlightDemo.Web.ImagingService">
  <endpoint address="" binding="basicHttpBinding" name="BasicHttpBinding_ImagingService"
        contract="SilverlightDemo.Web.IImagingService"  bindingConfiguration="mybinding" />
  <!--<endpoint address="" binding="basicHttpBinding" bindingConfiguration="mybinding" contract="SilverlightDemo.Web.IImagingService"/>-->
  <endpoint address="mex" binding="basicHttpBinding" contract="IMetadataExchange"/>
  </service>
  </services>
  </system.serviceModel>
</configuration>


help regarding this topic is really appreciated