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...Re: Trouble after upgrading from 5.4.4 to 5.6.0Re: Trouble after upgrading from 5.4.4 to 5.6.0
Previous
 
Next
New Post
12/2/2010 11:34 PM
 
I am basically getting the exact same error.

I upgraded from 5.04.04 to 5.06.00.  I used the upgrade package.  The upgrade completed with no errors. 

I am running one instance of DotNetNuke that houses four parent portals.  Everything seems to be working fine with the portals, exept that I am getting this error on three of them.

After upgrade, I enabled content localization at the hosting level.  For one of the sites (we'll call it Site A), I went to Languages and added another language (Japanese).  I then enabled localized content.  I then spent a day or so testing that site and my ability to edit content in both English and Japanese.  Absolutely no problems.

Today, I went to my other sites to give them a test, and ran into this error any time I try to edit an HTML module on certain pages.  The Japanese language is disabled on all three of these sites.  I have not done any changes at all to those sites since the upgrade.

So far, I have not found anything different between the HTML Modules that can be edited on those three sites, and the ones that cannot.  Any ideas?

ModuleId: 1010
ModuleDefId: 116
FriendlyName:
ModuleControlSource: DesktopModules/HTML/EditHTML.ascx
AssemblyVersion: 5.6.0
PortalID: 5
PortalName: Home | CUI Inc Electronic Components Supplier for OEM Manufacturers
UserID: 1
UserName: tking
ActiveTabID: 373
ActiveTabName: V-Infinity Power
RawURL: /Products/V-Infinity-Power/ctl/Edit/mid/1010
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://cstaging.cui.com/Products/V-Infinity-Power
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2; .NET4.0C; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ccdfb408-69a5-4bb7-a025-b4130b5e8d14
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.HtmlPro.EditHtml.grdVersions_ItemDataBound
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.HtmlPro.EditHtml.grdVersions_ItemDataBound(Object sender, GridItemEventArgs e) at Telerik.Web.UI.GridItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows) at Telerik.Web.UI.GridItemBuilder.InitializeItem(Int32 dataSourceIndex, String& nextItemHierarchicalIndex, Boolean& itemIsInEditMode) at Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group) at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at Telerik.Web.UI.GridTableView.PerformSelect() at Telerik.Web.UI.GridTableView.DataBind() at DotNetNuke.Modules.HtmlPro.EditHtml.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 
 
New Post
12/5/2010 9:23 PM
 

I've figured out why this is happening on my site. 

This problem was self inflicted.  I deleted users from the database via the back end, and left some orphaned data because I deleted users who had added modules to pages.  If the module was added by a user I deleted, the above error would come up.

The particular table/field generating the error is HtmlText.CreatedByUserID.  If the value in this field does not have a corresponding value in the Users table, the above error occurs for me. 

I just tested deleting (via the UI) a user who had created a module.  This does not cause the above error since the user is not deleted from the users table during the delete process. 

Because I have database backups and a copy of the script I ran, I was able to recover, hopefully with no further side effects, but that's the chance we take any time when we do these things.

 
New Post
12/6/2010 4:24 AM
 
that's always a problem with upgrades, if data does not adhere to the integrity assumptions. Did you manually delete users in a DNN 5 installation or prior to the upgrade?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/12/2011 11:27 AM
 
Hi Sebastian and Teresa,

I am getting this error after upgrading from 4.9.5 to 5.6. It is only on certain text/html modules. I had deleted all the users from this site through DNN admin when it was still in 4.9.5. So the ones I originally created and was last to edit when logged in with admin account are fine - ones from deleted users throw the error.

What can I do so that content can be edited again? Besides copying it, then recreating module and pasting it back in?

thanks, Will Sugg, Planet Maine

Here is error when I try to edit content of a module I was not the last one to touch:

Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Html.EditHtml.grdVersions_ItemDataBound(Object sender, GridItemEventArgs e) at Telerik.Web.UI.RadGrid.OnItemDataBound(GridItemEventArgs e) at Telerik.Web.UI.GridItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows) at Telerik.Web.UI.GridItemBuilder.InitializeItem(Int32 dataSourceIndex, String& nextItemHierarchicalIndex, Boolean& itemIsInEditMode) at Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group) at Telerik.Web.UI.GridTableView.CreateItems(IEnumerator enumerator, GridColumn[] columns, ControlCollection controls) at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at Telerik.Web.UI.GridTableView.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at Telerik.Web.UI.GridTableView.DataBind() at Telerik.Web.UI.RadGrid.DataBind() at DotNetNuke.Modules.Html.EditHtml.DisplayVersions() at DotNetNuke.Modules.Html.EditHtml.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
 
New Post
1/16/2011 4:29 PM
 
Any help on this would be appreciated. The site I upgraded with this issue was a small site but I have a site with upwards of 25 users and nearly 2,000 pages that if this happened from upgrade there it would be a catastrophe of folkloric proportions. thanks, Will
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Re: Trouble after upgrading from 5.4.4 to 5.6.0Re: Trouble after upgrading from 5.4.4 to 5.6.0


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