dbTalk Databases Forums  

Connect Error

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


Discuss Connect Error in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kevin R.
 
Posts: n/a

Default Connect Error - 12-06-2005 , 07:16 PM






Hi All,

I have a client ASP.Net application that can access AS via XMLA 1.1 with
no problem. However, in an attempt to set the AS Roles using DSO, I get
the following error:

"Cannot connect to the Analysis server on computer
'myserver'.\r\nConnection to the server is lost"

This error occurs when I attempt to connect to AS during the following
code:
DSO.Server dsoServer =new DSO.Server();
dsoServer.Connect("myserver");


I have searched some newsgroups and articles and have tried the
following suggestions with no avail:

- turned on Impersonation.
- turned off anonymous authentication.
- Added windows login to olap_administrators group in "myserver".

One odd thing I noticed is that this article

http://support.microsoft.com/default.aspx?kbid=823066

attributes the above error message when connecting to the local computer
that is running Analysis Services. "myserver", however is a remote
computer that is running Analysis Services.

Does anyone have any ideas why I get the connection error?

thx,
kr





*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #2  
Old   
Kevin R.
 
Posts: n/a

Default Re: Connect Error - 12-07-2005 , 08:07 PM






The problem was that I also needed to add the following attribute to the
<@Page> directive at the top of the HTML tab for the ASPX page:

aspcompat="true"

Kevin R.



*** Sent via Developersdex http://www.developersdex.com ***

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.