ThinkGeo.com    |     Documentation    |     Premium Support

French decimal separator problem under IIS

Hello,


If you are trying to serve some web pages using a IIS 5 server (Windows XP), you will probably get some Javascript error when a postback occurs on a page which embed a MapSuite control.


The error is due to the Json script created on server and provided to the browser. This code embed some coordinates (for exemple, the coordinates of the CurrentExtent). If the IIS server uses the default culture, and if your Windows is a french edition, the created coordinates will use the default french decimal separator. In this case, the Json script will look like this:


var jsonMap1={"cid":"Map1","uid":"Map1","currentExtent":{"left":-182,8125,"bottom":-159,9609375....


To correct this error, you have to configure the IIS WebSite to use another culture. For this, use the ASP.NET configuation tools of your WebSite or Virtual Directory, go to the Application tab, and set the Globalization parameters to the us-US culture (for exemple).


Does anybody else had this problem and found another solution?


For ThinkGeo: Is it possible in the next release, to force the use of a point as decimal separator?


Hoping this will help the french users who have encounter this problem.


Nicolas


 



Nicolas, 
  
 We have solved this issue in the latest version which will be released pertty soon (later next week). Thanks for reporting this! 
  
 Ben 


Hi all,


I don't know if this issue is really solved. When I set the culture of my ASP.NET application as fr-FR (using the ASP.NET Application Parameters), I have an error each time a postback is raised for the map.


This bug is really ennoying because we are now working on the globalization of our application, and we need to add the french localisation.


Thank you



Nicolas, 
  
 You are right. We solved a similar issue in that version (3.0.131) but we found later we hadn’t solved it thoroughly. We did a strict test on the coming release (will be released around 22rd this month) and I have confidence we will completely support multi-language there. So please wait a couple days for that and sorry for the inconvenience now. 
  
 Thanks, 
  
 Ben