windows - 是否可以在 Windows Azure 上部署进程外 COM 服务器并更改其激活权限?

标签 windows deployment com azure cloud

我需要从 Windows Azure 应用程序中的辅助角色和 Web 角色使用进程外 COM 服务器。我几乎确定我需要做的一步是 to alter the access permissions for the COM server - 为角色代码执行的预定义用户授予“本地启动”和“本地激活”权限。

到目前为止我发现有 DCOMPERM Windows SDK 示例中的实用程序包含我猜可以做到这一点的代码。因此,我可以编写类似的代码并将其打包到单独的可执行文件中或打包到 COM 服务器和 run that code from a role start-up task 的 COM 注册代码中。 。这并非微不足道,但肯定是可行的。

在开始之前我只有一个主要关心的问题。

有什么原因导致我不能这样做吗?也许 Windows Azure 或其他平台上不允许使用进程外 COM 服务器?有这样的限制吗?

最佳答案

Are there any reasons why I can't do that? Maybe using out-proc COM servers is not allowed on Windows Azure or something? Are there any such limitations?

这不是我亲自做过的事情,但如果您可以安装在 shell exe 中运行的 COM+ 服务器,那么我认为您应该能够做您想做的事情 - 请参阅最近的博客文章 http://michaelwasham.com/2011/05/15/deploying-a-com-servicedcomponent-to-windows-azure/

我认为您不会遇到限制 - 但我认为您在此过程中会遇到一些问题 - 祝您好运。

关于windows - 是否可以在 Windows Azure 上部署进程外 COM 服务器并更改其激活权限?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6153985/

相关文章:

eclipse - 从 Eclipse 在 Tomcat 上运行 Maven 项目

.net - 在 .NET 中与 COM 交互之前是否需要调用 CoInitialize?

C++ COM接口(interface)继承

.net - 如何从 VBA 迭代 .NET HashTable 的键

windows - 庆典 : nano: command not found at Windows git bash

windows - 针对每次单击按钮创建一个单独的窗口

deployment - 在docker jboss/wildfly图像容器上复制应用程序

java - Jelastic 上多应用一个数据库场景的最佳配置

windows - R: 如何修复plot()上的永久 "Click or hit ENTER for next page"?

windows - 从任务计划程序调用时,Powershell 输出无法正确记录