![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
HI, I'm not able to run my package when I prepare it for transactions. Case: I have 5 packages and each of them have some 6 to 15 Tasks and each package has 'Use Transactions' property checked and each task has 'Join transaction' property checked. I run all these packages in a mother package, because I want all the packages as part of the transaction (all or nothing). When I run to test it through designer, my package hangs. I have msdtc running. can someone throw light my problem. Thanks in advance, Rgds, Mabbu |
#3
| |||
| |||
|
|
yeah... It fails on any task that has 'join transaction if present' checked in the workflow properties page.... I did try to execute that task and it just hangs, no information. Please find the attachment... Thanks and Regards, Mabbu "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:urfjngX4DHA.2888 (AT) tk2msftngp13 (DOT) phx.gbl... Can you see where it is hanging? Does each package run individually? -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Mabbu Bharat" <m_bharat (AT) hotmail (DOT) com> wrote in message news:%23J4HkfW4DHA.1672 (AT) TK2MSFTNGP12 (DOT) phx.gbl... HI, I'm not able to run my package when I prepare it for transactions. Case: I have 5 packages and each of them have some 6 to 15 Tasks and each package has 'Use Transactions' property checked and each task has 'Join transaction' property checked. I run all these packages in a mother package, because I want all the packages as part of the transaction (all or nothing). When I run to test it through designer, my package hangs. I have msdtc running. can someone throw light my problem. Thanks in advance, Rgds, Mabbu |
#4
| |||
| |||
|
|
It doesn't work still, but atleast now we get an error. Following scenarios were tried. 1. Error.jpg : If I just execute the Step. 2. Error1.jpg: If I execute the package. Any other possibilities you see... Thanks again, Mabbu "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:esd40GY4DHA.2332 (AT) TK2MSFTNGP10 (DOT) phx.gbl... OK Can you change the isolation level from Serializable to the default of Read Committed. When you execute the package (serializable) have a look on the server to which the connection pertains and my guess is that if you execute sp_who2 in QA you will see blocking. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Mabbu Bharat" <m_bharat (AT) hotmail (DOT) com> wrote in message news:%23riC16X4DHA.2612 (AT) tk2msftngp13 (DOT) phx.gbl... yeah... It fails on any task that has 'join transaction if present' checked in the workflow properties page.... I did try to execute that task and it just hangs, no information. Please find the attachment... Thanks and Regards, Mabbu "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:urfjngX4DHA.2888 (AT) tk2msftngp13 (DOT) phx.gbl... Can you see where it is hanging? Does each package run individually? -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Mabbu Bharat" <m_bharat (AT) hotmail (DOT) com> wrote in message news:%23J4HkfW4DHA.1672 (AT) TK2MSFTNGP12 (DOT) phx.gbl... HI, I'm not able to run my package when I prepare it for transactions. Case: I have 5 packages and each of them have some 6 to 15 Tasks and each package has 'Use Transactions' property checked and each task has 'Join transaction' property checked. I run all these packages in a mother package, because I want all the packages as part of the transaction (all or nothing). When I run to test it through designer, my package hangs. I have msdtc running. can someone throw light my problem. Thanks in advance, Rgds, Mabbu |
#5
| |||
| |||
|
|
Your ExecuteSQL task is failing (DeleteData) Can you show me 1. The workflow properties the for task 2. The statement inside? Take the statement out from the task and look in QA. Execute there? -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Mabbu Bharat" <m_bharat (AT) hotmail (DOT) com> wrote in message news:e5IrBiY4DHA.2404 (AT) TK2MSFTNGP12 (DOT) phx.gbl... It doesn't work still, but atleast now we get an error. Following scenarios were tried. 1. Error.jpg : If I just execute the Step. 2. Error1.jpg: If I execute the package. Any other possibilities you see... Thanks again, Mabbu "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:esd40GY4DHA.2332 (AT) TK2MSFTNGP10 (DOT) phx.gbl... OK Can you change the isolation level from Serializable to the default of Read Committed. When you execute the package (serializable) have a look on the server to which the connection pertains and my guess is that if you execute sp_who2 in QA you will see blocking. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Mabbu Bharat" <m_bharat (AT) hotmail (DOT) com> wrote in message news:%23riC16X4DHA.2612 (AT) tk2msftngp13 (DOT) phx.gbl... yeah... It fails on any task that has 'join transaction if present' checked in the workflow properties page.... I did try to execute that task and it just hangs, no information. Please find the attachment... Thanks and Regards, Mabbu "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:urfjngX4DHA.2888 (AT) tk2msftngp13 (DOT) phx.gbl... Can you see where it is hanging? Does each package run individually? -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Mabbu Bharat" <m_bharat (AT) hotmail (DOT) com> wrote in message news:%23J4HkfW4DHA.1672 (AT) TK2MSFTNGP12 (DOT) phx.gbl... HI, I'm not able to run my package when I prepare it for transactions. Case: I have 5 packages and each of them have some 6 to 15 Tasks and each package has 'Use Transactions' property checked and each task has 'Join transaction' property checked. I run all these packages in a mother package, because I want all the packages as part of the transaction (all or nothing). When I run to test it through designer, my package hangs. I have msdtc running. can someone throw light my problem. Thanks in advance, Rgds, Mabbu |
#6
| |||
| |||
|
|
1. Attached jpg 2. DELETE FROM APPROVALPARAMETERS GO DELETE FROM APPROVAL_FILTERS GO DELETE FROM APPROVAL_RULE GO "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:#X#8k5Y4DHA.2384 (AT) TK2MSFTNGP10 (DOT) phx.gbl... Your ExecuteSQL task is failing (DeleteData) Can you show me 1. The workflow properties the for task 2. The statement inside? Take the statement out from the task and look in QA. Execute there? -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Mabbu Bharat" <m_bharat (AT) hotmail (DOT) com> wrote in message news:e5IrBiY4DHA.2404 (AT) TK2MSFTNGP12 (DOT) phx.gbl... It doesn't work still, but atleast now we get an error. Following scenarios were tried. 1. Error.jpg : If I just execute the Step. 2. Error1.jpg: If I execute the package. Any other possibilities you see... Thanks again, Mabbu "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:esd40GY4DHA.2332 (AT) TK2MSFTNGP10 (DOT) phx.gbl... OK Can you change the isolation level from Serializable to the default of Read Committed. When you execute the package (serializable) have a look on the server to which the connection pertains and my guess is that if you execute sp_who2 in QA you will see blocking. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Mabbu Bharat" <m_bharat (AT) hotmail (DOT) com> wrote in message news:%23riC16X4DHA.2612 (AT) tk2msftngp13 (DOT) phx.gbl... yeah... It fails on any task that has 'join transaction if present' checked in the workflow properties page.... I did try to execute that task and it just hangs, no information. Please find the attachment... Thanks and Regards, Mabbu "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:urfjngX4DHA.2888 (AT) tk2msftngp13 (DOT) phx.gbl... Can you see where it is hanging? Does each package run individually? -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Mabbu Bharat" <m_bharat (AT) hotmail (DOT) com> wrote in message news:%23J4HkfW4DHA.1672 (AT) TK2MSFTNGP12 (DOT) phx.gbl... HI, I'm not able to run my package when I prepare it for transactions. Case: I have 5 packages and each of them have some 6 to 15 Tasks and each package has 'Use Transactions' property checked and each task has 'Join transaction' property checked. I run all these packages in a mother package, because I want all the packages as part of the transaction (all or nothing). When I run to test it through designer, my package hangs. I have msdtc running. can someone throw light my problem. Thanks in advance, Rgds, Mabbu |
#7
| |||
| |||
|
|
Hi i am new to DTS and i want to try one thing. please help me out with this. i have three packages and i am creating one more package which uses three execute package task to run each of them. and Lets say that i am running them serially, i.e. 1st and then 2nd and the third. But during that if any one of this package has an error and it fails all the three package should roll back, i.e. if first one fails then no prob(because i have precedence constraints). But if third one fails after sucessful completion of first two, then all the three should roll back. Can somebosy help me with this. |
#8
| |||
| |||
|
|
In message <80958627-DBDD-4366-8371-7377D168213F (AT) microsoft (DOT) com>, Hari Hari (AT) discussions (DOT) microsoft.com> writes Hi i am new to DTS and i want to try one thing. please help me out with this. i have three packages and i am creating one more package which uses three execute package task to run each of them. and Lets say that i am running them serially, i.e. 1st and then 2nd and the third. But during that if any one of this package has an error and it fails all the three package should roll back, i.e. if first one fails then no prob(because i have precedence constraints). But if third one fails after sucessful completion of first two, then all the three should roll back. Can somebosy help me with this. Incorporating Transactions in a DTS Package (http://msdn.microsoft.com/library/de.../en-us/dtssql/ dts_addf_tx_2n8l.asp?frame=true) What you describe is possible, so I suggest you start with the above section of Books Online. If you have questions after this then please post back with specifics. -- Darren Green (SQL Server MVP) DTS - http://www.sqldts.com PASS - the definitive, global community for SQL Server professionals http://www.sqlpass.org |
#9
| |||
| |||
|
|
Dear Darren, let me tell you what i did. i have enabled join transaction and rollback on failure on all the three execute package workflow properties and enabled commit on success for the last one. and i set use transaction and commit on success for the package properties. But even then the first two packages are running successfully and the third one is failing, but there is no rolling back occuring. And i am also getting some error like dtsdatapump failed to join or unable to join. is there anyother way to do this. |
![]() |
| Thread Tools | |
| Display Modes | |
| |