When migrating from DNN 04.09.05 to 05.01.04 (3), HTML/TEXT module is not working
Error: Text/HTML is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter count does not match Parameter Value count. ---> System.ArgumentException: Parameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.HTML.SqlDataProvider.GetHtmlText(Int32 moduleId) at DotNetNuke.Modules.HTML.HtmlTextController.GetHtmlText(Int32 moduleId) at DotNetNuke.Modules.Html.HtmlModule.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
I tried to move DLL, manually delete the bin/DotNetNuke.Modules.Html.dll file also deleted App_Code HTML folder and Desktop Module HTML folder
the reinstalled HTML_Community_05.01.04_Install.zip module package but SQL execution results in exceptions
Install Extension
Package Installation Report
See below for the results of the package installation
Error loading files from temporary folder - see below
StartJob Starting Installation
Info Starting Installation - DNN_HTML
Info Starting Installation - Script
Info Begin Sql execution
Info Creating backup of previous version - Providers\DataProviders\SqlDataProvider\05.01.00.SqlDataProvider
Info Created - Providers\DataProviders\SqlDataProvider\05.01.00.SqlDataProvider
Info Executing 05.01.00.SqlDataProvider
Info Start Sql execution: 05.01.00.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Invalid column name 'DesktopHtml'. Invalid column name 'CreatedByUser'. Invalid column name 'CreatedDate'. Invalid column name 'CreatedByUser'. Invalid column name 'CreatedDate'. 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(TdsParserStateObject stateObj) 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 DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) IF NOT EXISTS (select * from dbo.sysobjects where id = object_id(N'dbo.HtmlTextLog') and OBJECTPROPERTY(id, N'IsTable') = 1) BEGIN update dbo.HtmlText set Content = DesktopHtml, Version = 1, IsPublished = 1, CreatedByUserID = CreatedByUser, CreatedOnDate = CreatedDate, LastModifiedByUserID = CreatedByUser, LastModifiedOnDate = CreatedDate ALTER TABLE dbo.HtmlText DROP COLUMN DesktopHtml, DesktopSummary, CreatedByUser, CreatedDate CREATE TABLE dbo.HtmlTextLog ( HtmlTextLogID int NOT NULL IDENTITY (1, 1), ItemID int NOT NULL, StateID int NOT NULL, Comment nvarchar(4000), Approved bit NOT NULL, CreatedByUserID int NOT NULL, CreatedOnDate datetime NOT NULL ) ON [PRIMARY] ALTER TABLE dbo.HtmlTextLog ADD CONSTRAINT PK_HtmlTextLog PRIMARY KEY CLUSTERED ( HtmlTextLogID ) ON [PRIMARY] CREATE TABLE dbo.HtmlTextUsers ( HtmlTextUserID int NOT NULL IDENTITY (1, 1), ItemID int NOT NULL, StateID int NOT NULL, ModuleID int NOT NULL, TabID int NOT NULL, UserID int NOT NULL, CreatedOnDate datetime NOT NULL ) ON [PRIMARY] ALTER TABLE dbo.HtmlTextUsers ADD CONSTRAINT PK_HtmlTextUsers PRIMARY KEY CLUSTERED ( HtmlTextUserID ) ON [PRIMARY] ALTER TABLE dbo.HtmlText WITH NOCHECK ADD CONSTRAINT FK_HtmlText_WorkflowStates FOREIGN KEY ( StateID ) REFERENCES dbo.WorkflowStates ( StateID ) ON UPDATE NO ACTION ON DELETE NO ACTION NOT FOR REPLICATION ALTER TABLE dbo.HtmlTextLog WITH NOCHECK ADD CONSTRAINT FK_HtmlTextLog_HtmlText FOREIGN KEY ( ItemID ) REFERENCES dbo.HtmlText ( ItemID ) ON UPDATE NO ACTION ON DELETE CASCADE NOT FOR REPLICATION ALTER TABLE dbo.HtmlTextLog WITH NOCHECK ADD CONSTRAINT FK_HtmlTextLog_WorkflowStates FOREIGN KEY ( StateID ) REFERENCES dbo.WorkflowStates ( StateID ) ON UPDATE NO ACTION ON DELETE NO ACTION NOT FOR REPLICATION ALTER TABLE dbo.HtmlTextUsers WITH NOCHECK ADD CONSTRAINT FK_HtmlTextUsers_HtmlText FOREIGN KEY ( ItemID ) REFERENCES dbo.HtmlText ( ItemID ) ON UPDATE NO ACTION ON DELETE CASCADE NOT FOR REPLICATION END
Info End Sql execution: 05.01.00.SqlDataProvider file
Info Finished Sql execution
Failure Installation Failed - Script
Info Installation Failed - DNN_HTML
Info Deleted temporary install folder
EndJob Installation Failed
Can anyone help me with the process to steps involved in migrating DNN from 04.09.05 tp 05.01.04?
Cheers