Re: LeaseTime can only be set once within an AppDomain.



Leonid,

Thanks for the info. I guess I should explain - I am getting this error in
Visual Studio 2003 only - when I am trying to deploy to my own BizTalk Server
(2004) running on the same machine. I am running XP Professional SP 2.

Incidentally, I am able to deploy the assemblies manually using the BizTalk
Deployment Wizard.
However, I am unable to right click on a biztalk project in Visual Studio
and deploy it because of this error. I worked fine up until now.
I have re-installed MSDTC and set the appropriate values in the DTC
Configuration. I have even re-configured my BizTalk installation - but to no
avail.

I am not sure why I am getting this error now. Has anyone else come across
this issue recently - I wonder if it is a Windows Update I applied recently?

Thanks in advance.

Cheers,
Donal.


"Leonid Ganeline" wrote:

It's from the "Installing and Configuring BizTalk Server in a Multicomputer
Environment.doc" document in MSDN.
Considerations for Using Distributed Transaction Coordinator
· Beginning with Windows Server 2003 Service Pack 1, network access for
the Distributed Transaction Coordinator (DTC) and COM+ is disabled by
default. Before installing and configuring BizTalk Server 2006 R2 in a
multicomputer environment, you must enable network DTC access and network
COM+ access on all computers running Windows Server 2003 R2, and Windows
Server 2003 SP1 and SP2 where you will install BizTalk Server.

To enable network DTC access and network COM+ access in Windows Server 2003

1. Click Start, point to Control Panel, and then click Add or Remove
Programs.

2. Click Add/Remove Windows Components.

3. Select Application Server, and then click Details.

4. Select Enable network DTC access and Enable network COM+ access,
and then click OK.

5. Click Next.

6. Click Finish.

7. Stop and then restart the Distributed Transaction Coordinator
service.

8. Stop and then restart Microsoft SQL Server and the other resource
manager services that participate in the distributed transaction, such as
Microsoft Message Queuing.


· All BizTalk servers and SQL servers in a group must have the same
remote procedure call (RPC) authentication level applied. The DTC proxy may
not correctly authenticate DTC when the computers are running on different
operating systems, are joined to workgroups, or are in different domains
that do not trust each other. For more information, see MSDTC Fails to
Mutually Authenticate in the DTC Administrator's Guide.

· You must open the required ports for DTC and RPC if you have a
firewall. For more information, see Configuring Microsoft Distributed
Transaction Coordinator (DTC) to Work Through a Firewall.

· To ensure that the DTC settings are correct, use the following DTC
testing tools:

· DTC Tester, available for download at How To Use DTCTester Tool.

· DTC Ping, available for download at How To Troubleshoot MS
DTC Firewall Issues.

--
Regards,

Leonid Ganeline [BizTalk MVP]
http://geekswithblogs.net/leonidganeline/


"Donal" <Donal@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BABB3A66-ECC5-4858-A8D2-65F721BAD93D@xxxxxxxxxxxxxxxx
Hi,

I am getting the following error when trying to deploy an orchestration.

LeaseTime can only be set once within an AppDomain.
The network clients for the Distributed Transaction Coordinator (DTC)
Network must have the remote clients/transactions option enabled.

Any ideas?

Thanks in advance.
Donal
.



Relevant Pages

  • Re: LeaseTime can only be set once within an AppDomain.
    ... It's from the "Installing and Configuring BizTalk Server in a Multicomputer ... Considerations for Using Distributed Transaction Coordinator ... you must enable network DTC access and network ...
    (microsoft.public.biztalk.general)
  • Re: Items Stuck in Work Queue.
    ... have you enabled the DTC for network transactions? ... > An error occurred in BizTalk Server. ... that SQL Server is running. ...
    (microsoft.public.biztalk.general)
  • Re: win2k/sql2k to win2k3/sql2k5 dtc problems
    ... The win2k/sql2k server's DTC service runs as "LocalSystem", ... The win2k3/sql2k5 server used to be NT4/sql7 and was upgraded over the ... >>enable network DTC access in add/remove windows components is enabled. ...
    (microsoft.public.sqlserver.security)
  • Re: win2k/sql2k to win2k3/sql2k5 dtc problems
    ... >We're having problems running triggers from a win2000/sql2000 server to ... >a win2003/sql2005 server and vice versa. ... >enable network DTC access in add/remove windows components is enabled. ...
    (microsoft.public.sqlserver.security)
  • Re: Transactions and updating two or more MS SQL servers
    ... you'll need to use the DTC. ... > I have a connection set up in the VFP application for each server, ... > I enclose the data updates on each server within Begin Transaction / ... > Commit Transaction pair. ...
    (microsoft.public.fox.vfp.queries-sql)