Click here to Skip to main content
15,899,314 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm receive error message when I run the report from front-end through desktop tool.
Herewith I pasted the error message. Could you please help me how to fix this issue.

2014-11-04 09:35:42,041 ERROR -
Microsoft.AnalysisServices.ConnectionException: A connection cannot be made. Ensure that the server is running. ---> Microsoft.AnalysisServices.XmlaStreamException: The 'C:\ProgramData\EY Global Analytics\cubes\cubedefCNHI_SA_2014_09_30_8fc83c66_856f_4f41_a58f_09956383b8a9.cub' local cube file cannot be opened. ---> System.ComponentModel.Win32Exception: The handle is invalid
at Microsoft.AnalysisServices.LocalCubeStream..ctor(String cubeFile, OpenFlags settings, Int32 timeout, String password, String serverName)
--- End of inner exception stack trace ---
at Microsoft.AnalysisServices.LocalCubeStream..ctor(String cubeFile, OpenFlags settings, Int32 timeout, String password, String serverName)
at Microsoft.AnalysisServices.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
--- End of inner exception stack trace ---
at Microsoft.AnalysisServices.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
at Microsoft.AnalysisServices.Server.Connect(String connectionString, String sessionId)
at EY.GlobalAnalytics.JEAnalysis.BusinessObjects.LocalCubeController.GetOlapServer()
at EY.GlobalAnalytics.JEAnalysis.Forms.Controllers.MdiChildren.ReportDashboardPageController.InitMDAContext(String layoutId)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Posted
Comments
Maciej Los 6-Nov-14 17:10pm    
The error exactly says what you should do. Check if server is running!

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900