dbTalk Databases Forums  

Connecting to a local cube using Server.Connect(strStringConnectio

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


Discuss Connecting to a local cube using Server.Connect(strStringConnectio in the microsoft.public.sqlserver.olap forum.



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

Default Connecting to a local cube using Server.Connect(strStringConnectio - 08-29-2006 , 10:28 AM






I am trying to connect to a local cube using
Server.Connect(strStringConnection) method of AMO

strConnectString = "Data Source=MyPath\LocalcubeName.cub"
Server.Connect(strStringConnection)

The result:
Message "The MyPath\LocalcubeName.cub' local cube file cannot be
opened." String

StackTrace " at
Microsoft.AnalysisServices.LocalCubeStream..ctor(S tring cubeFile,
MSMDLOCAL_OPEN_FLAGS settings, Int32 timeout, String password)
at
Microsoft.AnalysisServices.XmlaClient.OpenLocalCub eConnection(ConnectionInfo
connectionInfo)
at Microsoft.AnalysisServices.XmlaClient.Connect(Conn ectionInfo
connectionInfo, Boolean beginSession)" String

Is there any other way to connect to a local cube using AMO?

Thanks.

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.