办公室互操作与64位的Windows在ASP.NET办公室、操作、NET、ASP

2023-09-08 10:02:55 作者:我可以拉你的裤拉链么

我想用C#ASP.NET运行Windows 2003的服务器上做Office 2003的互操作64位(我运行IIS在32位模式下,虽然),并收到错误消息,如:

I'm trying to do office 2003 interop using C# ASP.NET on a server running Windows 2003 64 bit (I'm running IIS in 32bit mode though) and getting error messages like:

本机默认权限设置不具有CLSID COM服务器应用程序授予本地激活权限 {00024500-0000-0000-C000-000000000046}用户域\用户名的SID(SXX-XX-XXX-XXXX-XXX-XXXXX)。此安全权限可以使用组件服务管理工具进行修改。

The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {00024500-0000-0000-C000-000000000046} to the user domain\username SID (S-X-X-XX-XXX-XXXX-XXX-XXXXX). This security permission can be modified using the Component Services administrative tool.

有谁知道我需要改变得到这个工作?谢谢你,如果你能有所帮助。

Does anybody know what I need to change to get this working? Thanks if you can help.

编辑 - 这是工作的罚款32位服务器上

EDIT - This was working fine on a 32bit server.

编辑2 - 似乎没有人喜欢这样,但我不知道有鉴于我们要求的任何其他方式。如果你能想到一个,我已经打开了另外一个问题alternative-to-office-interop-for-document-generation

EDIT 2 - Nobody seems to like this but I'm not sure there's any other way given our requirements. If you can think of one, I've opened another question alternative-to-office-interop-for-document-generation

推荐答案

我已经找到了答案。搜索的GUID在注册表编辑器的问题。然后,您会遇到的一个关键,它包含两个值 - 该组件的名称和它的GUID的组件服务

I've found the answer. Search for the problem guid in regedit. You'll then come across a key that contains two values - the name of the component and it's guid in component services.

 
精彩推荐
图片推荐