Raghu Vemparala

Raghu Vemparala

  • NA
  • 1
  • 13.6k

How to find out server culture info from COM+ application

Feb 10 2011 5:07 AM

Hi, I have a COM+ package which is on the server. I have used the following code in one of the components of the package to get the server culture name
string serverCultureName = System.Threading.Thread.CurrentThread.CurrentCulture.Name;
If the COM+ application is running under System Account - Interactive user , above code returns "" which is Invariant Culture. But if the COM+ application is running under particular user account, the same code returns "en-US" which is correct. I want to get the same results regardless of the account under which the COM+ application is running. Can some one suggest me?
Thanks in advance
Raghu

Answers (1)