“The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.” error in WCF


Hi,

while doing test with WCF application ,I was getting error like this

The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.

Then we should have to solve this error like this

1. Check the service is running or not. If not then rebuild the solution

2.Add this line in web confi file

<behaviors>
<serviceBehaviors>
<behavior name=””>
<serviceMetadata httpGetEnabled=”true”/>

<dataContractSerializer maxItemsInObjectGraph=”2147483647″/>

<serviceDebug includeExceptionDetailInFaults=”false”/>

</behavior>

7 thoughts on ““The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.” error in WCF

  1. 999devilvishal@gmail.com February 2, 2011 / 12:42 pm

    Hi frnd i have read ur post on asp.net forum and found that u was successfull in sending Text message using asp.net..!!!

    I m developing as project in which i have to integrate this feature of sending sms…can you please tell me how i can do dat from scratch???

    I visited clickatell.com but that site is ban by DOT..!!!

    • Chandra Dev February 3, 2011 / 4:35 am

      Hi
      If you are in India, there are so many service provider for sending sms on mobile.You just search in Google.You have to contact with them, they will give “Api code” which will be in C#,vb.net and PHP. You have to study their document step by step and implement in your project on basis of your requirement. They will charge some money for this facilities.

  2. source May 28, 2012 / 5:43 pm

    Dude. This site is amazing! How can I make it look like this .

    • Chandra Dev May 31, 2012 / 2:10 pm

      Nice to hear. You can also create the blog on wordpress. You can also choose same theme. This is free site.

  3. reina.lambrick October 8, 2014 / 10:34 am

    What’s up, every time i used to check blog posts here early in the daylight, as i love to gain knowledge
    of more and more.

  4. Josh October 26, 2018 / 12:05 pm

    I tried this remedy but still the error persist

  5. Katharyn Enderlin December 14, 2019 / 10:27 am

    Pretty! This was an incredibly wonderful post. Thank you for providing these details.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.