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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:19:38+00:00 2026-05-12T07:19:38+00:00

I have created a WCF service on my local machine. My local machine uses

  • 0

I have created a WCF service on my local machine. My local machine uses Windows 7 RC1, thus the web server is IIS 7. However, my production machine is a Windows Server 2003 using IIS 6.

When I attempt to reference the service in my local environment, everything works fine. However, when I promote my service to my production machine, and try to reference the service, I receive an error. The error says:

Error: Cannot obtain Metadata from
http://www.thedomain.com/theService.svc?wsdl

If this is a Windows (R) Communication
Foundation service to which you have
access, please check that you have
enabled metadata publishing at the
specified address. For help enabling
metadata publishing, please refer to
the MSDN documentation at
http://go.microsoft.com/fwlink/?LinkId=65455.

WS-Metadata Exchange Error URI:
http://www.thedomain.com/theService.svc?wsdl

Metadata contains a reference that
cannot be resolved:
‘http://www.thedomain.com/theService.svc?wsdl‘.

Content Type application/soap+xml;
charset=utf-8 was not supported by
service
http://www.mydomain.com/myService.svc?wsdl.
The client and service bindings may be
mismatched.

The remote server returned an error:
(415) Cannot process the message
because the content type
‘application/soap+xml; charset=utf-8’
was not the expected type ‘text/xml;
charset=utf-8’..

Is there something I need to do in IIS 6 to get a WCF service to work? I’m really confused as to why it works fine locally, but not fine in production.

Thank you!

  • 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-12T07:19:38+00:00Added an answer on May 12, 2026 at 7:19 am

    There are 4 possibilities I can think of:

    • Some security setting that is blocking access the the service. Check you IIS log for access denied
    • That the configuration of the services web.config has not been transfered to production
    • That metadata exchange is not configured with http get allowed
    • That you are using a newer binding that is not supported on IIS 6

    The bindings that are supported by IIS 6 are basicHttpBinding and wsHttpBinding. See:

    http://msdn.microsoft.com/en-us/library/cc949086.aspx

    Hope this helps

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

Sidebar

Related Questions

I have a WCF service hosted on my local machine as windows service. Now
I have created a WCF service that uses windows authentication and would like to
We have created a WCF service hosted in a windows service that handles Authentication
I have created a reference to an IIS hosted WCF service in my ASP.NET
I have created a web service via WCF. Then I exposed it as a
I have a Data Service created using WCF that internally uses nHibernate. This WCF
I have a WCF service running on Windows 2008 R2 64 bit, using IIS
I have a windows service that uses WCF to connect to other services. It
I have created a windows service for the sole purpose of hosting a WCF
I have created a WCF Data Service and using it in a web application

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.