WCF Distributed development common errors (28)

Source: Internet
Author: User

WCF Distributed Development Common error (a): The requested upgrade is isn't supported by ...

Today, when debugging the WCF4.0 Routing Routing service example code, start the client test WCF routing service, encountered this error.

Because there is little information on the Internet, no Chinese information is available at present. The English information is also very few, the Google.com search connection also is blocked, cannot visit. Therefore, the solution to this problem sent out, a total of reference, I hope to encounter similar errors later a reference.

"1" Debugging Environment:

1 operating system: Windows XP Professional Edition

2 IDE Environment: Visual Studio BETA2

3) Framework:. NET Framework 4.0

"2" error message:

Error:the requested upgrade isn't supported by ' NET.TCP://LOCALHOST:9002/WCFSERVICEB '. This could is due to mismatched bindings (for example security is enabled on the client and not on the server).

Error: Service ' NET.TCP://LOCALHOST:9002/WCFSERVICEB ' does not support request upgrades. This could be an error caused by a binding mismatch (for example, the client is enabled for security and the server is not.) )。

"3" Error screenshot:

The English exception information thrown by the runtime client is shown in the following illustration:

"4" Problem analysis:

The reason for this error is that there is a partial hint in the exception message that the possible binding mismatch caused the error.

1 Client and server-side security mode, such as client-side security, and the server does not enable security;

2 The client and server-side encoding modes are different, causing the error message to be mismatched.

3 client and server-side SOAP versions are different. may also cause problems.

4 client and server-side transaction settings are different and so on.

can cause this error. We first check the server-side and client-side configuration to find that the server is not secure, and the routing service uses the default settings for the client-bound configuration, that is, the transport security mode is enabled.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.