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

  • Home
  • SEARCH
  • 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 436253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:27:32+00:00 2026-05-12T20:27:32+00:00

Background: I have a WCF service deployed on my local machine that in turns

  • 0

Background:

I have a WCF service deployed on my local machine that in turns connects to the SQL Server 2005 database.

To consume the service, I have a client application that dynamically creates the service client to consume the methods exposed in wcf service.

Configuration:

OS: Windows XP
IIS : 5.1

Problem

When I run client FIRST TIME on the local machine ( where service is deployed) it fails to connect with the service.

While debugging I notice when I call any method (exposed in the service) the following error occurred (I have pasted the exception at the bottom).

Now When I go into explorer and type the address to open in the browser like:

https:\\localhost\\TestService\\TestService.svc.

it opens successfully in browser..

Now I again go the client app and try consuming the web service, it connects successfully..

Strange enough, when I re-start IIS, the problem again occurs… To run the client app for the first time, I have to browse it in Internet Explorer.

Note: I have implemented SSL through a certificate..

Exception occured:

The content type text/html of the
response message does not match the
content type of the binding
(application/soap+xml; charset=utf-8).
If using a custom encoder, be sure
that the IsContentTypeSupported method
is implemented properly. The first 163
bytes of the response were:
‘ErrorEither
a required impersonation level was not
provided, or the provided
impersonation level is invalid.

The same thing works fine in Windows 2003 server and IIS 6.0

  • 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-12T20:27:32+00:00Added an answer on May 12, 2026 at 8:27 pm

    Seem to have good explanation of your problem here.

    You should try his workaround by enabling anonymous access on IIS.

    Hope this helps…

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

Sidebar

Related Questions

Background: We have a ClickOnce-deployed WPF app, that talks to WCF Services, which in
Background I have an SQL CE database, that is constantly updated (every second). I
first, a little background. I am using VS2010 and have a WCF service that
First a little bit of background: I have a REST service in WCF 4
I have a per-call WCF service that serves a number of clients. I'm looking
Background information: I have the following code in a WCF service. GetDataTable returns a
I have Silverlight application which connects to a WCF service. If i open the
In my WPF client, I have a loop that calls a WCF service to
Before I begin my question a little background info. I have the WCF service
Background: I have spun up a simple Proxy thing for my Wcf client based

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.