delphi 写的com+ 组件在 xp或2003下无法正常运行?谁能解决,高分相送 ( 积分: 200 )

  • 主题发起人 主题发起人 neweat
  • 开始时间 开始时间
N

neweat

Unregistered / Unconfirmed
GUEST, unregistred user!
delphi 写的com+ 组件,为需要事务,在2000下正常运行,但在xp下,不需要事务的能正常运行,但需要事务的,就报出:新事务不能登记到指定的事务处理器中,我昏到,网上搜索了一下,说修改msdtc的选项,可以解决,但我改了之后还是不行,真郁闷啊,哪位高手指点一下?高分等你
 
delphi 写的com+ 组件,为需要事务,在2000下正常运行,但在xp下,不需要事务的能正常运行,但需要事务的,就报出:新事务不能登记到指定的事务处理器中,我昏到,网上搜索了一下,说修改msdtc的选项,可以解决,但我改了之后还是不行,真郁闷啊,哪位高手指点一下?高分等你
 
高手呢?
 
等侍高手富翁回答中。
 
Windows2003 sever 中的组件运行会报"新事务不能登记到指定的事务处理器中"

DTC server
Error message: OLE DB provider SQLOLEDB was unable to begin
a distributed transaction
View products that this article applies to.
Article ID : 816701
Last Review : March 4, 2005
Revision : 4.0
SYMPTOMS
When you try to use Microsoft SQL Server 2000 to start a distributed transaction between linked servers that are running Windows Server 2003, you may receive the following error message:
OLE DB provider SQLOLEDB was unable to begin
a distributed transaction
The following message may appear on the OLE DB provider computer:
New transaction cannot enlist in the specified transaction coordinator.
CAUSE
This behavior occurs if the Distributed Transaction Coordinator (DTS) service is disabled or if network DTC access is disabled. By default, network DTC access is disabled in Windows Server 2003.
WORKAROUND
To work around this behavior, install network DTC access on both servers: 1. Click Start, and then
click Control Panel.
2. Click Add or Remove Programs, and then
click Add/Remove Windows Components.
3. In the Components box, click Application Server, and then
click Details.
4. Click to select the Enable network DTC access check box, and then
click OK.
5. Click Next, and then
follow the instructions that appear on the screen to complete the installation process.
6. Stop and then
restart the Distributed Transaction Coordinator service.
7. Stop and then
restart any resource manager services that participates in the distributed transaction (such as Microsoft SQL Server or Microsoft Message Queue Server).
 
摘於 http://support.microsoft.com/default.aspx?scid=kb;en-us;816701
我們公司也有此种情況,已解決,另Application Server其中有 COM+的服務,看需不需要啟用
 
我是两台xp之间,好像这个方法不管用
 
試一下在兩臺電腦上都裝中間鍵,如可以用2003吧
 
后退
顶部