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...Upgrade to 5.4.1 compile errorUpgrade to 5.4.1 compile error
Previous
 
Next
New Post
4/29/2010 1:17 PM
 

I just upgraded my site to 5.4.1 using the upgrade package and when I browsed to my site I get this error:

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

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: D:\Inetpub\GREENDRAGONWEB.COM\App_Code\XML\Handlers\download.vb    Line: 34

 

Is there an easy fix for this or should I go about restoring the latest backup?


Bryan Johns
K4GDW

"There are 10 types of people. Those who understand binary and those who do not."
 
New Post
4/29/2010 1:26 PM
 

OK I fixed it.  There were 2 references to Web.HttpResponse which I changed to System.Web.HttpResponse.  Then, I got yet another compile error complaining about a missing End Namespace.  I scrolled to the end of the file and found a line that simply began with "E".  I made an educated guess that this was supposed to be the "End Namespace" and completed the line.  Now everything works.  How on earth did these errors make it into a release?

What's even stranger, this file wasn't even part of the upgrade package.  It already existed, yet, the site was working properly.  I can't help but wonder how long that download.vb file has been there with those errors.  Perhaps it was simply never actually referenced in code so the server never got around to trying to compile it until this upgrade?


Bryan Johns
K4GDW

"There are 10 types of people. Those who understand binary and those who do not."
 
New Post
4/29/2010 3:02 PM
 
The errors a namespacing one introduced as new libraries (Telerik.Web and DotNetNuke.Web) can mean ambiguous references to the system.web classes. The fixes that you've made are fine, but the correct approach is to upgrade xml before upgrading (http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2558/XML-XSL-Module-04-03-05-is-now-officially-released.aspx)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
4/29/2010 4:32 PM
 
cathal connolly wrote:
The errors a namespacing one introduced as new libraries (Telerik.Web and DotNetNuke.Web) can mean ambiguous references to the system.web classes. The fixes that you've made are fine, but the correct approach is to upgrade xml before upgrading (http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2558/XML-XSL-Module-04-03-05-is-now-officially-released.aspx)
 

I think I've found the root page for this module on Codeplex:

http://dnnxml.codeplex.com/

I've never upgraded a module, is it easy?

Cheers, Rob.

 
New Post
4/29/2010 4:37 PM
 
cathal connolly wrote:
The errors a namespacing one introduced as new libraries (Telerik.Web and DotNetNuke.Web) can mean ambiguous references to the system.web classes. The fixes that you've made are fine, but the correct approach is to upgrade xml before upgrading (http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2558/XML-XSL-Module-04-03-05-is-now-officially-released.aspx)
 

Forgot my idiot question before - VERY easy to upgrade from within DNN. Download the ZIP installation of the module and upload the ZIP directly in DNN.

Cheers, Rob.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade to 5.4.1 compile errorUpgrade to 5.4.1 compile error


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