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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem in upgrading 3.2.0 to 3.2.1Problem in upgrading 3.2.0 to 3.2.1
Previous
 
Next
New Post
1/19/2006 12:28 PM
 
I've looked around the forum a fair bit and haven't seen anyone with the same problem, so I'm posting it hoping to find a solution.

I have a site that was successfully upgraded to 3.2.0 and went to upgrade it to 3.2.1 after it was released.  I received no errors during the upgrade and can browse through the portal just fine.  The problem comes when I try to log in.  As soon as I click on the login link I am presented with the following:


An error has occurred.
An error has occurred.


An error has occurred.
An error has occurred.


I can type in a username and password (like host and its password) and I can log into the site, but pretty much every module on the page shows this error (or some very close version of it):

Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.Xml.XmlException: The data at the root level is invalid. Line 83, position 16. at System.Xml.XmlTextReader.ParseRoot() at System.Xml.XmlTextReader.Read() at System.Xml.XmlValidatingReader.ReadNoCollectTextToken() at System.Xml.XmlValidatingReader.Read() at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at DotNetNuke.UI.Utilities.ClientAPI.GetClientAPICapsDOM() at DotNetNuke.UI.Utilities.ClientAPI.BrowserSupportsFunctionality(ClientFunctionality eFunctionality) at DotNetNuke.UI.Utilities.DNNClientAPI.EnableContainerDragAndDrop(Control objTitle, Control objContainer, Int32 ModuleID) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

I'm relatively new to DNN and it's inner workings, but the above error suggests that there is a problem with parsing the skin for the portal.  That lead me to think I should change the skin back to one of the default skins shipped with DNN to see if the problem disappears.  The only problem is that when I go to ether the Hosts Settings or Site Settings the following two errors are all that is displayed on the page:

An error has occurred.
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 System.Web.UI.UserControl.get_Request() at DotNetNuke.Entities.Modules.PortalModuleBase.get_IsEditable() at DotNetNuke.UI.Containers.Title.CanEditModule() at DotNetNuke.UI.Containers.Title.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 
   
Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: The data at the root level is invalid. Line 83, position 16. ---> System.Xml.XmlException: The data at the root level is invalid. Line 83, position 16. at System.Xml.XmlTextReader.ParseRoot() at System.Xml.XmlTextReader.Read() at System.Xml.XmlValidatingReader.ReadNoCollectTextToken() at System.Xml.XmlValidatingReader.Read() at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at DotNetNuke.UI.Utilities.ClientAPI.GetClientAPICapsDOM() at DotNetNuke.UI.Utilities.ClientAPI.BrowserSupportsFunctionality(ClientFunctionality eFunctionality) at DotNetNuke.UI.Utilities.ClientAPI.get_ROW_DELIMITER() at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientVariable(Page objPage, String strVar, String strValue, Boolean blnOverwrite) at DotNetNuke.UI.Utilities.DNNClientAPI.set_MinMaxContentVisibile(Control objButton, Int32 intModuleId, Boolean blnDefaultMin, MinMaxPersistanceType ePersistanceType, Boolean Value) at DotNetNuke.UI.UserControls.SectionHeadControl.set_IsExpanded(Boolean Value) at _ASP.HostSettings_ascx.__BuildControldshPayment() at _ASP.HostSettings_ascx.__BuildControl__control9() at _ASP.HostSettings_ascx.__BuildControl__control7(HtmlTableCellCollection __ctrl) at _ASP.HostSettings_ascx.__BuildControl__control2(HtmlTableRowCollection __ctrl) at _ASP.HostSettings_ascx.__BuildControltblBasic() at _ASP.HostSettings_ascx.__BuildControlTree(Control __ctrl) at _ASP.HostSettings_ascx.FrameworkInitialize() at System.Web.UI.UserControl.InitializeAsUserControlInternal() at System.Web.UI.UserControl.InitializeAsUserControl(Page page) at System.Web.UI.TemplateControl.LoadControl(Type t) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

The top error appears to be for the Host Settings title bar and the second error appears to be for the rest of the module that would normally display the various settings.  If I knew more about the inner workings of DNN I would just make the appropriate changes to go back to one of the default skins to see if that would fix the problem.

I'm hoping someone has the expertise to troubleshoot what the issue is and come up with a solution that doesn't involve starting from scratch with the site.  The site has a fair bit of content loaded into it (it hadn't gone live yet thank goodness) and I don't want to have to try to reload everything manually all over again.

Thank you for assistance.
Raymond Weiler
out of sITe Soltuions
 
New Post
1/19/2006 4:21 PM
 

I don't think this is your problem but you might want to consider trying to upgrade to the latest version of DNN3.  3.2.2.  Make sure all the new files get written to the server.  I had that happen to me once where all the files were not copied over correctly.


Paul Davis
 
New Post
1/19/2006 4:32 PM
 

actually it looks more like a missing config file. Please ensure you have a ClientAPICaps.config file in the js directory.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/20/2006 8:19 PM
 
Thank you both for your comments.  The problem was indeed in the ClientAPICaps.config file.  Even the file did exist in the installation, there was an error in it at line 83 position 16 just like the error said.  Once I upgraded to DNN 3.2.2 the file was overwritten with a correct version and now everything works just fine.

I'm curious Cathal - was it the section of the error that reads
System.Xml.XmlDocument.Load(String filename) at
DotNetNuke.UI.Utilities.ClientAPI.GetClientAPICapsDOM() at

that told you which config file was the problem?  This is where I get baffled - trying to figure out which config file has the problem.  Once I figure that out I could at least see where the error is and try and correct it.  In this case I probably would have compared this non-working file with a working version on another site of the same version that is working.  Just wondering...

Raymond Weiler
out of sITe Solutions.
 
New Post
1/22/2006 8:06 PM
 

glad that's fixed your problem Raymond. As the error was being thrown during the reading of an xml file, it was always likely to be a missing/corrupted one of our configuration files, and the ClientAPI reference gave me the clue.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem in upgrading 3.2.0 to 3.2.1Problem in upgrading 3.2.0 to 3.2.1


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