Errors connecting to an offline cube (.cub) file

I am trying to execute a C# project that creates a local cube (.cub) file and processes data taken from an existing processed cube on Analysis Services 2012.
The project runs correctly when I use a connection string that points (and hence writes) to another database on Analysis Services. But when I execute the project using the following connection string that points to the local cube file to be created, it gives
me error: 
conn.ConnectionString =
string.Format( "Provider=MSOLAP;Data Source={0}", "c:\\output\\mycube.cub" );
When referenced to ADOMD 11 library, I get the following errors:
1. OLE DB error: OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow
remote connections. For more information see SQL Server Books Online.; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001.
2. Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'DB_NAME', Name of 'DB_NAME'.
When referenced to ADOMD 12 library, I get the following error:
A connection cannot be made. Ensure that the server is running.
Although, I know SQL Server Analysis Services are running in services.msc.

Hi Akshay,
Thank you for your sharing the solution which will help other forum members who have the similar issue.
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • Error while creating offline cube

    Hi All,
    while creating offline cube in excel iam facing below issue.
    Microsoft OLE DB Provider for Analysis services 2005:
    Query(3,2) Parser:The syntax for 'DIMENSION' is incorrect
    could any one please let me the solution for above error
    Thanks in advance

    Hi Indra19,
    According to your description, you are creating a offline cube in Excel, and encounter the error
    Microsoft OLE DB Provider for Analysis services 2005:
    Query(3,2) Parser:The syntax for 'DIMENSION' is incorrect
    An offline cube file (.cub) stores data in the form of an Online Analytical Processing (OLAP) cube. This data may represent a portion of an OLAP database from an OLAP server or it may have been created independently of any OLAP database. In your scenario,
    it' hard to give your the root reason based on the limited information. Please ensure that you setting is correct, here is a link for your reference.
    http://office.microsoft.com/en-us/excel-help/work-with-offline-cube-files-HP010087040.aspx
    If the issue persits, please elaborate your issue with detail error message and setting, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Internal error: The parameter is not valid When Trying to Create an Offline Cube

    Hello,
    Can someone Please help me Understand the error which am getting while Creating an offline cube?
    My script is somewhat like this
    CREATE global CUBE [ABCoffline]
    Storage 'C:\Test\Testing\abc.cub'
    FROM [abc]
    MEASURE  [abc].[A],
    MEASURE [abc].[B],
    MEASURE [abc].[C],
    MEASURE  [abc].[D],  
    DIMENSION [abc].[D1],
    DIMENSION [abc].[D2]
    If I remove the measure D am able to create cube.However if I include the measure am not able to and getting the error
    Adding More information. My relationship between the dimensions and fact goes like this
    can someone please advise!!

    Hi Chris,
    According to your description, the cube works fine, you can connect to it in client application. The only issue is that counter the error when create a local cube based on it, right?
    In your scenario, which version of SQL Server are you using? Only with the dimple error message, it's hard to analyze this issue. In order to narrow down the issue, please apply the latest services and cumulative updates based on your SQL Server version.
    You can troubleshoot this issue by using the Windows Event logs and msmdsrv.log.
    You can access Windows Event logs via "Administrative Tools" --> "Event Viewer".  SSAS error messages will appear in the application log.
    The msmdsrv.log file for the SSAS instance that can be found in \log folder of the instance. (C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Log)
    Here is a blog about data collection for troubleshooting Analysis Services issues, please see:
    Data collection for troubleshooting Analysis Services issues
    Regards,
    Charlie Liao
    TechNet Community Support

  • Error opening Local Cube File in Excel 2007

    Excel crashes, the only error given is "Microsoft PowerPivot Engine has stopped working"
    Event viewer log is equally vague:
    "The description for Event ID 22 from source MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local
    computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Internal error: An unexpected exception occurred. Internal error: An unexpected exception occurred."
    Local cube file is created using version 11 of Microsoft.AnalysisServices, using a relational sql data source connected via SQLNCL11.1. Excel is version 2007. OS is Windows 7 sp 1 64 bit. File is created succesfully, no errors.
    Also baffling is that some members of my team can open this file successfully and others cannot (including myself). I can not find anything in common in regards to software installed on any of the systems.

    Hi Infide,
    According to your description, your PowerPivot Engine stopped unexpectedly. Right?
    In this scenario, since other member can open the cube file successfully, there should be no corruption in the cube file. One possibility which can cause this error is the memory issue. Please refer to an article below:
    Memory Considerations about PowerPivot for Excel
    For troubleshooting, please enable "PowerPivot Diagnostics" functionality to create a trace file to capture some useful information:
    PowerPivot Options & Diagnostics Dialog Box
    How can I see what internal commands PowerPivot executes in its engine
    If doesn't help, I would recommend to submit a feedback to the Microsoft Connect at this link
    https://connect.microsoft.com/SQLServer/Feedback.
    This connect site will serve as a connecting point between you and Microsoft, and ultimately the large community for you and Microsoft to interact with. Your feedback enables Microsoft to offer the best software and deliver superior services, meanwhile you
    can learn more about and contribute to the exciting projects on Microsoft Connect.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • ENT-06954: Error while Displaying BIBean for Cube/Dimension Dataviewer.

    Hi all,
    I have defined a cube with three dimensions. All elements are deployed and the mappings is executed successfully. If I try to open the dataviewer either for the cube or for the dimensions I receive the following errors:
    ENT-06954: Error while Displaying BIBean for Cube Dataviewer.
         at oracle.wh.ui.owbcommon.dataviewer.dimensional.CubeDataViewerMain.getDataviewObject(CubeDataViewerMain.java:391)
         at oracle.wh.ui.owbcommon.dataviewer.dimensional.CubeDataViewerEditor._init(CubeDataViewerEditor.java:66)
         at oracle.wh.ui.editor.Editor.init(Editor.java:1115)
         at oracle.wh.ui.editor.Editor.showEditor(Editor.java:1431)
         at oracle.wh.ui.owbcommon.IdeUtils._tryLaunchEditorByClass(IdeUtils.java:1431)
         at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1344)
         at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1362)
         at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:864)
         at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:851)
         at oracle.wh.ui.console.commands.DataViewerCmd.performAction(DataViewerCmd.java:19)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    ENT-06972: Error while Displaying BIBean for Dimension Dataviewer.
         at oracle.wh.ui.owbcommon.dataviewer.dimensional.DimDataViewerMain.getDimensionListObject(DimDataViewerMain.java:479)
         at oracle.wh.ui.owbcommon.dataviewer.dimensional.DimDataViewerEditor._init(DimDataViewerEditor.java:89)
         at oracle.wh.ui.editor.Editor.init(Editor.java:1115)
         at oracle.wh.ui.editor.Editor.showEditor(Editor.java:1431)
         at oracle.wh.ui.owbcommon.IdeUtils._tryLaunchEditorByClass(IdeUtils.java:1431)
         at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1344)
         at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1362)
         at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:864)
         at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:851)
         at oracle.wh.ui.console.commands.DataViewerCmd.performAction(DataViewerCmd.java:19)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    In another warehouse this function works properly. I am using OWB 10gR2 (10.2.0.1.31).
    Any hints to fix this issue would be appreciated.
    Thanks in Advance, C.

    If you run OWB using the supplied shell script or batch file are there other errors on the console before the exception. OWB uses a component (OLAPI does some validation over and above any other) which dumps the errors on the the standard output which often illustrates some invalid metadata in the OLAP catalog.

  • Connecting to an OLAP Cube

    Hi,
    I'm trying to connect to an olap cube sitting on an essbase olap server. When i use the OLAP report creation wizard and try to connect to the server I get various messages about .dll files missing.
    The ones in question are essbhapi.dll and essapinu.dll
    Has anybody got an ideas of the best way to remedy this?
    Many thanks
    Darrell.

    Hello Darrell
    Simply install the Essbase client software. This contains the missing files. Depending on the configuration of your BOE system, you must install the Essbase client software on the same machine that contains the MDAS server. Once installed you will then need to restart the MDAS server so that it will pick up the Essbase connectivity. This will allow Voyager to work with Essbase and should also allow WebI OLAP universe connectivity too.
    Regards

  • Frequenty occured  ERRORS in loading data to cube

    hi sap gurs
      can u give me frequently occured errors in loading data to cube.
    giri

    Hi Giri,
    There will be thousands of errors which can occur in any kind of environment.
    Some of the errors listed
    1. SID missing
    2. No alpha conforming values found
    3. Replicate datasource error
    4. BCD_Overflow error
    5. update rule inactive
    6. DUplicate masterdata found error
    RFC connection lost.
    7. Invalid characters while loading.
    8. ALEREMOTE user is locked.
    9. Lower case letters not allowed.
    10. While loading the data i am getting messeage that 'Record
    the field mentioned in the errror message is not mapped to any infoboject in the transfer rule.
    11. object locked.
    12. "Non-updated Idocs found in Source System".
    13. While loading master data, one of the datapackage has a red light error message:
    14. Extraction job aborted in r3
    15. repeat of last delta not possible
    16. datasource not replicated
    17. datasource/transfer structure not active
    18. Idoc Or Trfc Error
    Pls find these links to help yourself out
    production support
    Re: BW   production support
    https://forums.sdn.sap.com/click.jspa?searchID=1844533&messageID=1842076
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3a699d90-0201-0010-bc99-d5c0e3a2c87b
    /people/valery.silaev/blog/2006/10/09/loading-please-wait
    Help on "Remedy Tickets resolution"
    Re: What is caller 01?
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    https://forums.sdn.sap.com/click.jspa?searchID=678788&messageID=1842076
    Production Support
    Production support issues
    check Siggi's weblog for common errors in data loading
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    Assign points if it is helpful.
    Regards,
    Sreedhar

  • Trying to log into firefox but keep getting firefox is in offline mode and can't browse the web, I've unchecked the work offline in the file menu but still get error message...

    trying to log into firefox but keep getting firefox is in offline mode and can't browse the web, I've unchecked the work offline in the file menu but still get error message...

    The work offline option can be found from Firefox button -> Web developer or from the menubar toolbar -> Work offline (Or at least thats what happens in Windows).
    Have you any other reason for being offline; router off, firefox not dialing up or whatever. Or is security software or a firewall blocking firefox, or a network connection, or firefox setting etc set wrongly.
    See also
    *[[cannot connect after upgrading firefox]]
    *[[options window - advanced panel]]
    * [[error loading web sites]]

  • Create report from olap .cub file problem

    hello,
    i am using crystal reports 2008. i tried to create a report based off of the sample sales reports.cub file using the olap cube report wizard.
    when i moved the measures dimension to the slice list on the slice/page screen and tried to create a parameter field, i got this message "the table measure could not be found'.
    i do not understand how that table could not be found when it is in the .cub file.
    i'm hoping that someone can tell me because without getting past this, i can't create the olap report.
    any help would be greatly appreciated.
    thank you
    tracy

    Hi Tracy,
    Moved your post to the Other forum where OLAP is located.
    Don

  • OEDQ 11 - error.connection.externaldatasource - While trying to export excel file into local drive

    Team I am trying to export a dataset as a excel spreadsheet on to my local drive. when I ever I try to run the Export I am getting error.connection.externaldatasource error message.
    Even I tried creating a excel file in my local and point that file in EDQ - Data Stores connection , still getting the same error message.
    Please help.
    Thanks!
    BG

    Also useful to understand:
    - Is it a server-side or client-side data store?
    - Is it an XLS or an XLSX file you are trying to write?
    - What's the data volume?

  • Creation of offline cubes from pivot table[Automation]

     
    I have a pivot table on which i can slice data based on 3 different users so i create the offline cube for each of them independently
    using Analyse->OLAP Tools->Offline OLAP.
    So i need to repeat this process 3 times since each time i only select one user and deselect the other 2 in the offline OLAP offline
    cube creation wizard.
    My question is that can this process be automated because in case there are ,say 100 users the manual work will be too much.
    Can i get information on the plugin in Excel which does the Offline Cube Creation.

    Hi,
    I have taken the steps that you mentioned.
    It works perfectly when the number of dimensions on which i slice data are small(around 10).
    However i need to do this operation on around 90 dimensions so as a result i just keep on seeing this:
       RUNNING OLAP QUERY ... (PRESS ESC TO CANCEL)
    Is there any way out?
    Thanks

  • TS1135 Cannot process the Photo Book; it fails always at the very last stage with "error occurred while uploading on of your files. Pls check your network connection and click Retry..." Tried at 12 times and no joy!  Can anyone help?

    Can anyone help with the Photo Book process?  I have tried at least a dozen times and the Photo Book always fails at the very last stage of the process.  I ordered Buy Book, it assembles the book and files are transferred until the very last moment... it says " An error occurred while uoloading one of your files.  Please check your network connection and click Retry to resend your files."   It fails every time, any advice?  My server is TalkTalk which may explain everything !! ??   Help.

    Boot into Safe Mode, Mac OS X: Starting up in Safe Mode, and order from there. 
    Also make a PDF file of your book according to this Apple Document, iPhoto '11: Preview a book, card, or calendar before you order or print it, before you order to check for errors.  Keep that file to compare with the printed copy when it arrives.
    OT

  • How OBIEE 11g is connected to MDX or CUBE

    Hi,
    Can any one please lert me know how OBIEE 11g is connected to MDX or CUBE
    varma

    Hi Varma,
    The following links may help you :
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/olap11g_excel/olap_excel.htm
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/olap/cube/querycubes.htm
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/olap/cube/BuildiCubes.htm
    Thanks,
    Srujana

  • An error occurred while uploading one of your files. Please check your network connection and click Retry to resend your file

    Just for the record:
    I had received the error message "An error occurred while uploading one of your files. Please check your network connection and click Retry to resend your file" after all data apparently had been uploaded.
    After trying everything recommended on the internet, I finally found the culprit: Glimmerblocker, an ad blocker!
    (GlimmerBlocker version 1.4.16, Mac OS X 10.7.2 Lion)
    Actually, the credit goes to the very patient German Apple support: they had finally asked me: "what software have you installed lately" ... a big applause to the guys there!
    Best,
    Gabriel.

         In our case, it was not third party software, but a problem with our router not accepting pings.  If you are using a router be sure to set-up Enable WAN Ping Respond,  in the advanced settings.  I reviewed my wireless router's logs and found that it was blocking ICMP Type 3 packets from Apple's server.  As a result, it would give the message, "An error occurred while uploading one of your files.  Please check your network connection and click Retry to resend your file."  You can find the blocked packets in your log based on the time you clicked the buy button for your iPhoto purchase (in my case about a dozen times).  If your packets are blocked, then that is your problem.
         I should have suspected it was the connection since the message plainly said, "...check your network connection...".  However, I discounted this along with so many others based on the forums, since I could connect to the internet.  If there only was a way the message could have gave a little more saying, "Enable your WAN Ping Respond now, or else!"
    Good fortune on your road to Macenlightenment!

  • ENT-06954: Error while Displaying BIBean for Cube Dataviewer.

    Hello,
    I need urgent help.
    I build a ROLAP cube using OWB 11g. First it works, but after 2 days when I want to view data cube, using Data Viewer I receive this error. Please help me.
    ENT-06954: Error while Displaying BIBean for Cube Dataviewer.
    ENT-06954: Error while Displaying BIBean for Cube Dataviewer.
    at oracle.wh.ui.owbcommon.dataviewer.dimensional.CubeDataViewerMain.getDataviewObject(CubeDataViewerMain.java:391)
    at oracle.wh.ui.owbcommon.dataviewer.dimensional.CubeDataViewerEditor._init(CubeDataViewerEditor.java:66)
    at oracle.wh.ui.editor.Editor.init(Editor.java:1115)
    at oracle.wh.ui.editor.Editor.showEditor(Editor.java:1431)
    at oracle.wh.ui.owbcommon.IdeUtils._tryLaunchEditorByClass(IdeUtils.java:1436)
    at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1349)
    at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1367)
    at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:869)
    at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:856)
    at oracle.wh.ui.console.commands.DataViewerCmd.performAction(DataViewerCmd.java:19)
    at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Hi,
    Check this Metalink Note 455940.1
    Thanks,
    Sutirtha

Maybe you are looking for