Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 189851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:12:26+00:00 2026-05-11T16:12:26+00:00

i give an error when connect my wcf service, The content type text/html of

  • 0

i give an error when connect my wcf service,

The content type text/html of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8)

My wcf service config file below this:

<?xml version="1.0"?>
<configuration>
    <customErrors mode="Off">
    </customErrors>
  <system.serviceModel>
    <services>
      <service name="WcfService1.Service1" behaviorConfiguration="WcfService1.Service1Behavior">
        <!-- Service Endpoints -->
        <endpoint address="http://127.0.0.1/ChickenService/Service1.svc" binding="basicHttpBinding" contract="WcfService1.IService1">
          <identity>
            <dns value="127.0.0.1"/>
          </identity>
        </endpoint>
          <host>
          <baseAddresses>
            <add baseAddress="http://127.0.0.1/"/>
          </baseAddresses>
        </host>
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="WcfService1.Service1Behavior">
         <serviceMetadata httpGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="false"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>
</configuration>

How can i solve this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T16:12:26+00:00Added an answer on May 11, 2026 at 4:12 pm

    Try changing this:

    <serviceDebug includeExceptionDetailInFaults="false"/>
    

    to this:

    <serviceDebug includeExceptionDetailInFaults="true"/>
    

    and see if the additional information in the error is helpful (also add that information to the post).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Why does the MySQL query below give error 1066 (Not unique table/alias: 'customer') ?
Why does the following not give an error? for (int i=0; i<10; ++i) //
I'm trying to connect my application to my database. I does not give a
Why does the following give no compilation error?: // T.h template<class T> class X
Why does the following code give me an error (g++ 4.1.2)? template<class A> class
Why does SQL server express 2008 give me this error? CREATE TABLE model (
my Mysql cannot connect remotly,it will give error 2003. I am using Ubuntu 11.04,
Every time I tried to connect to the database it give me this error
i need Enumarable value from below class but give error public static Enumerable LoadDataByName(string
This Codes give me error: Msg 156, Level 15, State 1, Procedure DefaultActivity, Line

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.