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... 4.9.5 to 5.5.1 upgrade issues Server Error in Application 4.9.5 to 5.5.1 upgrade issues Server Error in Application
Previous
 
Next
New Post
12/7/2010 10:24 AM
 
Trying to upgrade from 4.9.5 to 5.5.1 on a hosted enviroment.

I'm following the "Suggested upgrade Path" described in the dotnetnuke wiki. (started upgrading from version 4.9.2 up to 4.9.6 and everything went fine) .
When adding version 5.5.1 and accessing /Install/Install.aspx?mode=upgrade i get a "Runtime Error"

Server Error in '/' Application.

Compiler Error Message:
BC30002: Type 'Web.HttpResponse' is not defined.

Source Error:

Line 32: Implements System.Web.IHttpHandler Line 33: Line 34: Private Sub RenderToResponseStream(ByVal Response As Web.HttpResponse, ByVal controller As XmlController) Line 35: ' save script timeout Line 36: Dim scriptTimeOut As Integer = HttpContext.Current.Server.ScriptTimeout

Source File: ....\App_Code\XML\Handlers\download.vb    Line: 34


The server is running ASP.NET 3.5 in classic mode.
The database is a MSSQL 2008 (I don't have any way to access the database)

There is no change to <system.codedom /><compilers /> section of web.config that indicate change to ASP.NET 3.5.
Do I change the web.config manually to make it run or do I rollback to 4.9.5?

The following files exist in the sqldataprovider folder:
InstallCommon.sql, InstallMembership.sql, InstallProfile.sql, InstallRoles.sql
 
New Post
12/7/2010 12:17 PM
 
That is a know issue with earlier versions of the XML module when installed on DotNetNuke versions 5.03.00 and later. You should be able to get the site to open without error by fully qualifying the reference to Web.HttpResponse in line 34 of the file \App_Code\XML\Handlers\download.vb by changing Web.HttpResponse to System.Web.HttpResponse. Another alternative is to manually delete all the files in the folder \App_Code\XML. If you site is still using the XML module, you will then need to upgrade it to the latest release 04.03.05 which is available in the 5.05.01 upgrade package and may be installed by navigating to Host-->Extensions, selecting the action command "Install Available Extensions" and then selecting the XML module 4.03.05 to install. If you are not using the XML module you can delete it from the Host-->Extensions page.

I'm not sure if this error blocked the automatic modifications made to web.config when ASP.Net 3.5 was detected or if running in a classic mode AppPool rather than integrated pipeline AppPool might have blocked the modifications. I would try restarting the site after you have corrected the XML module error to see if the changes then be made. If not, you could take a look at the XmlMerge script that makes those changes to recreate them automatically. It is found at \Install\Config\Net35.config. DotNetNuke 5.06.00 added a feature to the host menu - Configuration Manager - which can process config scripts for you - but that won't help as you are at 5.05.01.

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
12/7/2010 5:23 PM
 
YES - Thanks, that did the trick.

Needed to change to lines (34 and 89) and the upgrade ran without any problems !
 
New Post
1/14/2011 11:20 AM
 
Niels wrote:
YES - Thanks, that did the trick.

Needed to change to lines (34 and 89) and the upgrade ran without any problems !

To be more specific. If someone else should run into this problem you would perform the following changes:

  • "Web.HttpResponse" to "System.Web.HttpResponse" at line 34
  • "Web.HttpContext" to "System.Web.HttpContext" at line 89
The same thing happened to me when upgrading from 04.09.00 to 05.05.01. The upgrade continued normally except for the following errors during the process:

00:00:53.462 -   Installing Package File HTML_Community_05.01.03_Install:  Error!
00:00:54.508 -   Installing Package File HTML_Community_05.01.04_Install:  Error!
00:00:55.350 -   Installing Package File HTML_Community_05.02.00_Install:  Error!
00:00:56.146 -   Installing Package File HTML_Community_05.04.03_Install:  Error!

I'm currently working on it. I don't know if it's related or not.


Bienvenido Cancel
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P... 4.9.5 to 5.5.1 upgrade issues Server Error in Application 4.9.5 to 5.5.1 upgrade issues Server Error in Application


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