none
WCF "has exceeded the allotted timeout" RRS feed

  • Question

  • Hi there

    I'm keep getting "has exceeded the allotted timeout" for WCF function call inspite of all parameters are increased. Client is Silverlight 5.0.

    Web.Config:

    <binding name="TimeCardBinding" closeTimeout="00:59:00"
                    openTimeout="00:59:00"
                    receiveTimeout="00:59:00"
                    sendTimeout="00:59:00" ...

    ...

    <system.web>
        <httpRuntime executionTimeout="600"/> ...

    ServiceRefernce.ClientConfig:

     <binding name="BasicHttpBinding_TimeCardService" maxBufferSize="2147483647"
                        closeTimeout="00:59:00" openTimeout="00:59:00" receiveTimeout="00:59:00" sendTimeout="00:59:00"
                        maxReceivedMessageSize="2147483647">
                        <security mode="Transport" />
                    </binding>

    <client>
    <endpoint address="../WCFServices/TimeCardService.svc" binding="basicHttpBinding"
                    bindingConfiguration="BasicHttpBinding_TimeCardService" contract="TimeCardServiceReference.TimeCardService"
                    name="BasicHttpBinding_TimeCardService" /> ...

    Additionally, I can see my "59 min" setting right before I call a server from the client: ServiceEndpoint.Binding.CloseTimeout={00:59:00} (same for other parameters).

    Nevertheless, I cannot debug my server code - it throws the timeout error in 1 min (or less, cannot tell you for sure).

    Why my "59 min" time out settings don't work? How to fix this problem?

    Thanks.

    Monday, March 25, 2013 3:46 PM

