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

编程入门 行业动态 更新时间:2024-10-28 02:26:33
本文介绍了办公室互操作与64位的Windows在ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想用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.

更多推荐

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

本文发布于:2023-06-10 16:25:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/614995.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:办公室   操作   NET   ASP   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!