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 9176149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:02:25+00:00 2026-06-17T17:02:25+00:00

I have an MVC project where I am using a WCF service as a

  • 0

I have an MVC project where I am using a WCF service as a pass through to methods in a class library. I put a query in the service and called the service from my project and the query worked fine and returned the result. I have changed my code to point directly at the class library and the method runs great and returns what I expect. When I call the web service which just has a call to the class library and returns the result, it breaks. The error I get in the code is:

An error occurred while receiving the HTTP response to ‘url’. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.

While researching this I found several people said this is a generic ‘It broke’ error and to enable tracing. When I turn on tracing I only see one error message:

Content Type application/soap+xml; charset=utf-8 was sent to a service expecting text/xml; charset=utf-8. The client and service bindings may be mismatched.

I don’t define any bindings in my .config files. I had this set up working but changes were made to the class library to make it more object oriented. I have resolved all of the errors stemming from that change but I can’t figure this error out. I have tried several of the fixes I found by googling this error but none of them have been successful. Does anyone have any suggestions on what else I can try?

Edit:

Looking at the config of my project a binding was setup when I set the web service reference. It is using basichttp binding. I am guessing now that I can talk to the part separately since the first binding is defined and the second is auto detect. I am thinking my issue is when the 2 auto detect parts talk to each other. Trying to figure something along that angle.

  • 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-06-17T17:02:26+00:00Added an answer on June 17, 2026 at 5:02 pm

    My manager was the one that changed my class library. She changed all of the id’s that I had on my objects to objects. So a reservation instead of having a event id had an event object. In doing this she created a series of loops where an event has a room object which has an event object. Or a person has an address object which has a person object. So the errors I was getting above really were generic “it broke” messages.

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

Sidebar

Related Questions

I have an MVC project in .Net 4 with WCF service with BasicHttpBinding. When
I have created a MVC 3 WCF Rest project using the tutorial described here
I have a problem that I suppose comes from my ASP.NET MVC project using
I currently have pagination working in my MVC 3 project using the PagedList library
Facts I have an mvc project. I am using jquery. The problem $('#ModalData').empty(); is
I have just started with my project using MVC and Razor. Now I am
I have a problem when i using Mschart on my MVC project, when i
I am using Ninject in my ASP MVC 3 project, I have modified the
I have a project I'm working on and I'm using the Telerik MVC controls.
I am using MVC 3 architecture in my project. I have a master page

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.