"The server committed a protocol violation", "Miscellaneous of ftpwebrequest," the basic connection has been closed: Server

Source: Internet
Author: User

For clients Based on. NET Framework 2.0, everything works normally on the Vista and Server 2008 used for development and is placed on the client machine. Some clients always report errors.

"The server committed a protocol violation" (the Chinese system is "Basic Connection closed: Protocol conflict submitted by the server ").

It was found that the ftpwebrequest error was reported because the FTP server returned invalid characters.

But why does it only appear on some XP users?

Open the directory c: \ windows \ Microsoft. NET \ framework \ v2.0.50727 and find that the system. dll version is faulty.

The server 2008 version is 2.0.50727.3053.

Windows XP version 2.0.50727.42.

 

The system. dll of 2008 is copied first, which is invalid.

Later I thought that. NET Framework 2.0 had the SP1 Patch package.

 

Solution:

Install the. NET Framework 2.0 SP1 Patch and report an error.

 

PS. The system. dll version with the. NET Framework 2.0 SP1 Patch is changed to 2.0.50727.1433. (It is still lower than 2.0.50727.3053. However, ftpwebrequest is no problem)

 

The problem is that every customer cannot be forced to update. NET Framework 2.0 SP1.

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.