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." |