Hi!
I tried ManicTime v2.1.2 and ManicTime Server v1.1.2
I create DB in sql server normally but when I executed the .exe of ManicTime Server i received this exception:
17/02/2012 14.10.37,288 2 3732 1 Starting console host...
17/02/2012 14.10.37,538 2 3732 1 ManicTime server 1.1.2.0 started.
17/02/2012 14.10.39,162 2 3732 1 Connecting to database...
17/02/2012 14.10.39,537 2 3732 1 Connected. Checking database version...
17/02/2012 14.10.39,600 2 3732 1 Database version: 0; Supported version: 1
17/02/2012 14.10.39,600 2 3732 1 Upgrading database to version 1...
17/02/2012 14.10.39,818 1 3732 1 *** System.Data.SqlClient.SqlException: System.Data.SqlClient.SqlException: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value, the istruction will be interrupted., at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.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.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Finkit.ManicTime.Shared.Database.IDbTransactionExtensions.ExecuteScript(IDbTransaction transaction, String script, Boolean ignoreErrors) at Finkit.ManicTime.Server.Database.UpgradeScript1.Execute(IDbTransaction transaction) at Finkit.ManicTime.Server.Database.DatabaseProvider.UpgradeDatabase(IDbTransaction transaction) at Finkit.ManicTime.Server.Database.DatabaseProvider.UpgradeDatabase() at Finkit.ManicTime.Server.Database.CreateDatabaseService.Start() at Finkit.ManicTime.Server.ServiceStarting.ServiceStarter.Start(Boolean interactive) at Server.Shell.WebHostController.Start(Boolean interactive)
17/02/2012 14.10.39,834 1 3732 1 *** System.Data.SqlClient.SqlException: System.Data.SqlClient.SqlException: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value, the istruction will be interrupted., at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.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.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Finkit.ManicTime.Shared.Database.IDbTransactionExtensions.ExecuteScript(IDbTransaction transaction, String script, Boolean ignoreErrors) at Finkit.ManicTime.Server.Database.UpgradeScript1.Execute(IDbTransaction transaction) at Finkit.ManicTime.Server.Database.DatabaseProvider.UpgradeDatabase(IDbTransaction transaction) at Finkit.ManicTime.Server.Database.DatabaseProvider.UpgradeDatabase() at Finkit.ManicTime.Server.Database.CreateDatabaseService.Start() at Finkit.ManicTime.Server.ServiceStarting.ServiceStarter.Start(Boolean interactive) at Server.Shell.WebHostController.Start(Boolean interactive) at Finkit.ManicTime.Server.Shell.Program.Start(ServerStartupArguments startupArguments)
What is the cause?
Is there somthing wrong in the newer version about updating sql server db?
Thanks