Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 AdomdConnection Exception

Author  Topic 

Dhanalakshmi
Starting Member

12 Posts

Posted - 2011-08-19 : 00:56:37
Hi All,

I got this error in my c# console application.

There is an error in the Cube connection:-Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: The connection either timed out or was lost. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

--- End of inner exception stack trace ---

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

at System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)

at Microsoft.AnalysisServices.AdomdClient.DimeRecord.ForceRead(Stream stream, Byte[] buffer, Int32 length)

at Microsoft.AnalysisServices.AdomdClient.DimeRecord.ReadHeader()

at Microsoft.AnalysisServices.AdomdClient.DimeReader.ReadRecord()

at Microsoft.AnalysisServices.AdomdClient.TcpStream.GetResponseDataType()

How to resolve it?

Can you please help me?

Thanks,

DIP.

yadhu_cse
Constraint Violating Yak Guru

252 Posts

Posted - 2011-08-19 : 01:41:48
check for connection and authentication
Go to Top of Page
   

- Advertisement -