I use C# to invoke DTS. The DTS run successfully if no
process cube function in it. But after i add process cube
function, the ASP.NET page hang.
I even impersonate ASP.NET to an account with OLAP
Administrator and System administrator. it jus hang
there. So what is the problem I'm having? It is working fine when no
processing OLAP command in it.
Package2Class package = new Package2Class();
try
{
if (mode == AppEnums.ProcessCubeMode.FullProcess)
{
if (useTrustedConnection)
{
package.LoadFromSQLServer(serverName, null, null,
DTSSQLServerStorageFlags.DTSSQLStgFlag_UseTrustedC onnection,
null, null, null, "ATMOnlineNET: Full Process OLTP and
OLAP", ref pVarPersistStgOfHost);
}
else
{
package.LoadFromSQLServer(serverName, userId, password,
DTSSQLServerStorageFlags.DTSSQLStgFlag_Default,
null, null, null, "ATMOnlineNET: Full Process OLTP and
OLAP", ref pVarPersistStgOfHost);
}
} 3 2104
Hi Joel:
Are you using AspCompat="true" in your @ Page directive? I believe the
cube processing custom task is an STA component and will need this
setting, particularly since you are using impersonation.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Tue, 19 Apr 2005 20:48:09 +0800, "Joel Leong"
<ch******@hotmail.com> wrote: I use C# to invoke DTS. The DTS run successfully if no process cube function in it. But after i add process cube function, the ASP.NET page hang.
I even impersonate ASP.NET to an account with OLAP Administrator and System administrator. it jus hang there. So what is the problem I'm having? It is working fine when no processing OLAP command in it.
Package2Class package = new Package2Class();
try {
if (mode == AppEnums.ProcessCubeMode.FullProcess) {
if (useTrustedConnection) { package.LoadFromSQLServer(serverName, null, null, DTSSQLServerStorageFlags.DTSSQLStgFlag_UseTrusted Connection, null, null, null, "ATMOnlineNET: Full Process OLTP and OLAP", ref pVarPersistStgOfHost); } else { package.LoadFromSQLServer(serverName, userId, password, DTSSQLServerStorageFlags.DTSSQLStgFlag_Default, null, null, null, "ATMOnlineNET: Full Process OLTP and OLAP", ref pVarPersistStgOfHost); } }
Thanks, your solution really did the job. I owe you a lunch buddy!
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:hr********************************@4ax.com... Hi Joel:
Are you using AspCompat="true" in your @ Page directive? I believe the cube processing custom task is an STA component and will need this setting, particularly since you are using impersonation.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Tue, 19 Apr 2005 20:48:09 +0800, "Joel Leong" <ch******@hotmail.com> wrote:
I use C# to invoke DTS. The DTS run successfully if no process cube function in it. But after i add process cube function, the ASP.NET page hang.
I even impersonate ASP.NET to an account with OLAP Administrator and System administrator. it jus hang there. So what is the problem I'm having? It is working fine when no processing OLAP command in it.
Package2Class package = new Package2Class();
try {
if (mode == AppEnums.ProcessCubeMode.FullProcess) {
if (useTrustedConnection) { package.LoadFromSQLServer(serverName, null, null, DTSSQLServerStorageFlags.DTSSQLStgFlag_UseTruste dConnection, null, null, null, "ATMOnlineNET: Full Process OLTP and OLAP", ref pVarPersistStgOfHost); } else { package.LoadFromSQLServer(serverName, userId, password, DTSSQLServerStorageFlags.DTSSQLStgFlag_Default , null, null, null, "ATMOnlineNET: Full Process OLTP and OLAP", ref pVarPersistStgOfHost); } }
Just glad to be of help ...
--
Scott http://www.OdeToCode.com/blogs/scott/
On Tue, 19 Apr 2005 23:06:49 +0800, "Joel Leong"
<ch******@hotmail.com> wrote: Thanks, your solution really did the job. I owe you a lunch buddy! "Scott Allen" <sc***@nospam.odetocode.com> wrote in message news:hr********************************@4ax.com.. . Hi Joel:
Are you using AspCompat="true" in your @ Page directive? I believe the cube processing custom task is an STA component and will need this setting, particularly since you are using impersonation.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Tue, 19 Apr 2005 20:48:09 +0800, "Joel Leong" <ch******@hotmail.com> wrote:
I use C# to invoke DTS. The DTS run successfully if no process cube function in it. But after i add process cube function, the ASP.NET page hang.
I even impersonate ASP.NET to an account with OLAP Administrator and System administrator. it jus hang there. So what is the problem I'm having? It is working fine when no processing OLAP command in it.
Package2Class package = new Package2Class();
try {
if (mode == AppEnums.ProcessCubeMode.FullProcess) {
if (useTrustedConnection) { package.LoadFromSQLServer(serverName, null, null, DTSSQLServerStorageFlags.DTSSQLStgFlag_UseTrust edConnection, null, null, null, "ATMOnlineNET: Full Process OLTP and OLAP", ref pVarPersistStgOfHost); } else { package.LoadFromSQLServer(serverName, userId, password, DTSSQLServerStorageFlags.DTSSQLStgFlag_Defaul t, null, null, null, "ATMOnlineNET: Full Process OLTP and OLAP", ref pVarPersistStgOfHost); } } This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Devin McMahon |
last post by:
I cannot seem to find a group where this question would fit so I am
posting it here. I have what I believe is a unique situation. I am
using SQL Server Analysis Server to build a cube of...
|
by: Pradeep |
last post by:
I have created a crystal report connecting an OLAP cube .But once i
try to view a report it took around 15 minutes and finaly gave an
error like "cannot retrieve data from cube".I want to know why...
|
by: Moco |
last post by:
Well I installed my first OLAP Server ever just yesterday, allright.
I built my first cube with a data source from a MSSQL Server 2000 on the
same machine, allright.
I browsed the cube with...
|
by: AOstarello |
last post by:
Hi all,
I'm trying to link to some OLAP cubes that were created using the MS
SQL Server Analysis Tools. The cubes reside on an Analysis Server.
I'm trying to find a simple way for users to...
|
by: Naeem |
last post by:
I am working in SQL Server OLAP Services 7.0. I have stored the
monthwise data in separate table for each month. All tables have same
columns. Is it possible to build a cube on these multiple...
|
by: mrwoopey |
last post by:
Hi,
I have a web based OLAP cube (based on the SQL 2000 resource kit
version) and I need to know how to display it in a chart (web based).
I know that there are 3rd party tools but I need a...
|
by: Melroy |
last post by:
I am working on Analysis Services. We are developing an
ASP.NET application which will access data from OLAP
Cubes. creation of OLAP Cube is done.
I am not able to access the same from asp.net....
|
by: jai83 |
last post by:
hi,what are the features that decide that a particular OLAP cube is small or large?? Is it the number of tuples or the number of dimensions that are persent in the cube?
thanks a lot !!!
|
by: =?Utf-8?B?TWFyaw==?= |
last post by:
Hi -
Is is possible to connect to a data source that is an OLAP Cube?
If so what are the steps that are needed to "Add New Data Source"?
Thank you,
Mark
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |