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...Compilation Error 4.9.5 upgrade to 5.4.4Compilation Error 4.9.5 upgrade to 5.4.4
Previous
 
Next
New Post
2/1/2011 6:24 PM
 
Hello, I started the process today upgrading starting from 4.8.4. The upgrade to 4.9.5 was smooth. The upgrade from 4.9.5 to 5.4.4 was not. The following is the error I get:

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

This is on a very secure network within a government Intranet. Any suggestions?

regards,
Kris
 
New Post
2/1/2011 11:52 PM
 
That is a known 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 and Web.HttpContext in line 89 of the file \App_Code\XML\Handlers\download.vb by changing Web.HttpResponse to System.Web.HttpResponse and Web.HttpContext to System.Web.HttpContext. 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 from project's CodePlex downloads page at http://dnnxml.codeplex.com/releases . If you are not using the XML module you can then delete it from the Host-->Extensions page

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
2/2/2011 12:45 PM
 
Thank you for the response. To clarify, to do the upgrade from 4.9.5 to 5.4.4  in this situation I should do the following:
1. Either stop IIS or put up the app_offline.htm file to the site.
2. Unzip the upgrade files to a folder then copy all files to the DNN site.
3. Find the App_Code\XML\Handlers\download.vb file and change lines 34 and 89 to fully qualifying such as System.Web.HttpResponse etc.
4. Go to the site root in browser to start the upgrade process
5. Upgrade the XML module to version 04.03.05

Thanks for your help again.
Kris
 
New Post
2/2/2011 1:31 PM
 
That looks like a good plan. Don't forget to make backups of filesystem and database before upgrading.

Alternatively you could upgrade the Xml module before upgrading DotNetNuke. That would eliminate the need to manually modify the Xml download.vb file.

A couple of other modules to watch out for if you upgrade DotNetNuke past 5.04.04:

1. Gallery 4.03.00 is not compatible with ASP.Net 4.0 or DNN 5.05.00 or later. Upgrade first to new 4.03.03 release.
2. Events should be upgraded to latest version for DNN 5.05.00 or later.
3. Chat module has same issue as Xml module for DNN 5.03.00 and later. Although it may be manually modified to resolve the ambiguous namespace issue, there are other problems preventing its use in DNN 5.04.04 and later. No later version of Chat has been released.
4. If you currently have iFinity URL Master installed make sure that you upgrade to latest version prior to upgrade to 5.05.00 or later. If you once had it installed but later uninstalled it, a trigger that was enabled on the core Modules table was not properly removed and must be removed manually prior to upgrade to DNN 5.05.00 or later.

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
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Compilation Error 4.9.5 upgrade to 5.4.4Compilation Error 4.9.5 upgrade to 5.4.4


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