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
Compiler Warning Messages:
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
|
Show Detailed Compiler Output:
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)
~~~~~~~~~~~~~~~~~~~~~~~~