Link to home
Start Free TrialLog in
Avatar of Michael_Cicogna
Michael_Cicogna

asked on

LoadFromSQLServer hangs when loading a Package containing an Analysis Service Processing Task

Hi,

I have a C# application, which is used to start DTS Packages on a Microsoft SQL Server 2000 Service Pack 3. Everithing works fine with "normal" DTS packages, that don't contain any Analysis Steps.

If i add an Analysis Step (Process a Cube) to a packagethe following Command hangs forever:

package.LoadFromSQLServer(ManagerSettings.DB_HOST,
      ManagerSettings.DB_USER, ManagerSettings.DB_PASS,
      DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_Default, null, null,
      null /*id*/, PackageName, ref pVarPersistStgOfHost);

Does anyone have an ideo how to solve my problem?

Thanks for your advice

Michael
ASKER CERTIFIED SOLUTION
Avatar of arbert
arbert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Michael_Cicogna
Michael_Cicogna

ASKER

Hi all

I managed to work around my problem by using an ActiveX Script to Process the Cube.

      Dim dsoServer as DSO.Server
      Set dsoServer = new DSO.Server
      dsoServer.Connect('localhost')

      Dim dsoDb as DSO.MDStore
      Set dsoDb = new dsoServer.MDStores("myDataBase")
      
      dsoDb.Process processFull
      Main = DTSTaskExecResult_Success
End Function

Thanks anyway
"Thanks anyway"

The above example had the DSO example....Why the low grade????