Hi,
Transaction Scope Activity is giving the following exception when I am trying to run the application from Server where it is executing properly when it is run locally.
Please give me the solution.
System.Transactions.TransactionException: The Transaction Manager is not available. (Exception from HRESULT: 0x8004D01B) > System.Runtime.InteropServices.COMException (0x8004D01B): The Transaction Manager is not available. (Exception from HRESULT: 0x8004D01B)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.EnterpriseServices.Thunk.ServiceDomainThunk.EnterServiceDomain(ServiceConfigThunk psct)
at System.EnterpriseServices.ServiceDomain.Enter(ServiceConfig cfg)
at System.Transactions.TransactionScope.PushServiceDomain(Transaction newCurrent)
End of inner exception stack trace
at System.Transactions.TransactionScope.PushServiceDomain(Transaction newCurrent)
at System.Transactions.TransactionScope.SetCurrent(Transaction newCurrent)
at System.Transactions.TransactionScope.PushScope()
at System.Transactions.TransactionScope.Initialize(Transaction transactionToUse, TimeSpan scopeTimeout, Boolean interopModeSpecified)
at System.Transactions.TransactionScope..ctor(Transaction transactionToUse, TimeSpan scopeTimeout, EnterpriseServicesInteropOption interopOption)
at System.Workflow.Runtime.Scheduler.Run()
I am running a game server on my windows vista pc, the game server is unstable and crashes alot so i...
By thomas55
How will Remote Desktop work with UI Automation. I have tested it with Beta 2 of WinFX and all I see...
By coderforjc
Hi,I see that can use Elliptic Curve Cryptography (ECC) on windows vista; but for my work I must use...
By g0l3m
Dear Tech guy/gal,I have windows vista. It was working fine yesterday but today ...My computer will ...
By dbeddy
Hello ,Please help...I am stuck on one placesI am passing workflowid (from Workflow via SendEmai act...
By dhavalvaria, 2 Comments
I just purchased a new laptop and need to find a virus program that is compatible. Hard time finding...
By heartgard, 4 Comments
Greetings, A customer came to my work regarding Windows Live Messenger giving Error. The question i...
By huuz, 1 Comments
I'm updating a Windows Service that configures Power Management settings and records various user st...
By jamesclark, 1 Comments
I can use DirectShow to connect with USB camera, but the same program can not find 1394 camera. I us...
By farming, 4 Comments
Sounds like a DTC issue. Take a look at the following posts for how to resolve the problem:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=184654&SiteID=1
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=76892&SiteID=17
tomlake_msft | Tues, 04 Sep 2007 21:51:59 GMT |
Hi Tom,
I think I was not clear about my problem in the earlier post.I am giving you the clear view of the problem.
We have one sequential WF.
Put Transactionscope (TS) Activity over it.
Add two code activity inside the TS.
Add persistent service into WF runtime, so that we can use transaction.
Open the DB connection and close in each code activity.
Problem:
When we tried on localhost, it works fine.
When we tried on remote DB, it opens DB connection first time without any exception. after that i have closed the DB connection.
When we tried to open DB connection second time, it throws an exception "Communication with the underlying transaction manager has failed".
Even i am doing any transaction in the DB, only opening and closing the DB Connection twice within the Transaction scope.
Note : We have enabled the MSDTC from Component services. checked allow remote connection and disable the firewall services.
i have tried all above settings to resolve the issue, But......?
Please give any solutions for the above scenario.
Can we use two code activities inside Transaction scope for database transactions. Why it is working in local machine. Why it's not in remote.
Thank You
Satya.
satyavani | Tues, 04 Sep 2007 21:53:05 GMT |
Hi,
Anybody can look in to my problem and give a solution or even any reference of other post, it will be more precious for me. This issue is pending for my process to complete. Please give a solution.
Thank You
Satya
satyavani | Tues, 04 Sep 2007 21:53:58 GMT |