![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hi, When I use the following to execute a package, the LoadFromSQLServer statement hangs on packages with Analysis Services Processing Tasks. Set oPkg = Server.CreateObject("DTS.Package") oPkg.LoadFromSQLServer "myServer", uid, pwd, DTSSQLStgFlag_Default, "", "", "", "TestDTS" oPkg.Execute Any ideas? Thanks in advance. |
#2
| |||
| |||
|
|
-----Original Message----- Make sure they and any other tasks that connect to them are executing on "The main Package thread" (Workflow properties) -- -- Allan Mitchell (Microsoft SQL Server MVP) MCSE,MCDBA www.SQLDTS.com I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Mohammad" <mohammad.shaahinfar (AT) ftb (DOT) ca.gov> wrote in message news:036001c38838$07032aa0$a301280a (AT) phx (DOT) gbl... Hi, When I use the following to execute a package, the LoadFromSQLServer statement hangs on packages with Analysis Services Processing Tasks. Set oPkg = Server.CreateObject("DTS.Package") oPkg.LoadFromSQLServer "myServer", uid, pwd, DTSSQLStgFlag_Default, "", "", "", "TestDTS" oPkg.Execute Any ideas? Thanks in advance. . |
![]() |
| Thread Tools | |
| Display Modes | |
| |