I'm trying to connect to analysis services by C# .net, from my desktop computer, to a server that includes that service.I used 'Server' class in C# to make the connection but i got the following error
"Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host"
, then I try to ran my program inside the server locally and i saw that it ran successfully.I considered all authentication parameters in my connection string in both tests.I tried another test ,to see if the problem was from my computer, I ran my program in another computer which had the same username and password like my server and i see it worked successfully too.
This is my code
Server server = new Server();
server.Connect("Provider=SQLNCLI11.1;Data Source=192.168.30.212;User ID = administrator;Password =XXXXXXX;Initial Catalog = Cubeee;");
do you think that this a security bug from microsoft ?!