“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>

Advertisements
Posted in Errors, WCF. 5 Comments »

5 Responses to ““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 Says:

    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 Says:

      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 Says:

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

    • Chandra Dev Says:

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

  3. reina.lambrick Says:

    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.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: