![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have created a VB program to perform DTS tasks for data transfer from ACCESS database to SQL Server. The DTS are created by saving the actual DTS packages as VB file and used those bas files in VP app to run the DTS programmatically. The process works fine most of the time. But occassionally the DTS process is getting locked. The two connections from the DTS package to SQL server database gains DB lock on the database and so the process does not go further . Can any body know why this is happenning? what could be the solution for this problem? please help. thanks Sam |
#3
| |||
| |||
|
|
You would be better off creating the packages as Structured Storage files and calling them through the object model. Are you trying to access the same object in the tasks that use these connections? Is one connection a copy of the other? What do the tasks do that are getting locked.? Can you put workflow into the design to make things execute in the right order? -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - SQL Server 2005 Integration Services. www.Konesans.com "Sam" <samirsoni (AT) hotmail (DOT) com> wrote in message news:eTNw3B6MFHA.1268 (AT) TK2MSFTNGP14 (DOT) phx.gbl... Hi, I have created a VB program to perform DTS tasks for data transfer from ACCESS database to SQL Server. The DTS are created by saving the actual DTS packages as VB file and used those bas files in VP app to run the DTS programmatically. The process works fine most of the time. But occassionally the DTS process is getting locked. The two connections from the DTS package to SQL server database gains DB lock on the database and so the process does not go further . Can any body know why this is happenning? what could be the solution for this problem? please help. thanks Sam |
![]() |
| Thread Tools | |
| Display Modes | |
| |