VSS 2005 after uploading PDF file, open prompt file corruption or content is empty

Source: Internet
Author: User

Problem:

VSS 2005 after uploading the PDF file, open the prompt file corruption or the content is empty;

How to resolve:

In the tools-option of the client for VSS, in the File Type tab, in the Binary file text box, add *.pdf to

Reason:

Some people say that this is a VSS bug, actually not, this is the Microsoft system treats the text a way of processing. In Windows, all line breaks are carriage returns, what's the difference? In fact, in Linux and other operating systems, the line only \ n is \x0a, in Windows to change the line is actually \ r \ n \x0d\x0a. When uploading a PDF file, Microsoft considers the PDF file to be a text file, so all new line characters without \ r are replaced by \ r \ n. In fact, the PDF is not a text file, so when it is obtained from VSS, an error occurs when parsing is turned on. When we set the PDF file as a binary file, Microsoft does not replace the individual \ r \ n.

https://support.microsoft.com/en-us/kb/923434

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.