Solution to failure to Load file or assembly Microsoft. Office. InterOP. Excel and failure to Load file or assembly Microsoft. Office. InterOP. Word

Source: Internet
Author: User

When ASP. NET operates Word documents,This problem occurs, and word is not installed on the machine,

"Word 2003" is installed in the system, but it is not installed in GAC. (About GAC globalProgramFor details about the set cache, refer to the msdn help .)

First of all, if the problem occurs due to the first reason, it is best to solve the problem, that is, install Microsoft Word 2003.

In addition, it is caused by the second reason. There may also be two possible causes: one is to install in the office.. NET Framework is installed before, and the other is missing the ".. Net programmable support ". Now we need to install Office 2003 PIA (Master InterOP assembly) into GAC. The installation method and steps are as follows:

 

 

//*********************************

Solution 2:


Install office2003 first
Then installVstor.exe
Install the main InterOP components of Office 2003
O2003pia. exe
Restart IIS!

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.