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 ...Error upgrading from 5.2.2 to 5.3.0Error upgrading from 5.2.2 to 5.3.0
Previous
 
Next
New Post
3/17/2010 7:06 PM
 

I was going to upgrade from 5.2.2 to 5.2.3 but the 5.3.0 upgrade was there.
As suggested, I uninstalled the XML module.

Then I got these errors:
D:\websites\dnnoasis\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:\websites\dnnoasis\App_Code\Reports\ReportsControlBase.vb(82) : warning BC42022: Property without an 'As' clause; type of Object assumed.
 
        Protected MustOverride ReadOnly Property ASCXFileName()
                                                 ~~~~~~~~~~~~ 
D:\websites\dnnoasis\App_Code\Reports\ReportsController.vb(577) : warning BC40000: 'Public Shared Function GetUser(portalId As Integer, userId As Integer, isHydrated As Boolean) As Entities.Users.UserInfo' is obsolete: 'Deprecated in DNN 5.1. Not needed any longer for due to autohydration'.
 
            Dim objUser As UserInfo = UserController.GetUser(-1, UserId, False)
                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:\websites\dnnoasis\App_Code\Reports\VisualizerControlBase.vb(93) : warning BC40000: 'Public ReadOnly Property CacheKey() As String' is obsolete: 'This property is deprecated. Please use ModuleController.CacheKey(TabModuleID)'.
 
                ReportResults = ReportsController.ExecuteReport(Report, Me.ParentModule.CacheKey, False, ReportsController.BuildParameters(Me.ParentModule))
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~                                                           
D:\websites\dnnoasis\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:\websites\dnnoasis\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:\websites\dnnoasis\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:\websites\dnnoasis\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:\websites\dnnoasis\App_Code\XML\Handlers\download.vb(89) : error BC30002: Type 'Web.HttpContext' is not defined.
 
        Private Sub handleAuthenticateRequest(ByVal context As Web.HttpContext)
                                                               ~~~~~~~~~~~~~~~
D:\websites\dnnoasis\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)
 
I reverted back to 5.2.2
 
New Post
3/18/2010 6:38 AM
 
there seems to be compiler warnings being turned on in your web.config. make sure it is turned off (compare with release.config)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/18/2010 9:29 AM
 

As Sebastian indicated, it appears that the option of show compiler warnings as errors has gotten turned on. However while all of the warnings can be ignored, there are two fatal errors occuring:

D:\websites\dnnoasis\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:\websites\dnnoasis\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)
 
Both errors relate to a know issue with the XML module. You indicated that you had uninstalled the XML module but it appears that there is still code from this module in the site's App_Code folder. If you are not using the XML module on your site, and you have uninstalled it using the Host-->Module Definitions or Host-->Extensions, you can safely delete the App_Code\XML folder. You may also find the following node in your web.config:
 
<codeSubDirectories>
        <add directoryName="XML" />
</codeSubDirectories>

If <add directoryName="XML" /> is the only "add" child node, you may remove the entire <codeSubDirectories> . . . </codeSubDirectories> node. If there are other "add" lines, remove only the one for the XML sub directory.

If you are using the XML module on your site, there is a temporary work around posted in this thread:

http://www.dotnetnuke.com/Community/F...


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
3/18/2010 12:49 PM
 

You're right the AppCode/XML directory is still there. There were 3 links on error page and more data.

Files\root\5e1bbc09\7d7263cd\assembly\dl3\4cde9308\1211adbd_6248ca01\BizModules.UltraPhotoGallery.SqlDataProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET

Does this mean I need XML? Photo Gallery appears to work but have not tested adding new pictures, etc.

 
New Post
3/18/2010 3:21 PM
 

The App_Code/XML folder and corresponding codeSubDirectories node in web.config should only affect the DNN XML module. I'm not sure where you saw the 3 links you mentioned but those appear to be referencing the System.Xml.dll in the Global Assembly Cache which has nothing to do with the App_Code/XML error.


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
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error upgrading from 5.2.2 to 5.3.0Error upgrading from 5.2.2 to 5.3.0


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