The problem encountered by the COM + program developed by the .NET Framework1.1 on Windows 2003

xiaoxiao2021-03-06  62

The previous ASP.NET program was previously written using COM . Deployment on Win2000 and XP has been very easy. However, today's project team has encountered problems in using this module. Every time I use COM to submit data. "[Comexception (0x8004d00e): This transaction is open or secretly confirmed or terminated]" .

At the beginning, I was inexplicably, and the service was registered. The role account was also added. Later, http://support.microsoft.com took half a day, finally found that there was a description of BizTalk's KB and my situation is very similar. According to the inside, the registry's hkey_local_machine / Software / Microsoft / MSDTC added a DWORD Subkey TurnoffRPCSecurity and set the value to 1. Then heavy MSDTC and IIS finally solved the problem.

I have encountered this problem when I use XP SP2, but I thought it was SP2 unstable, I didn't pay attention. I checked the information today, I finally solved this ghost problem. It should be that Win2003 and XP SP2 is more imposed in security, so I encountered problems when COM used RPC communication. The specific reason has not been deepened. In fact, this error will happen if you open the firewall to shield these communications.

The first time I wrote blog, I don't want to say anything, I am afraid that I will encounter this problem later how to solve it. It can also be found. After all, I didn't find the positive solution of the problem on Google. The problem in solving a MS CMS last year is the same, and find a lot of information to solve the problem, and the result is not well recorded. Now if you touch this problem, think slowly to find answers.

转载请注明原文地址:https://www.9cbs.com/read-118983.html

New Post(0)