ThinkGeo.com    |     Documentation    |     Premium Support

Input string was not in a correct format

We frequently get the following text rendered on the map


'input string was not in a correct format'


Is there any chance to get a version which logs to the event log or som other place the exact problem. I.E.


- Input string to what


- What value


- Why it is wrong


Alternatively, any way to intercept this server side?


It's not exactly pretty for our users.


thanks


Matt


 



Hi Matthew,  
  
 We couldn’t recreate your issue; I think in your application, some tiles’ requests are incorrect, for example the bounding box has some invalid value, such as BBOX=-180,-91,180,NaN, which will throw the exception you mentioned, could your provide us a demo to help us recreating your issue? 
  
 Thanks, 
  
 Howard 


It's very difficult to provide a demo. Even if I were to, it would only solve this specific case.


Can't you provide a solution to solve it more generally by, for example, logging to the event log



Hi Matthew, 
  
 The exception is not thrown by Map Suite but system; we really couldn’t recreate this issue without more information, such as map unit, map data, projection, overlay type, etc.  
 Please provide your map configuration and send us the error image URI. 
  
 Thanks, 
  
 Howard