connection thread does not close after tranfer

  • Hi Guys!!,

    I am transferring data from .mdb file to sql server db using DTS scheduled task on a daily basis. The job runs successfully, but the connection threads remain open even after job completion. It also generates .ldb files. When I try to delete those files from the drive, it gives me access violation error.

    Can anybody help??

    Thanks

    Pranav

  • the .ldb is autocreated by Access when an Access DB is opened.  Sounds like the Access DB is not being closed upon completion of the DTS package.

    I would check the SQL server and see if the Access DB is open the next time this happens and end task on Access and see what happens (last resort).

    Try adding the below into an ActiveX step as the last thing your DTS package calls:

    Function Main()

    Main = DTSTaskExecResult_Success

    End Function

    This may help close the connection....

     



    Good Hunting!

    AJ Ahrens


    webmaster@kritter.net

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply