Quantcast
Channel: BugNET Issue Tracker (Moved to GitHub)
Viewing all articles
Browse latest Browse all 2179

Commented Issue: Conversion from varchar to datetime type resulted in out-of-range value [78]

$
0
0
HI,<br /><br />I've just finished a new installation of BugNet 1.2 using SQL server 2008 which was fine. However, when Saving a new Issue the following message is displayed:<br /><br />'The conversion of a varchar data type to a datetime data type resulted in an out-of-range value'<br /><br />Looking at the BugNET database: A record is written in the dbo.BugNet_Issues table - using format 'yyyy-mm-dd hh-mm-ss' for any DateTime fields.<br /><br />The message also appears when clicking on the 'My Issues' tab on the front page of BugNet.<br /><br />I'm guessing it's a locale datetime issue and may need editing and building from source code - but if anyone has any pointers to the problem that would be a great help.
Comments: Thanks Davin, updating the view BugNet_IssuesView fixed the problem. It looks like all the pages load fine now. I also tried adding a new issue and it also worked. Is the problem only because we use BugNET on an OS that uses dd/MM/yyyy for the dates? If so I guess this is just a temporary fix and we'll have to create a script to update all the dates from the DB, so that we don't have to modify that view each time we update BugNET.

Viewing all articles
Browse latest Browse all 2179

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>