1
votes

When connecting to some of our CRM deployments (CRM Dynamics 2011) with an account that exists in the Domain, but wasn't added to the Organization yet, I'm getting an Error message.

This seems alright, although : the error message is in Chinese.

enter image description here

Does anyone know what the language is based on?
Is it a server setting?

I can confirm that the browser and OS settings of the browsing user are not in Chinese. Neither is the OS of CRM server.

I can also confirm that the Base Language of this deployment is set to English.

enter image description here

Edit

It seems that installing a language pack overrides the default localization of error messages. I have reproduced this on a development server.

Could this be a bug in Dynamics?

2
Traditional Chinese Language Pack is or was installed? the user was added before to the organization and after removed? Language of the server?Guido Preite
I'm pretty sure the Chinese Language Pack has been installed at some point. I can get this confirmed though. The user was never added to the org. Server language is English.Joris Van Regemortel
Could it be possible that the latest installed language pack overrides the default error message localization?Joris Van Regemortel
I've just installed the Chinese lang pack on a local CRM server, and indeed : the error messages are defaulting to Chinese. This feels like a bug in CRM to me?Joris Van Regemortel
The infrastructure team confirmed that the Chinese language pack is probably the last pack they installed. The only other language pack (other than the 2 Chinese ones) installed is the Spanish one.Joris Van Regemortel

2 Answers

0
votes

The language is Traditional Chinese, I guess the CRM organization belongs to a customer from Hong Kong.

the message is:

商業管理錯誤
與目前紀錄有關的使用者識別碼無效

is the standard error message when a user doesn't belong to the organization:

enter image description here

and the url is in this form:

https://[server]/_common/error/errorhandler.aspx?BackUri=&ErrorCode=0x80041D1F&Parm0=%0d%0a%0d%0aError%20Details%3a%20The%20user%20Id%20is%20invalid.&RequestUri=%2f[OrganizationName]%2fdefault.aspx

I think the base language of this CRM is Traditional Chinese, so you get the message in the base language.

0
votes

I'm not sure how the "base" language of CRM is set or used, but I know languages are User specific. This allows different users to see different, language specific labels on the same form.

I'd first verify what the language of the user is that you're attempting to login with (you'll have to do an SDK call since you can't get logged in, or assign them to an org, then look at their language settings within CRM)

I'm guessing that's just a .Net Error that's created on the CRM server itself, using the standard .Net method of determining what language to create the exception method in. Somehow the user context of the user that is running the CRM site got changed...