dbTalk Databases Forums  

adomd.net - LCID

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


Discuss adomd.net - LCID in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
thomas
 
Posts: n/a

Default adomd.net - LCID - 04-05-2006 , 12:26 PM






I have two webpages, both of them connect to AS2000 with adomd 9.0.
When i open the first site, everything works fine, when i open the second
one, I
get the error message "The LCID or Compare String flags have already been
set by an existing connection. They cannot be changed."

When i restart the IIS and open the second webpage first then the second
page works but the first one not !?


Reply With Quote
  #2  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: adomd.net - LCID - 04-05-2006 , 01:47 PM






Are you switching locales in your server application? If the two are sharing
the same ADOMD.NET connection then the locales must stay the same... You
would need to open a new connection if you change the locale.

Thanks,
Akshai

--
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"thomas" <thomas (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have two webpages, both of them connect to AS2000 with adomd 9.0.
When i open the first site, everything works fine, when i open the second
one, I
get the error message "The LCID or Compare String flags have already been
set by an existing connection. They cannot be changed."

When i restart the IIS and open the second webpage first then the second
page works but the first one not !?




Reply With Quote
  #3  
Old   
thomas
 
Posts: n/a

Default Re: adomd.net - LCID - 04-10-2006 , 08:01 AM



I have one connection per web site.
i could solve the problem using Locale Identifier=xxxx in the Connection
String


"Akshai Mirchandani [MS]" wrote:

Quote:
Are you switching locales in your server application? If the two are sharing
the same ADOMD.NET connection then the locales must stay the same... You
would need to open a new connection if you change the locale.

Thanks,
Akshai

--
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"thomas" <thomas (AT) discussions (DOT) microsoft.com> wrote in message
news:B7C5AF43-9026-4CE3-B9D6-911A1F601AEF (AT) microsoft (DOT) com...
I have two webpages, both of them connect to AS2000 with adomd 9.0.
When i open the first site, everything works fine, when i open the second
one, I
get the error message "The LCID or Compare String flags have already been
set by an existing connection. They cannot be changed."

When i restart the IIS and open the second webpage first then the second
page works but the first one not !?





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.