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: I have quite a similar issue. I migrated from 1.1.213 to 1.2.231 and I have an issue displaying most pages (for ex Home, My Issues ; Search and Admin are fine). I get the following exceptions, telling me the conversion of a varchar type into a datetime type ended up in an out of range value 2012-11-23 05:24:26,622 ERROR La conversion d'un type de données varchar en type de données datetime a créé une valeur hors limites. System.Data.SqlClient.SqlException (0x80131904): La conversion d'un type de données varchar en type de données datetime a créé une valeur hors limites. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at BugNET.Providers.DataProviders.SqlDataProvider.GenerateIssueListFromReader(IDataReader returnData, List`1& issueList) at BugNET.Providers.DataProviders.SqlDataProvider.ExecuteReaderCmd[T](SqlCommand sqlCmd, GenerateListFromReader`1 gcfr, List`1& list) at BugNET.Providers.DataProviders.SqlDataProvider.PerformQuery(List`1 queryClauses, ICollection`1 sortFields, Int32 projectId) 2012-11-23 05:24:26,622 ERROR Application Error System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> BugNET.Common.DataAccessException: Database Error ---> System.Data.SqlClient.SqlException: La conversion d'un type de données varchar en type de données datetime a créé une valeur hors limites. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at BugNET.Providers.DataProviders.SqlDataProvider.GenerateIssueListFromReader(IDataReader returnData, List`1& issueList) at BugNET.Providers.DataProviders.SqlDataProvider.ExecuteReaderCmd[T](SqlCommand sqlCmd, GenerateListFromReader`1 gcfr, List`1& list) at BugNET.Providers.DataProviders.SqlDataProvider.PerformQuery(List`1 queryClauses, ICollection`1 sortFields, Int32 projectId) --- End of inner exception stack trace --- at BugNET.Providers.DataProviders.SqlDataProvider.PerformQuery(List`1 queryClauses, ICollection`1 sortFields, Int32 projectId) at BugNET._Default.rptProject_ItemDataBound(Object sender, RepeaterItemEventArgs e) at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at BugNET._Default.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) IIS is on a French OS (only the French language is installed, so the language assigned to the DB user should be French also), SQLExpress 10.50.2500, the display language of BugNET is english. We use no custom field.

Viewing all articles
Browse latest Browse all 2179

Trending Articles



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