Basic Date Picker Forums

Welcome to Basic Date Picker Forums Sign in | Join | Help
in Search

bdp lite works locally but not on web server

Last post 12-14-2009, 3:06 AM by annem. 0 replies.
Sort Posts: Previous Next
  •  12-14-2009, 3:06 AM 1858

    bdp lite works locally but not on web server

    Hi,

    I am getting the following error trying to run an asp.net web app with bdplite:

    The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value

    All I do on page load is set the SelectedDate of the bdplite control to

    dtpDate.SelectedDate = Date.Today

    or

    dtpFrom.SelectedDate = Convert.ToDateTime(Date.Today.AddMonths(-1))

    At the moment on my local machine it works fine but when I publish it to the web I get the error above when I try to open any page with the bdplite control on it.

    Any help would be much appreciated!

    Thanks,

    Anne

View as RSS news feed in XML
 
Powered by Community Server, by Telligent Systems