English 中文(简体)
带OpenOffice的IIS ASP-ActiveX组件无法创建对象
原标题:IIS ASP with OpenOffice - ActiveX Component Can t Create Object

我有一个用经典ASP开发的旧网站,我需要在其中添加openoffice功能,所以我在VB中使用openoffice的UNO服务创建了一个DLL。我在另一个EXE项目中甚至在命令行项目中尝试了本地使用该DLL。

当我将该DLL用于ASP时,问题就开始了。它说ActiveX组件不能创建对象,我搜索了很多,最后我决定询问一些专家关于这个问题。从我的搜索中可以看出,IIS的安全性存在一些问题。我需要用一些特定的用户权限和一些DCOM服务配置来配置一些目录,严重的是,我对设置IIS用户权限和设置DCOM服务权限一无所知,下面是指向该问题的URL。

http://www.oooforum.org/forum/viewtopic.phtml?t=24400&highlight=activex+component
http://www.oooforum.org/forum/viewtopic.phtml?t=73470
http://www.oooforum.org/forum/viewtopic.phtml?t=26366

我认为没有这样的Step By Step帖子可以指导openoffice用户使用IIS和ASP进行配置。

请帮忙,因为这是一个紧迫的问题。

谢谢你,

当做

最佳回答

最后我自己找到了答案。

我在windows中创建了一个服务,该服务以管理权限调用star office文档。

问题回答

验证分配给您的站点或虚拟目录的应用程序池是否具有True中的“启用32位应用程序”参数。将其设置为True可以解决a不久前面临的类似问题。





相关问题
Session Management with Windows Authentication

In an ASP.NET web app, using Integrated Windows Authentication, is the session tied to the windows identity? In other words, if I login (using IWA) to the app, and the app stores some "stuff" in my ...

Using Elmah with Cassini

Does anyone know if I can use Elmah with Visual Studio build-in web server(aka Cassini)? I get it working easily on IIS, but using same configuration, it doesn t work with Cassini. When I requested ...

Setting hostname in IIS, include www?

I want to set the hostname for a website I m adding in IIS 7, however do I include the www in the hostname or not? because I want both www.mysite.com and mysite.com both to point to mysite on the ...

inetpub versus any other folder

I ve run websites out of inetpub, as well as from folders just residing on the C: drive. I wonder, are there any definitive advantages to running websites out of inetputwwwroot?

IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

热门标签