I have a C# web application installed in 3 servers. The access to this application is balanced. The third server was included recently and since then i have had some issues.
When a webservice call is made in the first two severs, they assume that the decimal.ToString() method does not include unnecessary decimal digits, while the 3rd server always sends the number plus ".00".
1st and 2nd server: (100).ToString() » "100"
3rd server: (100).ToString() » "100.00"
I've compared the site Properties in the IIS, the regional settings, the registry and the files in all three servers and they are the same.
The problem is that the webservice returns an error when receiving that information and i wanted to know how to solve this, since the problem is only appearing on one server. I wanted to correct this on the server instead of programaticaly because there are more applications in that server (other than mine) and they will eventually crash because of this.