dbTalk Databases Forums  

DSO not setting properties

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss DSO not setting properties in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Yash
 
Posts: n/a

Default DSO not setting properties - 12-08-2003 , 08:41 AM






Hi,

I have a partitioned cube in Analysis Services, Through a
VB .NET program I am trying to change the fact table for
one of its partitions. I am using Decision Support Objects
(DSO) 5.1. The statement used is :
dsoPartitionNew.SourceTable="ABC"

I have traced the execution of this program and verified
that control reaches this statement. However, the value of
the SourceTable property does not change even after it
passes this statement. The value of the property remains
what it was.
However, for a different cube, this works fine and I am
able to change the fact tables for different partitions.
Can somebody suggest what might be lacking in the
problematic cube or in the code?

Thanks
Yash

Reply With Quote
  #2  
Old   
Sean Boon [MS]
 
Posts: n/a

Default Re: DSO not setting properties - 12-08-2003 , 03:02 PM






Are you issuing the update statement after you execute that line of code?



--
Sean

--
Sean Boon
SQL Server BI Product Unit

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.

"Yash" <yashgt (AT) indiatimes (DOT) com> wrote

Quote:
Hi,

I have a partitioned cube in Analysis Services, Through a
VB .NET program I am trying to change the fact table for
one of its partitions. I am using Decision Support Objects
(DSO) 5.1. The statement used is :
dsoPartitionNew.SourceTable="ABC"

I have traced the execution of this program and verified
that control reaches this statement. However, the value of
the SourceTable property does not change even after it
passes this statement. The value of the property remains
what it was.
However, for a different cube, this works fine and I am
able to change the fact tables for different partitions.
Can somebody suggest what might be lacking in the
problematic cube or in the code?

Thanks
Yash



Reply With Quote
  #3  
Old   
Yash
 
Posts: n/a

Default Re: DSO not setting properties - 12-08-2003 , 09:27 PM



I am calling Update after the statement. But the problem
is that the statement itself is not working. When I trace,
I find that the SourceTable property of the DSO object
itself does not change.


Quote:
-----Original Message-----
Are you issuing the update statement after you execute
that line of code?



--
Sean

--
Sean Boon
SQL Server BI Product Unit

--
This posting is provided "AS IS" with no warranties, and
confers no rights.
Use of included script samples are subject to the terms
specified at
http://www.microsoft.com/info/cpyright.htm.

"Yash" <yashgt (AT) indiatimes (DOT) com> wrote in message
news:08c701c3bd99$6b40f150$a101280a (AT) phx (DOT) gbl...
Hi,

I have a partitioned cube in Analysis Services, Through
a
VB .NET program I am trying to change the fact table for
one of its partitions. I am using Decision Support
Objects
(DSO) 5.1. The statement used is :
dsoPartitionNew.SourceTable="ABC"

I have traced the execution of this program and verified
that control reaches this statement. However, the value
of
the SourceTable property does not change even after it
passes this statement. The value of the property remains
what it was.
However, for a different cube, this works fine and I am
able to change the fact tables for different partitions.
Can somebody suggest what might be lacking in the
problematic cube or in the code?

Thanks
Yash


.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.