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...Problems after upgrading from 5.1 to 5.6Problems after upgrading from 5.1 to 5.6
Previous
 
Next
New Post
1/16/2011 8:37 PM
 
I run in a hosted environment, so I don't have access to any log files at the server level.  Here are the steps I went through:
1. Downloaded the Community edition of DNN 5.6 upgrade.
2. Unzipped it to local folders.
3. Created a default.htm (which informs visitors the site is being upgraded.
4. Backed up the wwwroot folder using FTP
5. Made a copy of the web.config to the unzipped folder (there was none there prior to this.)
6. Edited the new web.config and changes Autoupgrade to 'False'
7. Copied all the unzipped folders for 5.6
8. Deleted the default.htm
9. Went to my website with: http://www.mysite.com/install/install.aspx?mode=upgrade

.I have tried several time (with a restore between.)  Once I did not copy a new web.config - so Autoupgrade was set to 'True'.

Each time - I got the error:

Server Error in '/' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then .......

 
New Post
1/16/2011 9:17 PM
 
Your method of upgrading "should" work. I would, however, have added a step 4A to create a backup of the live site's database. The server error could have many causes. Let's temporarily modify web.config as follows and re-upload it to the server:

Find the tag <customErrors . . . /> in web.config and change the mode attribute to:

mode="Off"

Note that the value is case-sensitive - capital "O" and lower case "ff".

After re-uploading the modified web.config, try re-visiting the same upgrade URL as in your step #9. The underlying error should now be shown in detail. Please post the entire error as a reply to this forum thread. Note: if the error includes and sensitive connection string information such as database server address, username and password, please replace those values with "xxxx" before posting.

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
1/16/2011 10:38 PM
 

Here is the output for the 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:\WebRoot\Domains\zzybeezzybee.com\wwwroot\App_Code\XML\Handlers\download.vb    Line: 34


Warning: BC40000: 'Public Property Email() As String' is obsolete: 'Deprecated in DNN 5.1'.
Source Error:

D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\IFrame\Domain\IFrameParameter.vb
Line 297: 
Line 298: Case IFrameParameterType.UserEmail
Line 299: Return objUser.Membership.Email
Line 300:
Line 301: Case IFrameParameterType.UserWebsite

Warning: BC40000: 'Public Shared Function GetModuleSettings(ModuleId As Integer) As System.Collections.Hashtable' is obsolete: 'Deprecated in DNN 5.0. Please use ModuleController.GetModuleSettings(ModuleId)'.
Source Error:

D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\XML\Components\ControllerBase.vb
Line 37: Return _moduleSettings 
Line 38: Else
Line 39: Return PortalSettings.GetModuleSettings(ModuleID)
Line 40: End If
Line 41:

Warning: BC40000: 'Public Shared Function GetModuleSettings(ModuleId As Integer) As System.Collections.Hashtable' is obsolete: 'Deprecated in DNN 5.0. Please use ModuleController.GetModuleSettings(ModuleId)'.
Source Error:

D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\XML\Handlers\download.vb
Line 73: userInfo = UserController.GetCurrentUserInfo() 
Line 74: Line
75: Dim settings As Hashtable = portalSettings.GetModuleSettings(ModuleId)
Line 76: Dim moduleInfo As Entities.Modules.ModuleInfo = New Entities.Modules.ModuleController().GetModule(ModuleId, TabId)
Line 77:

Warning: BC40000: 'Public ReadOnly Property AuthorizedViewRoles() As String' is obsolete: 'Deprecated in DNN 5.1. All permission checks are done through Permission Collections'.
Source Error:

D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\XML\Handlers\download.vb
Line 76: Dim moduleInfo As Entities.Modules.ModuleInfo = New Entities.Modules.ModuleController().GetModule(ModuleId, TabId) 
Line 77: Line
78: If PortalSecurity.IsInRoles(moduleInfo.AuthorizedViewRoles) OrElse PortalSecurity.IsInRoles(portalSettings.AdministratorRoleName) OrElse (Not (userInfo Is Nothing) AndAlso userInfo.IsSuperUser) Then
Line 79: RenderToResponseStream(context.Response, New XmlController(moduleInfo))
Line 80: End If

Warning: BC40000: 'Public Property Email() As String' is obsolete: 'Deprecated in DNN 5.1'.
Source Error:

D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\XML\Parameters\ParameterInfo.vb
Line 345: 
Line 346: Case ParameterType.UserEmail
Line 347: Return CStrN(objUser.Membership.Email, TypeArgument)
Line 348:
Line 349: Case ParameterType.UserWebsite



Microsoft (R) Visual Basic Compiler version 9.0.30729.1
Copyright (c) Microsoft Corporation.  All rights reserved.

D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\IFrame\Domain\IFrameParameter.vb(299) : warning BC40000: 'Public Property Email() As String' is obsolete: 'Deprecated in DNN 5.1'.

                            Return objUser.Membership.Email
                                   ~~~~~~~~~~~~~~~~~~~~~~~~
D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\XML\Components\ControllerBase.vb(39) : warning BC40000: 'Public Shared Function GetModuleSettings(ModuleId As Integer) As System.Collections.Hashtable' is obsolete: 'Deprecated in DNN 5.0.  Please use ModuleController.GetModuleSettings(ModuleId)'.

                    Return PortalSettings.GetModuleSettings(ModuleID)
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         
D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\XML\Handlers\download.vb(34) : error BC30002: Type 'Web.HttpResponse' is not defined.

        Private Sub RenderToResponseStream(ByVal Response As Web.HttpResponse, ByVal controller As XmlController)
                                                             ~~~~~~~~~~~~~~~~                                   
D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\XML\Handlers\download.vb(75) : warning BC40000: 'Public Shared Function GetModuleSettings(ModuleId As Integer) As System.Collections.Hashtable' is obsolete: 'Deprecated in DNN 5.0.  Please use ModuleController.GetModuleSettings(ModuleId)'.

                Dim settings As Hashtable = portalSettings.GetModuleSettings(ModuleId)
                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         
D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\XML\Handlers\download.vb(78) : warning BC40000: 'Public ReadOnly Property AuthorizedViewRoles() As String' is obsolete: 'Deprecated in DNN 5.1. All permission checks are done through Permission Collections'.

                If PortalSecurity.IsInRoles(moduleInfo.AuthorizedViewRoles) OrElse PortalSecurity.IsInRoles(portalSettings.AdministratorRoleName) OrElse (Not (userInfo Is Nothing) AndAlso userInfo.IsSuperUser) Then
                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                           
D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\XML\Handlers\download.vb(89) : error BC30002: Type 'Web.HttpContext' is not defined.

        Private Sub handleAuthenticateRequest(ByVal context As Web.HttpContext)
                                                               ~~~~~~~~~~~~~~~
D:\WebRoot\Domains\sbb.com\wwwroot\App_Code\XML\Parameters\ParameterInfo.vb(347) : warning BC40000: 'Public Property Email() As String' is obsolete: 'Deprecated in DNN 5.1'.

                            Return CStrN(objUser.Membership.Email, TypeArgument)
                                         ~~~~~~~~~~~~~~~~~~~~~~~~               
 
 
New Post
1/17/2011 7:41 AM
Accepted Answer 
You can safely ignore the "warnings" which are related to methods marked as obsolete. There are, however, two errors both of which are caused by 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 lines 34 and 89 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..06.00 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

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
1/17/2011 10:45 PM
 

Thanks for all the help Bill.  Unfortunately, we needed the website up this morning at 8 so I restored the backup.  So our site is back to version 5.2.1.
This Friday, I plan to perform another backup and re-download the 5.6.0 upgrade.  Install it as I did before and if I encounter the same error, I'll try adding the full reference you described.

Thanks again.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Problems after upgrading from 5.1 to 5.6Problems after upgrading from 5.1 to 5.6


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