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 ...Upgrade from 4.8.0 to 4.9.0 repeat issue - upgrade failsUpgrade from 4.8.0 to 4.9.0 repeat issue - upgrade fails
Previous
 
Next
New Post
11/20/2008 9:32 AM
 

System Information:

Windows 2003 Server

MS-SQL Server Workgroup Edition (v8.00.818 - SP3)

ASP.NET v1.0.3705

ASP.NET v1.1.4322

ASP.NET v2.0.50727

 

Details:

I have followed every document I can find regarding this upgrade and what steps I have to go through to make it work.  I've uninstalled modules, uninstalled skins and gone back to defaults on both, I've tried both the web.config merge as well as physically making all the adjustments by hand.  I've set File Permissions and Folder Permissions.  I've verified my worker process access.  My database is up to date and functional.  Currently, I have a 4.8.0 install in a production environment that has run for almost a year without problems.  But when I try to upgrade to 4.9.0 it dies every time in the same place.  Doing incremental updates also fails beginning with the very first one: 4.8.0 ---> 4.8.1 - error is in same area - I give up at this point.  I want to post the security updates and get on the final stable release before 5.0 -- it will be some time before I can dedicate the resources to moving over to the 5.0 software --

At this point, I NEED HELP.  The installer dies at the "ResourceInstaller.Install(True,0)" method.  The database upgrades are complete -- those show no errors, but immediately after the DB upgrades, the installer dies with the following error:


Upgrading DotNetNuke
Current Assembly Version: 04.09.00
Current Database Version: 04.08.00


Upgrade Status Report
00:00:00.015 - Upgrading to Version: 4.9.0
00:00:00.062 -   Executing Script: 04.08.01.SqlDataProvider Success
00:00:00.484 -   Executing Script: 04.08.02.SqlDataProvider Success
00:00:00.703 -   Executing Script: 04.08.03.SqlDataProvider Success
00:00:00.718 -   Executing Script: 04.08.04.SqlDataProvider Success
00:00:00.765 -   Executing Script: 04.09.00.SqlDataProvider Success
00:00:00.921 - Performing General Upgrades

 
Server Error in '/' Application.
Data at the root level is invalid. Line 1, position 1.
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.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.

Source Error:

     Line 174:
     Line 175:                        'Install Resources
---> Line 176:                        ResourceInstaller.Install(True, 0)            <--- OFFENDING LINE
     Line 177:
     Line 178:                        Response.Write("<h2>Upgrade Complete</h2>")


Source File: c:\domains\rideguy.com\wwwroot\portal\install\Install.aspx.vb    Line: 176

Stack Trace:

[XmlException: Data at the root level is invalid. Line 1, position 1.]
   System.Xml.XmlTextReaderImpl.Throw(Exception e) +90
   System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +127
   System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() +1953906
   System.Xml.XmlTextReaderImpl.ParseDocumentContent() +503
   System.Xml.XmlTextReaderImpl.Read() +41
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +145
   System.Xml.XmlDocument.Load(XmlReader reader) +96
   System.Xml.XmlDocument.Load(String filename) +160
   DotNetNuke.Modules.Admin.ResourceInstaller.ResourceInstaller.InstallPortal(String strFile, Boolean writeFeedback, Int32 indent) +291
   DotNetNuke.Modules.Admin.ResourceInstaller.ResourceInstaller.Install(Boolean writeFeedback, Int32 indent, String type) +961
   DotNetNuke.Modules.Admin.ResourceInstaller.ResourceInstaller.Install(Boolean writeFeedback, Int32 indent) +17
   DotNetNuke.Services.Install.Install.UpgradeApplication() in c:\domains\rideguy.com\wwwroot\portal\install\Install.aspx.vb:176
   DotNetNuke.Services.Install.Install.Page_Load(Object sender, EventArgs e) in c:\domains\rideguy.com\wwwroot\portal\install\Install.aspx.vb:348
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

I can't find anything in any logs anywhere - IIS logs show nothing but the call to install.aspx -- SQLDataProvider logs are EMPTY (assuming this means no errors in that stage) and I can't find any other logfiles to dig through...


.: secret.squirrel :.
http://portal.rideguy.com
 
New Post
11/20/2008 1:00 PM
 

Does the site run correctly after this?

Check to make sure you don't have any stray ZIP files in the install folder, there are a few other folders in there, such as Module, if there's a ZIP file in one of those folders DNN will try to install/upgrade that module, if they are .resource files they will not be installed during the upgrade process.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
11/20/2008 1:51 PM
 

Chris Hammond wrote

Does the site run correctly after this?

Check to make sure you don't have any stray ZIP files in the install folder, there are a few other folders in there, such as Module, if there's a ZIP file in one of those folders DNN will try to install/upgrade that module, if they are .resource files they will not be installed during the upgrade process.

 

Wanted to update, and when I logged in, I saw you had posted a reply!

Ok - before, when I ran the upgrade, the site would run, and the core version showed it had been updated, and didn't appear to be any issues but I didn't want to chance having rollback problems once I figured out what the problem was (I like things to run all the way through on something like this or there's bound to be issues later)... So everytime the upgrade would fail, I'd just roll back immediately to the same backup set and start over, etc...

When I sat and thought about the error I remembered reading somewhere else about deleting files within the modules and packages folders under /install -- this did the trick. I was headed back to post the results and your suggestion matched them.  Upgrade finally successful and am manually updating the modules now -- everything going smooth and thank you very much for your help --

 

 


.: secret.squirrel :.
http://portal.rideguy.com
 
New Post
11/20/2008 5:50 PM
 

It's always nice when you figure it out on your own, easier to remember later :)


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
11/20/2008 6:44 PM
 

aye, thanks again!


.: secret.squirrel :.
http://portal.rideguy.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade from 4.8.0 to 4.9.0 repeat issue - upgrade failsUpgrade from 4.8.0 to 4.9.0 repeat issue - upgrade fails


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