dbTalk Databases Forums  

ADOMD / XMLA Problem LCID Error! Please help!

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


Discuss ADOMD / XMLA Problem LCID Error! Please help! in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lafayette Duarte Dias
 
Posts: n/a

Default ADOMD / XMLA Problem LCID Error! Please help! - 01-06-2006 , 11:32 AM






I’m getting an exception when I try to connect do XML/A web service from a
remote machine.
This is my code that connects to XML/A

Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion cn = new
Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion();
Microsoft.AnalysisServices.AdomdClient.CellSet cs;

DataColumn dc;

DataRow dr;

string name;



try {




cn.ConnectionString =
“DataSource=http://myremoteserver:8080/msxisapi.dll;Catalog=mycubename;SSPI=ANONYMOUS”

cn.Open();

}





The machine that hosts XML/A is configured to accept anonymous connections
and the user used as the anonymous user have the permissions in Analysis
server.

This machine is also configured in other locale (EN-US)


This code is used inside a sharepoint webpart. And my sharepoint server
locale is Brazilian Portuguese (Pt-BR), LCID 1046 and it cannot be changed.

When I Run the application the flowing exception is raised:

"The LCID or Compare String flags have already been set by an existing
connection. They cannot be changed."


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.