简体   繁体   中英

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. Subsequently, this creates COM+ applications under Administrative tools --> Component Services --> COM+ applications.

One of the COM+ applications is created during the install to run under NETWORK SERVICE account. However, at times , it has been observed that the identity of this COM+ application is set to interactive. I am using a msi based installer. The windows installer log files clearly state that the COM+ application was set to run under NETWORK SERVICE account. We use our own custom code to create this COM+ application. This issue is not reproducible at will. However, it does happen on some environments.

Either of the two things is happening:

  1. There is a bug in the installer code which is causing this
  2. There is something outside of install which is causing this.

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. 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.

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.

Questions:

  1. What are the other options available to me to diagnose this issue?
  2. Can I format the .etl files without the help of Microsoft?
  3. Is there any mechanism in place just like process monitor, which could monitor all the events within COM+?

我不知道这是否会有所帮助,但http://www.fileinfo.com/extension/etl说您可以使用 tracerpt.exe(位于您的 system32/syswow64 目录中)从 etl 文件生成报告。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM