Office Development Assembly version and deployment problems

Source: Internet
Author: User

Office development encounters Office 2003 and Office 2007ProgramSet compatibility issues,Office 11. dll can only be used for Office 2003, Office 12.dll is compatible with Office 2003 and Office 2007.

We recommend that you install Office 2003 during previous deployment.

See 《After deploying some applications in the Development Office, the solution that cannot find the Assembly appears.It also provides a simple method for office development and deployment.

"Sometimes some applications need to use some office components, such as generating Excel files online or Word documents. Running on your machine is full, but an error is reported during deployment, such as: "failed to Load file or assembly" Microsoft. office. interOP. excel, version = 11.0.0.0, culture = neutral, publickeytoken = 71e9bce111e9429c "or one of its dependencies. The system cannot find the specified file. ". The most common method is to install an office on the server. However, this is too big, and sometimes it is not necessary to run the office on it. To solve this problem, Microsoft released some update packages for office: redistributable primary InterOP assemblies.

Yes:

Office2003: http://www.microsoft.com/downloads/details.aspx? Familyid = 3c9a983a-ac14-4125-8ba0-d36d67e0f4ad & displaylang = en

Local download

Office2007: http://www.microsoft.com/downloads/details.aspx? Familyid = 3c9a983a-ac14-4125-8ba0-d36d67e0f4ad & displaylang = en

Local download

Local download

However, Microsoft does not recommend that we use office like this. If I put it in Asp.net or Windows Services, the Office will become unstable or unresponsive. This is why sometimes there are many office-related processes on the server, because there is no way to close it normally ."

Reference: http://webuc.net/chinahuman/

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.