在IIS中托管时出现Microsoft.interop错误 [英] Microsoft.interop error while hosting in IIS

查看:91
本文介绍了在IIS中托管时出现Microsoft.interop错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IIS 6.0中托管Asp.Net Web应用程序时出现以下错误



---------

由于以下错误,检索CLSID为{00024500-0000-0000-C000-000000000046}的组件的COM类工厂失败:80070002系统找不到指定的文件。 (HRESULT的例外情况:0x80070002)。

---------



我的尝试:



我已尝试通过谷歌在这里和那里发布的所有解决方案,但没有一个建议实际上对我有用。

如果任何人可以针对该问题发布一步一步的解决方案,我将不胜感激。



这是否需要许可版本的Microsoft Office 2007?

I'am having the following error while hosting an Asp.Net web application in IIS 6.0

---------
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070002 The system cannot find the file specified. (Exception from HRESULT: 0x80070002).
---------

What I have tried:

I've tried all the solutions posted here and there through google but none of the advise actually worked for me.
I'll be appreciated if any one can post a step by step solution for the issue.

Is this require a licensed version of Microsoft Office 2007?

推荐答案

您无法从网站自动化Office应用程序,因此不受支持。它可能在本地计算机上正常工作,但在本地计算机上工作与在实时Web服务器等多线程环境中工作非常不同。您需要提出可以在网站上使用的替代方案。
You can't automate Office apps from a web site, it isn't supported. It might work ok on your local machine but working on your local machine is very different to working in a mutli-threaded environment like a live web server. You'll need to come up with alternatives that are ok to use on a web site.


这篇关于在IIS中托管时出现Microsoft.interop错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