none
WSDL(basichttp) not showing on nettcpbinding webservice in the afternoon. RRS feed

  • Question

  • My WSDL works in the morning then by 11:00 it gives an error:

    500 - Internal server error.

    There is a problem with the resource you are looking for, and it cannot be
    displayed.

    The nettcp services are still running without issue we just can't get the WSDL to display.

    Here is the web.config.  this is hosted on server 2012 with the latest IIS.  No errors show up in the trace.  It seems to only occur when the WS is busy.

        <services>
          <service name="Mi_Services.CartService" behaviorConfiguration="WcfService.Service1Behavior">
          <!--  <endpoint bindingConfiguration="LargeBuffer" address="" binding="basicHttpBinding" contract="Mi_Services.ICartService"> </endpoint> -->
            <endpoint bindingConfiguration="nettcpLargeBuffer" address="net.tcp://srv2012:808/Mi_nettcp/Services/CartService.svc" binding="netTcpBinding" contract="Mi_Services.ICartService"> </endpoint>
            <endpoint bindingConfiguration="" address="mex" binding="mexHttpBinding" contract="IMetadataExchange"> </endpoint>
          </service>
        </services>
        <behaviors>
          <serviceBehaviors>
            <behavior name="WcfService.Service1Behavior">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="true" />
              <dataContractSerializer maxItemsInObjectGraph="2147483647" />
            </behavior>
            <behavior name="MexServiceBehavior">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="false" />
              <dataContractSerializer maxItemsInObjectGraph="2147483647" />
            </behavior>
          </serviceBehaviors>
        </behaviors>

    Thanks

    CaptSunburn

     

    Thursday, April 25, 2013 4:12 PM

All replies

  • Hi,

    >>It seems to only occur when the WS is busy.

    What do you mean "WS is busy" here?

    Make sure you have turn on necessary Windows features, such as Windows Process Activation Service and HTTP Activation

    #Host WCF in IIS8 (Windows Server 2012)

    http://3water.wordpress.com/2012/09/05/host-wcf-in-iis8-windows-server-2012/

    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.

    Friday, April 26, 2013 6:08 AM
    Moderator
  • The web service and wsdl work fine under light load(in the morning) but as the load increases WSDL becomes unavailable (gives a "500  - Internal server error."  within an hour the web service will stop responding and the 2 hours after that the web service starts working again.  We have restarted the webserver and this does not seem to help.  Note: we are also have sessions enabled to pool back end resources.

    Other web services using nettcp on the same web server still work but their WSDL also throws the error.  They are under a lighter load.

    Thanks

    Tuesday, April 30, 2013 3:10 PM
  • Hi,

    From your description, the issue is related to the load of your system, so do you try run the service under a system without very high load? Or do you try check if it is a performance issue with some tools like Windbg?

    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.

    Wednesday, May 1, 2013 7:42 AM
    Moderator