Upgrading DotNetNuke

Current Assembly Version: 05.02.02

Current Database Version: 05.02.00



Upgrade Status Report

00:00:00.031 - Upgrading to Version: 05.02.02
00:00:00.046 -   Executing Script: 05.02.01.SqlDataProvider Error! (see 05.02.01.log for more information)

 


Cannot insert the value NULL into column 'VersionId', table 'its0928008343785.dbo.Version'; column does not allow nulls. INSERT fails.<br>The statement has been terminated.

Server Error in '/Main' Application.

Cannot insert the value NULL into column 'VersionId', table 'its0928008343785.dbo.Version'; column does not allow nulls. INSERT fails.
The statement has been terminated.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'VersionId', table 'its0928008343785.dbo.Version'; column does not allow nulls. INSERT fails.
The statement has been terminated.

Source Error:


Line 171:                        Response.Write("<h2>Upgrade Status Report</h2>")
Line 172:                        Response.Flush()
Line 173:                        Services.Upgrade.Upgrade.UpgradeDNN(strProviderPath, DataProvider.Instance().GetVersion)
Line 174:
Line 175:                        'Install optional resources if present

Source File: D:\Hosting\13052484\html\Main\Install\Install.aspx.vb    Line: 173

Stack Trace:


[SqlException (0x80131904): Cannot insert the value NULL into column 'VersionId', table 'its0928008343785.dbo.Version'; column does not allow nulls. INSERT fails.
The statement has been terminated.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1961498
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4869815
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +204
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
   System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +175
   System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +137
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) +168
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +188
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) +246
   DotNetNuke.Data.SqlDataProvider.UpdateDatabaseVersion(Int32 Major, Int32 Minor, Int32 Build, String Name) +218
   DotNetNuke.Common.Globals.UpdateDataBaseVersion(Version version) +69
   DotNetNuke.Services.Upgrade.Upgrade.UpgradeVersion(String strScriptFile, Boolean writeFeedback) +122
   DotNetNuke.Services.Upgrade.Upgrade.UpgradeDNN(String strProviderPath, Version dataBaseVersion) +333
   DotNetNuke.Services.Install.Install.UpgradeApplication() in D:\Hosting\13052484\html\Main\Install\Install.aspx.vb:173
   DotNetNuke.Services.Install.Install.Page_Load(Object sender, EventArgs e) in D:\Hosting\13052484\html\Main\Install\Install.aspx.vb:363
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.4253; ASP.NET Version:2.0.50727.4252