[英]Issue with the identity of a COM+ application
I am now facing a very strange issue.我现在面临一个非常奇怪的问题。 One of our product installers registers numerous COM DLLs during the installation of the product.我们的一位产品安装人员在产品安装期间注册了大量 COM DLL。 Subsequently, this creates COM+ applications under Administrative tools --> Component Services --> COM+ applications.随后,这将在管理工具 --> 组件服务 --> COM+ 应用程序下创建 COM+ 应用程序。
One of the COM+ applications is created during the install to run under NETWORK SERVICE account. COM+ 应用程序之一是在安装过程中创建的,以在 NETWORK SERVICE 帐户下运行。 However, at times , it has been observed that the identity of this COM+ application is set to interactive.但是,有时会发现此 COM+ 应用程序的标识设置为交互式。 I am using a msi based installer.我正在使用基于 msi 的安装程序。 The windows installer log files clearly state that the COM+ application was set to run under NETWORK SERVICE account. Windows 安装程序日志文件明确指出 COM+ 应用程序设置为在 NETWORK SERVICE 帐户下运行。 We use our own custom code to create this COM+ application.我们使用我们自己的自定义代码来创建这个 COM+ 应用程序。 This issue is not reproducible at will.这个问题不能随意重现。 However, it does happen on some environments.但是,它确实发生在某些环境中。
Either of the two things is happening:两种情况中的任何一种正在发生:
I need to determine the root cause of this behavior.我需要确定这种行为的根本原因。 Upon carrying out some research on the web, I have come across the following two articles:在网上进行了一些研究后,我遇到了以下两篇文章:
These two articles talk about how diagnostic logging can be enabled for COM+ components.这两篇文章讨论了如何为 COM+ 组件启用诊断日志记录。 However, I am not really sure if they will be of use to me , as i need to accurately pin point as to what is changing the identity of the COM+ component to INTERACTIVE USER.但是,我不确定它们是否对我有用,因为我需要准确指出是什么将 COM+ 组件的身份更改为 INTERACTIVE USER。
The other major disadvantage with this logging is that the .etl files output are in a binary format and can only be decoded by contacting Microsoft with the help of so-called .tmf files.此日志记录的另一个主要缺点是 .etl 文件输出为二进制格式,只能通过在所谓的 .tmf 文件的帮助下与 Microsoft 联系进行解码。
Questions:问题:
我不知道这是否会有所帮助,但http://www.fileinfo.com/extension/etl说您可以使用 tracerpt.exe(位于您的 system32/syswow64 目录中)从 etl 文件生成报告。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.