All replies

  • Hi Rensiglov

    You did not list your service endpoint - just to be sure - is the service endpoint's bindingConfiguration set to TimeCardBinding?

    Br,

    JAXN 


    Please mark posts as answers/helpful if it answers your question/or helped you solve your problem.
    MCTS: .NET Framework 4, Service Communication Applications

    Monday, March 25, 2013 5:41 PM
  • Hi Rensiglov

    Did you check the event log on the server?

    Br,

    JAXN


    Please mark posts as answers/helpful if it answers your question/or helped you solve your problem.
    MCTS: .NET Framework 4, Service Communication Applications

    Monday, March 25, 2013 5:49 PM
  • Sure thing. And I can see my "59 min" setting right before I call a server from the client (I'm talking about C# code here): ServiceEndpoint.Binding.CloseTimeout={00:59:00} (same for other parameters).
    Monday, March 25, 2013 7:56 PM
  • Go through this video tutorial http://channel9.msdn.com/Shows/SilverlightTV/Silverlight-TV-46-Whats-Wrong-with-my-WCF-Service

    when the above doesn't resolve the issue,  enable tracing in Service by simply copying below xml into Service Web.config. Use WCF Trace viewer for exceptions.

    <system.diagnostics>
      <sources>
          <source name="System.ServiceModel.MessageLogging"
                   switchValue="Information, ActivityTracing, Error">
            <listeners>
                     <add name="messages"
                     type="System.Diagnostics.XmlWriterTraceListener"
                     initializeData="messages.svclog" />
              </listeners>
          </source>
        </sources>
    </system.diagnostics>
    
    
    
      <system.serviceModel>
      
        <diagnostics>
        <messageLogging
             logEntireMessage="true"
             logMalformedMessages="true"
             logMessagesAtServiceLevel="true"
             logMessagesAtTransportLevel="true"
             maxMessagesToLog="3000"
             maxSizeOfMessageToLog="2000"/>
      </diagnostics>


    Apriori algorithm [association rule]


    • Edited by Raju Golla Monday, March 25, 2013 9:18 PM video tutorial
    Monday, March 25, 2013 9:16 PM
  • Hey Sukumar

    I do not see anything "in red" in trace. No errors. Even if I get the "time out" error on the client.

    Any clue?

    Thanks.

    Thursday, March 28, 2013 8:53 PM
  • Hi,

    It seems ok with your configuration you provided above, can you provide the entire web.config here( remove any confidential information or business logic from it) to help to troubleshoot the issue?

    In addition, if you the service is self-hosted, ServiceHost has OpenTimeout, the default value is 1 minute.

    #Timeouts in WCF and their default values

    http://blogs.msdn.com/b/hongmeig/archive/2010/03/06/timeouts-in-wcf-and-their-default-values.aspx

    Best Regards.


    Haixia
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, April 1, 2013 8:50 AM
    Moderator
  • Hi there

    Please find the web.config below. The guy who acts up for sure is the TimeCardService. Thanks.

    <configuration>
      <configSections>
        <sectionGroup name="system.serviceModel">
          <section name="domainServices" type="System.ServiceModel.DomainServices.Hosting.DomainServicesSection, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" allowDefinition="MachineToApplication" requirePermission="false"/>
        </sectionGroup>
        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
          <section name="BBBSilverlight.Web.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
        </sectionGroup>
      </configSections>
      <appSettings>
        <add key="IsOldDesign" value="1"/>
        <add key="SSCRevision" value="128"/>
        <add key="NoHttpContextLock" value="ABSService.svc, ~TimeCardService.svc"/>
      </appSettings>
      <system.web>
        <httpRuntime executionTimeout="600"/>
        <customErrors mode="Off"/>
        <httpModules>
          <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </httpModules>
        <globalization culture="en-US" uiCulture="en-US"/>
        <compilation debug="true" targetFramework="4.0"/>
        <httpHandlers>
          <!--add handles to 2 places: here and down to system.webServer.handlers!!!!!-->
          <add verb="*" path="WebAttachment.aspx" type="BBBSilverlight.Web.AttachmentHandler"/>
          <add verb="*" path="GetPicture.aspx" type="BBBSilverlight.Web.PictureHandler"/>
          <add verb="*" path="EvaluationAcknowledgment.aspx" type="BBBSilverlight.Web.Utils.IDTAttachmentPictureHandler"/>
        </httpHandlers>
        <roleManager enabled="true"/>
        <profile>
          <properties>
            <add name="FriendlyName"/>
          </properties>
        </profile>
        <sessionState mode="InProc" timeout="3" cookieless="false" regenerateExpiredSessionId="false"/>
        <authentication mode="Windows"/>
        <identity impersonate="true"/>
        <pages controlRenderingCompatibilityVersion="4.0"/>
      </system.web>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules runAllManagedModulesForAllRequests="true">
          <add name="DomainServiceModule" preCondition="managedHandler" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </modules>
        <handlers accessPolicy="Read, Execute, Script">
          <add name="WebAttachment" verb="*" path="WebAttachment.aspx" type="BBBSilverlight.Web.AttachmentHandler"/>
          <add name="GetPicture" verb="*" path="GetPicture.aspx" type="BBBSilverlight.Web.PictureHandler"/>
          <add name="EvaluationAcknowledgment" verb="*" path="EvaluationAcknowledgment.aspx" type="BBBSilverlight.Web.Utils.IDTAttachmentPictureHandler"/>
        </handlers>
        <defaultDocument>
          <files>
            <clear/>
            <add value="Index.aspx"/>
          </files>
        </defaultDocument>
        <urlCompression doDynamicCompression="true" doStaticCompression="true"/>
      </system.webServer>
      <system.serviceModel>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
        <!--<diagnostics performanceCounters="All" />-->
        <bindings>
          <basicHttpBinding>
            <binding name="StreamedHttp" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxBufferSize="128000" maxReceivedMessageSize="16777216" textEncoding="utf-8" transferMode="StreamedResponse" useDefaultWebProxy="false" messageEncoding="Text">
              <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="128000" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
              <security mode="Transport">
                <transport clientCredentialType="None"/>
              </security>
            </binding>
            <binding name="AttachemntsBinding" closeTimeout="00:05:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" transferMode="Buffered">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
              <security mode="Transport">
                <transport clientCredentialType="None"/>
              </security>
            </binding>
            <binding name="LongLifeCycleBinding" closeTimeout="06:00:00" openTimeout="06:00:00" receiveTimeout="06:00:00" sendTimeout="06:00:00" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" transferMode="Buffered">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
              <security mode="Transport">
                <transport clientCredentialType="None"/>
              </security>
            </binding>
            <binding name="TimeCardBinding" closeTimeout="00:59:00"
                    openTimeout="00:59:00"
                    receiveTimeout="00:59:00"
                    sendTimeout="00:59:00"
                    hostNameComparisonMode="StrongWildcard"
                    maxBufferPoolSize="2147483647"
                    maxBufferSize="2147483647"
                    maxReceivedMessageSize="2147483647"
                    transferMode="Buffered">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
              <security mode="Transport">
                <transport clientCredentialType="None"/>
              </security>
            </binding>
            <binding name="PortalBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:05:00" sendTimeout="00:05:00" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" transferMode="Buffered">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
              <security mode="Transport">
                <transport clientCredentialType="None" proxyCredentialType="None"/>
              </security>
            </binding>
            <binding name="EmployeeListBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:05:00"
                     sendTimeout="00:05:00" hostNameComparisonMode="StrongWildcard"
                     maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" transferMode="StreamedResponse">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
              <security mode="Transport">
                <transport clientCredentialType="None" proxyCredentialType="None"/>
              </security>
            </binding>
            <!--Generic basicHttpBinding-->
            <binding closeTimeout="00:05:00" openTimeout="00:05:00"
                    receiveTimeout="00:05:00" sendTimeout="00:05:00"
                    hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647"
                    maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"
                    transferMode="Buffered"
                    >
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
              <security mode="Transport">
                <transport clientCredentialType="None"/>
              </security>
           
            </binding>
          </basicHttpBinding>
          <customBinding>
            <binding name="BBBSilverlight.Web.WCFServices.AcceleratorService.customBinding0">
              <binaryMessageEncoding/>
              <httpTransport/>
            </binding>
          </customBinding>
        </bindings>
        <behaviors>
          <serviceBehaviors>
            <behavior name="General">
              <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="true"/>
              <serviceCredentials>
                <clientCertificate>
                  <authentication certificateValidationMode="None" revocationMode="NoCheck"/>
                </clientCertificate>
              </serviceCredentials>
            </behavior>
            <!--No Name default behavior-->
            <behavior>
              <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="true"/>
              <dataContractSerializer maxItemsInObjectGraph="250000"/>
              <serviceThrottling maxConcurrentCalls="64" maxConcurrentSessions="64" maxConcurrentInstances="128"/>
            </behavior>
            <!--<behavior name="DictionaryBehavior">
                <serviceMetadata httpGetEnabled="true" />
                <dataContractSerializer maxItemsInObjectGraph="250000" />
                <serviceThrottling maxConcurrentCalls="128" maxConcurrentInstances="128" maxConcurrentSessions="128" />
              </behavior>-->
          </serviceBehaviors>
          <endpointBehaviors>
            <behavior name="LargeEndpointBehavior">
              <dataContractSerializer maxItemsInObjectGraph="250000"/>
            </behavior>
            <!--<behavior name="DisableServiceCertificateValidation">
                  <clientCredentials>
                    <serviceCertificate>
                      <authentication certificateValidationMode="None" revocationMode="NoCheck" />
                    </serviceCertificate>
                  </clientCredentials>
                </behavior>-->
          </endpointBehaviors>
        </behaviors>
        <services>
          <service behaviorConfiguration="General" name="BBBSilverlight.Web.WCFServices.Login">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.Login"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service behaviorConfiguration="General" name="BBBSilverlight.Web.WCFServices.MainMenu">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.MainMenu"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service behaviorConfiguration="General" name="BBBSilverlight.Web.WCFServices.SystemService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.SystemService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.PostponedEmployees">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.PostponedEmployees"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.EmployeeListService">
            <endpoint address="" behaviorConfiguration="LargeEndpointBehavior" bindingConfiguration="EmployeeListBinding"
                      binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.EmployeeListService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.EmployeeProfileService">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="AttachemntsBinding" contract="BBBSilverlight.Web.WCFServices.EmployeeProfileService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.DictionaryService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.DictionaryService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.AttachmentService">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="AttachemntsBinding" contract="BBBSilverlight.Web.WCFServices.AttachmentService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.DictionaryCRUDService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.DictionaryCRUDService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.DictionaryConfigurationService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.DictionaryConfigurationService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.EvaluationService">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="AttachemntsBinding" contract="BBBSilverlight.Web.WCFServices.EvaluationService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.EmailService">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="AttachemntsBinding" contract="BBBSilverlight.Web.WCFServices.EmailService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.GadgetService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.GadgetService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.SeniorityService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.SeniorityService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.MatchService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.MatchService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.AlterationService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.AlterationService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.DisciplineService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.DisciplineService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.ScheduleService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.ScheduleService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.TrainingService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.TrainingService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.SkillsService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.SkillsService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.VacViewerService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.VacViewerService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.MessageService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.MessageService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.SecurityService">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="AttachemntsBinding" contract="BBBSilverlight.Web.WCFServices.SecurityService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.SSHService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.SSHService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.AvailabilityService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.AvailabilityService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.DCService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.DCService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.ShiftRotationService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.ShiftRotationService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.VacationService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.VacationService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.TimeBankService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.TimeBankService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.ReminderService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.ReminderService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.ABSService">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="LongLifeCycleBinding" contract="BBBSilverlight.Web.WCFServices.ABSService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.ABSMonitorService">
            <endpoint address="" behaviorConfiguration="LargeEndpointBehavior" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.ABSMonitorService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.TimeCardService">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="TimeCardBinding" contract="BBBSilverlight.Web.WCFServices.TimeCardService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.PortalService">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="PortalBinding" contract="BBBSilverlight.Web.WCFServices.PortalService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.AcceleratorService">
            <endpoint address="" binding="customBinding" bindingConfiguration="BBBSilverlight.Web.WCFServices.AcceleratorService.customBinding0" contract="BBBSilverlight.Web.WCFServices.AcceleratorService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
          <service name="BBBSilverlight.Web.WCFServices.AuditService">
            <endpoint address="" binding="basicHttpBinding" contract="BBBSilverlight.Web.WCFServices.AuditService"/>
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
        </services>
        <diagnostics>
          <messageLogging
            logEntireMessage="true"
            logMalformedMessages="true"
            logMessagesAtServiceLevel="true"
            logMessagesAtTransportLevel="true"
            maxMessagesToLog="30000"
            maxSizeOfMessageToLog="2000"/>
        </diagnostics>
      </system.serviceModel>
      <applicationSettings>
        <BBBSilverlight.Web.Properties.Settings>
          <setting name="BBBSilverlight_Web_com_upsidewireless_api_SMS" serializeAs="String">
            <value>http://api.upsidewireless.com/soap/SMS.asmx</value>
          </setting>
        </BBBSilverlight.Web.Properties.Settings>
      </applicationSettings>
      <!-- ===========Comment/Uncomment this to work with Logging============== -->
      <!--<system.diagnostics>
            <sources>
                <source propagateActivity="true" name="System.ServiceModel" switchValue="Off, ActivityTracing">
                    <listeners>
                        <add type="System.Diagnostics.DefaultTraceListener" name="Default">
                            <filter type="" />
                        </add>
                        <add name="xml">
                            <filter type="" />
                        </add>
                    </listeners>
                </source>
                <source name="System.ServiceModel.MessageLogging" switchValue="Verbose">
                    <listeners>
                        <add type="System.Diagnostics.DefaultTraceListener" name="Default">
                            <filter type="" />
                        </add>
                        <add name="xml">
                            <filter type="" />
                        </add>
                    </listeners>
                </source>
            </sources>
            <sharedListeners>
                <add initializeData="Log.xml" type="System.Diagnostics.XmlWriterTraceListener"
                    name="xml">
                    <filter type="" />
                </add>
            </sharedListeners>
            <trace autoflush="true" indentsize="9" />
        </system.diagnostics>-->
      <!--Error message: The number of bytes available is inconsistent with the HTTP Content-Length header-->
     <!--<system.diagnostics>
        <sources>
          <source name="System.ServiceModel" switchValue="Information, ActivityTracing, Error, Verbose" propagateActivity="true">
            <listeners>
              <add name="log" type="System.Diagnostics.XmlWriterTraceListener" initializeData="Log.xml" />
            </listeners>
          </source>
        </sources>
      </system.diagnostics>-->
      <!-- ==================================================================== -->
    </configuration>

    Wednesday, April 3, 2013 6:01 PM
  • Hi Renziglov

    Config seams ok.

    Could you include the entire error including stack trace?

    Br,

    JAXN


    Please mark posts as answers/helpful if it answers your question/or helped you solve your problem.
    MCTS: .NET Framework 4, Service Communication Applications

    Thursday, April 4, 2013 6:46 PM
  • Hi JAXN

    Here you are:

    and stack:

    Thanks.

    Wednesday, April 10, 2013 4:55 PM