Error message: content type of the Response Message, text/html; charset = UTF-8 and the content of the binding (text/XML; charset = UTF-8)
The capacity type does not match. If you use a custom encoder, make sure that the iscontenttypesupported method is correctly implemented.
This problem occurs when Yao remotely assigned the customer. The first reason is that the configuration is faulty, but Yao said that the customer has not moved the configuration file. Program
It runs well until some security configurations are made to the server. Without a test environment, I had no clue at the moment, so I had to use Google to search for the desired answer.
Yao said that the Web service under IIS could not be opened, which caught my attention. He habitually looked at the application logs and found a piece of red. This process is not started:
Aspnet_wp.exe failed to start
This solves the problem, but follow the method provided on the Internet: Change the machine. config file
It is located in c: \ winnt \ Microsoft. NET \ framework \ v1.0.3705 (Asp.net 1.0 is like this, if your version is 1.1, the folder name is different) \ config \,
Set the property of username in the <processmodel> component to system, because it is set to machine by default. (The configuration file PS: 2.0 is machine. config. Comments)
The two articles inspired me:
Http://blog.donews.com/litterboy/archive/2005/10/11/584183.aspx/
Http://xu020408.blog.163.com/blog/static/26548920093238128640/
Check the configuration of Microsoft. net \ framework \ v2.0.50727 security configuration, it is found that the security configuration of the customer server is more than an iuser _ *** user, add this user to the security configuration.
Start IIS and access it immediately.
PS: iisreset IIS restart
Aspnet_regiis.exe-I ASPnet re-registration
The two commands have been useless for a long time and are all forgotten ~