A problem I recently appeared on a Web project "Object reference not set to an instance of an object", the project in debug working properly but when I published and fit IIS was the problem, so trying different options and verify that the source of the error was realized that lay in the decimal points.
The locale decimal (.) Was correct but the IIS did not take it well, managing the comma as decimal separator (,)
The origin of the problem is that use multiple joints for consultations and so in consultations where he ran decimal number attached to the query is
select "+ value1 +"
got the errors, using comma for a new column.
The solution has already imagined,
in the system.web
globalization culture = "es-MX" uiCulture = "es-MX" /
0 comments:
Post a Comment