Showing posts with label parent. Show all posts
Showing posts with label parent. Show all posts

Thursday, March 22, 2012

Error in TransactionOption in SSIS

Hi,

I was trying to maintain transactions between my tasks, so I set the TransactionOption property as Required to the Parent Container (For Each Loop Container). But I am getting the following error while executing my SSIS package.

"Error: The SSIS Runtime has failed to start the distributed transaction due to error 0x8004D01B "The Transaction Manager is not available.". The DTC transaction failed to start. This could occur because the MSDTC Service is not running."

I checked in my Windows Services and did not find MSDTC. Pls let me know if you have any solution for this.

Thanks in advance.

Regards,

Prakash Srinivasan.

Look for "Distributed Transaction Coordinator" and start it.|||

Hi,

Sorry I found this already and started. But I am facing an other issue like If I set the TransactionOption as "Required" to my Parent Conatiner, I am getting the below mentioned error in the Connection Manager.

[Execute SQL Task] Error: Failed to acquire connection "SQLConnectionMgr1". Connection may not be configured correctly or you may not have the right permissions on this connection.

But if I set the TransactionOption as "Supported" then it is working fine. Pls let me know if you have any idea or solution.

Thanks & Regards,

Prakash Srinivasan.

|||You are not getting the error message when you set the TransactionOption to "Supported" because the container does not start a transaction, but joins any transaction started by its parent container. However, if you set it to "Required", the container starts a transaction, unless one is already started by its parent container.

Your problem is related to starting a transaction in your connection, I think. This could be attributed to the DTC properties. You may want to read about DTC in detail and set its properties based on your need.

Friday, February 17, 2012

Error Icons displayed on parent objects with no or different children

I recently had to restore a database from backup and the restored
database had a different set of publications than the one I overwrote.
Since then, in EM, on the Replication Monitor object, Publishers, and
Servername objects as well as on the Agents and Snapshot Agents
objects, I see the little red X denoting an error. I have done
everything i can think of and more, following much advice given on this
group. I even turned replication off, deleted all publications, used
hilary cotter's script to clean up all the miscellaneous replication
tables/settings, etc. and restarted the server.
Everything seems to be working fine, but I would like to try to clean
up these "errors". Does anyone have any suggestions?
I am running SqlServer 8.00.2039 SP4 Standard Edition on Windows Server
2003 SP1
You will have to manually remove the replication jobs in msdb. Sometimes you
will get transitory error messages in EM, run sp_MSload_replication_status
to clear them.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"troy" <troyblakely@.gmail.com> wrote in message
news:1125073355.972990.114690@.g47g2000cwa.googlegr oups.com...
> I recently had to restore a database from backup and the restored
> database had a different set of publications than the one I overwrote.
> Since then, in EM, on the Replication Monitor object, Publishers, and
> Servername objects as well as on the Agents and Snapshot Agents
> objects, I see the little red X denoting an error. I have done
> everything i can think of and more, following much advice given on this
> group. I even turned replication off, deleted all publications, used
> hilary cotter's script to clean up all the miscellaneous replication
> tables/settings, etc. and restarted the server.
> Everything seems to be working fine, but I would like to try to clean
> up these "errors". Does anyone have any suggestions?
> I am running SqlServer 8.00.2039 SP4 Standard Edition on Windows Server
> 2003 SP1
>