Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Html module will not save in upgraded DNN7 SiteHtml module will not save in upgraded DNN7 Site
Previous
 
Next
New Post
1/17/2013 2:44 AM
 

I have a site that has been upgraded from DNN5 to DNN7 over a few years. Since I did the DNN7 upgrade the Html module will not save any changes. The event viewer shows the error below. I suspect this is a bug in the SqlDataProviders and should be able to fix by fishing the correct proc out of the scripts. However, it would be a good candidate for a maintenance release in the near future.

AssemblyVersion: 7.0.1

UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/20100101 Firefox/18.0

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID: a1774ff7-9eba-4015-9a8a-fc53bbe3f19f

InnerException: Procedure or function AddHtmlText has too many arguments specified.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Data.SqlClient.SqlConnection.

StackTrace:

Message: System.Data.SqlClient.SqlException (0x80131904): Procedure or function AddHtmlText has too many arguments specified. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection. (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.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at PetaPoco.Database.ExecuteScalar[T](String sql, Object[] args) at DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteScalar[T](String connectionString, CommandType type, String sql, Object[] args) at DotNetNuke.Data.SqlDataProvider.ExecuteScalar[T](String procedureName, Object[] commandParameters) at DotNetNuke.Modules.Html.Components.DataProvider.AddHtmlText(Int32 ModuleID, String Content, String Summary, Int32 StateID, Boolean IsPublished, Int32 CreatedByUserID, Int32 History) at DotNetNuke.Modules.Html.HtmlTextController.UpdateHtmlText(HtmlTextInfo htmlContent, Int32 MaximumVersionHistory) at DotNetNuke.Modules.Html.EditHtml.OnSaveClick(Object sender, EventArgs e)

Source:

Server Name: dwin25

 



Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
1/19/2013 9:46 AM
 

So I really need to repair the Html module. The version installed in the site is 5.6.1,  and I'd like to upgrade it to the version that is intended to run with DNN7.0.1. So I created an installation package for the module from a freshly built DNN7.0.1 site, and attempt to install it in the site that needs upgrading.

But the Install Wizard refuses to start with the message:

A critical error has occurred. Could not find file 'x:\path\xxxxx.com\Install\Temp\m32youir\license.txt'.

Please can anyone explain this message and how I work around this problem?Loo

I guess the error could be due to a problem with the way I created the installer. That being the case, where can I download the official Installer package for the Html 7.0.1 module?

Thanks



Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
1/19/2013 2:15 PM
 

The "official" HTML module package for DNN 7.0.1 would be found in any of the DNN 7.0.1 packages in the /Install/Module/ folder. It is named DNNCE_HTML_07.00.01.Install.zip.

Before re-attempting to manually install the HTML module package I would take a close look at the install and sql logs for version 06.00.01 as that was the last version prior to 7.00.01 in which there was an SQL modification. The error relating to mis-matched parameter count is due to a failure during installation of this module and may likely happen again unless it's root cause is first fixed.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/20/2013 7:07 AM
 

Perfect, thanks William.

I checked the logs and couldn't see any past upgrade errors. In the end I upgraded the whole site to 702. The error caused by the Html module has gone, and now I can see new versions of the content being created in the module content version history.

Unfortunately though, the changes I make in the editor are not saved. There are no related errors in the Event Log. I suspect another extension, probably the editor, has not been installed correctly in the previous upgrade and nor in the latest 702 upgrade either.

Can you suggest any modules on which the Html module depends which I should check?

Thanks,



Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
1/20/2013 8:37 AM
 

Ok, got it. The site still had the old FCK editor configured. When I switched it to the RadEditor, the module works OK now.

So is FCK obsolete in DNN7? Can I uninstall it?



Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Html module will not save in upgraded DNN7 SiteHtml module will not save in upgraded DNN7 Site


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out