Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2004-08-19
3
328 Views
Last Modified: 2008-02-01
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
0
Comment
Question by:Michael_Cicogna
  • 2
3 Comments
 
LVL 34

Accepted Solution

by:
arbert earned 500 total points
ID: 11845299
This seems to be a pretty common problem with no "built in" answer--here was a good thread on it:


http://www.developersdex.com/sql/message.asp?p=1252&ID=%3COVEDyVOeEHA.3988%40tk2msftngp13.phx.gbl%3E
0
 
LVL 2

Author Comment

by:Michael_Cicogna
ID: 11849712
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
0
 
LVL 34

Expert Comment

by:arbert
ID: 11852579
"Thanks anyway"

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

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question