Error on datetime conversion

Hi, I’ve just downloaded and build the sample linked to MsSql 2005 DB: when I load the scheduler page in the sample I have this error:

“The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.”

The fields FromDate and ToDate are both datetime type.

The stange things is that CRUD operations are all ok, I can insert, update and delete a record in my DB, but I can’t render it on the scheduler!

The db collation is Latin1_General_CI_AS and the language is English (US).
I’m using Visual Studio 2010 on Windows7 in Italian language.

What can I try to do?
Thanks in advance for support.



Can you enable logging in connector, and provide the log output for the problematic operation ?


I’ve added Error Handling and Logging code but it doesn’t function… this is the .ashx page code:

In the windows event viewer I found this error message:

I solved the issue adding this parameter to the web.config file: