Mondeo
Well-known member
We have an application that works fine on our test server, however when weve uploaded it to production it fails.
Firstly as part of the logon process it inserts the date into a DB. This gives the following error
Arithmetic overflow error converting expression to data type datetime
The output of Now.ToString on the test server is
15/06/2007 14:12:26
On the production its
6/15/2007 2:11:52 PM
So its using a US date, ive been into regional settings on the web server and that seems fine, everything is set to UK.
Various articles on the net seem to suggest that the ASP.NET account has its own regional settings, could that be the problem?
If so how do I fix it?
To confirm the issue signs are also rendered as $
Thanks
Also pound signs are showing as dollars
Firstly as part of the logon process it inserts the date into a DB. This gives the following error
Arithmetic overflow error converting expression to data type datetime
The output of Now.ToString on the test server is
15/06/2007 14:12:26
On the production its
6/15/2007 2:11:52 PM
So its using a US date, ive been into regional settings on the web server and that seems fine, everything is set to UK.
Various articles on the net seem to suggest that the ASP.NET account has its own regional settings, could that be the problem?
If so how do I fix it?
To confirm the issue signs are also rendered as $
Thanks
Also pound signs are showing as dollars