Question: ODBC Connection Error .. multiple thread (urgent, pls)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • WeLeh

    Question: ODBC Connection Error .. multiple thread (urgent, pls)

    I am using ODBC (ODBCLink/SE) to connect to HP3000 system;

    Retrieving the data into Microsoft Excel goes fine using
    MicrosoftQuery.
    But if I try to use SQLServer2000-DTS on Windows2003 to do the import,
    it always fails and gives the message:

    "ODBCLINKSE does not allow multiple thread"

    Does anybody knows how to do that?
    I need to synchronize data in HP3000 into my database in SQLServer; and
    I dont see any other ways to do that besides using DTS-scheduled-jobs.

    Pls help..

  • Erland Sommarskog

    #2
    Re: Question: ODBC Connection Error .. multiple thread (urgent, pls)

    WeLeh (Teguh.AB@gmail .com) writes:[color=blue]
    > I am using ODBC (ODBCLink/SE) to connect to HP3000 system;
    >
    > Retrieving the data into Microsoft Excel goes fine using
    > MicrosoftQuery.
    > But if I try to use SQLServer2000-DTS on Windows2003 to do the import,
    > it always fails and gives the message:
    >
    > "ODBCLINKSE does not allow multiple thread"
    >
    > Does anybody knows how to do that?
    > I need to synchronize data in HP3000 into my database in SQLServer; and
    > I dont see any other ways to do that besides using DTS-scheduled-jobs.[/color]

    DTS does indeed use multiple threads for running its tasks, so if
    ODBCLink/SE is not multithreaded, you have a problem. I don't know DTS
    well - rather not at all - but I doubt that there is a way configure DTS
    as single-threaded. Even if your package has a single task, DTS keeps the
    DLL loaded, and a poorly implemented DLL may not even handle that.

    I don't know much about HP3000, but maybe you need to look for a different
    solution.



    --
    Erland Sommarskog, SQL Server MVP, esquel@sommarsk og.se

    Books Online for SQL Server SP3 at
    Get the flexibility you need to use integrated solutions, apps, and innovations in technology with your data, wherever it lives—in the cloud, on-premises, or at the edge.

    Comment

    • Simon Hayes

      #3
      Re: Question: ODBC Connection Error .. multiple thread (urgent, pls)

      You could try setting each step in your package to execute on the main
      package thread - you can use Disconnected Edit to set the
      ExecuteInMainTh read property, or see the code snippet here:



      But as Erland says, it's not at all certain that this will help to
      solve your problem.

      Simon

      Comment

      Working...