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 due to corrupt upload - need guidanceError due to corrupt upload - need guidance
Previous
 
Next
New Post
10/27/2007 7:45 PM
 

Hi,

After upgrading to 4.6.2, I'm receiving the following code at the top of the page (after logging in). I'm pretty certain it's due to a file that has corrupted on the way up. When uploading hundreds of files, there are always a handful that get currupt. Anyway, can you tell which file it may be from the following code?

Thanks

Drew

 

' ' DotNetNuke� - http://www.dotnetnuke.com ' Copyright (c) 2002-2007 ' by DotNetNuke Corporation ' ' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ' documentation files (the "Software"), to deal in the Software without restriction, including without limitation ' the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and ' to permit persons to whom the Software is furnished to do so, subject to the following conditions: ' ' The above copyright notice and this permission notice shall be included in all copies or substantial portions ' of the Software. ' ' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED ' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF ' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ' DEALINGS IN THE SOFTWARE. ' Imports DotNetNuke.Entities.Modules Imports DotNetNuke.Entities.Modules.Definitions Namespace DotNetNuke.UI.ControlPanels ''' ----------------------------------------------------------------------------- '''

''' The Classic ControlPanel provides athe Classic Page/Module manager ''' ''' ''' ''' ''' [cnurse] 10/06/2004 Updated to reflect design changes for Help, 508 support ''' and localisation ''' ''' ----------------------------------------------------------------------------- Partial Class Classic Inherits ControlPanelBase #Region "Event Handlers" ''' ----------------------------------------------------------------------------- ''' ''' Page_Load runs when the control is loaded. ''' ''' ''' ''' ''' [cnurse] 10/06/2004 Updated to reflect design changes for Help, 508 support ''' and localisation ''' ''' ----------------------------------------------------------------------------- Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try If Not Page.IsPostBack Then 'Localization lblAdmin.Text = Localization.GetString("Admin", Me.LocalResourceFile) cmdAddTab.Text = Localization.GetString("AddTab", Me.LocalResourceFile) cmdAddTab.ToolTip = Localization.GetString("AddTab.ToolTip", Me.LocalResourceFile) cmdEditTab.Text = Localization.GetString("EditTab", Me.LocalResourceFile) cmdEditTab.ToolTip = Localization.GetString("EditTab.ToolTip", Me.LocalResourceFile) cmdCopyTab.Text = Localization.GetString("CopyTab", Me.LocalResourceFile) cmdCopyTab.ToolTip = Localization.GetString("CopyTab.ToolTip", Me.LocalResourceFile) cmdHelpShow.AlternateText = Localization.GetString("ShowHelp.AlternateText", Me.LocalResourceFile) cmdHelpHide.AlternateText = Localization.GetString("HideHelp.AlternateText", Me.LocalResourceFile) lblModule.Text = Localization.GetString("Module", Me.LocalResourceFile) lblPane.Text = Localization.GetString("Pane", Me.LocalResourceFile) lblAlign.Text = Localization.GetString("Align", Me.LocalResourceFile) cmdAdd.Text = Localization.GetString("AddModule", Me.LocalResourceFile) cmdAdd.ToolTip = Localization.GetString("AddModule.ToolTip", Me.LocalResourceFile) chkContent.Text = Localization.GetString("Content.Text", Me.LocalResourceFile) chkPreview.Text = Localization.GetString("Preview.Text", Me.LocalResourceFile) chkContent.ToolTip = Localization.GetString("Content.ToolTip", Me.LocalResourceFile) chkPreview.ToolTip = Localization.GetString("Preview.ToolTip", Me.LocalResourceFile) cmdAddTab.NavigateUrl = NavigateURL("Tab") If Not PortalSettings.ActiveTab.IsAdminTab Then cmdEditTab.NavigateUrl = NavigateURL(PortalSettings.ActiveTab.TabID, "Tab", "action=edit") cmdCopyTab.NavigateUrl = NavigateURL(PortalSettings.ActiveTab.TabID, "Tab", "action=copy") Else cmdEditTab.Visible = False cmdCopyTab.Visible = False End If cmdHelpShow.Visible = False cmdHelpHide.Visible = False Dim objDesktopModules As New DesktopModuleController cboDesktopModules.DataSource = objDesktopModules.GetDesktopModulesByPortal(PortalSettings.PortalId) cboDesktopModules.DataBind() Dim intItem As Integer For intItem = 0 To PortalSettings.ActiveTab.Panes.Count - 1 cboPanes.Items.Add(Convert.ToString(PortalSettings.ActiveTab.Panes(intItem))) Next intItem cboPanes.Items.FindByValue(glbDefaultPane).Selected = True If cboAlign.Items.Count > 0 Then cboAlign.SelectedIndex = 0 End If chkContent.Checked = ShowContent chkPreview.Checked = IsPreview If (PortalSecurity.IsInRole(PortalSettings.AdministratorRoleName.ToString) = False And PortalSecurity.IsInRoles(PortalSettings.ActiveTab.AdministratorRoles.ToString) = False) Then tblIconBarModule.Visible = False tblIconBarTab.Visible = False lblDescription.Visible = False End If End If Catch exc As Exception 'Module failed to load ProcessModuleLoadException(Me, exc) End Try End Sub ''' ----------------------------------------------------------------------------- ''' ''' cmdAdd_Click runs when the Add Button is clicked ''' ''' ''' ''' ''' [cnurse] 10/06/2004 Updated to reflect design changes for Help, 508 support ''' and localisation ''' [vmasanas] 01/07/2005 Modified to add view perm. to all roles with edit perm. ''' ''' ----------------------------------------------------------------------------- Private Sub cmdAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdAdd.Click Try Dim permissionType As ViewPermissionType = ViewPermissionType.View Dim position As Integer = Null.NullInteger ' save to database AddNewModule("", Int32.Parse(cboDesktopModules.SelectedItem.Value), cboPanes.SelectedItem.Text, Null.NullInteger, ViewPermissionType.View, cboAlign.SelectedItem.Value) ' Redirect to the same page to pick up changes Response.Redirect(Request.RawUrl, True) Catch exc As Exception 'Module failed to load ProcessModuleLoadException(Me, exc) End Try End Sub ''' ----------------------------------------------------------------------------- ''' ''' chkContent_CheckedChanged runs when the Content check box is changed ''' ''' ''' ''' ''' [cnurse] 10/06/2004 Updated to reflect design changes for Help, 508 support ''' and localisation ''' ''' ----------------------------------------------------------------------------- Private Sub chkContent_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles chkContent.CheckedChanged Try SetContentMode(chkContent.Checked) Response.Redirect(Request.RawUrl, True) Catch exc As Exception 'Module failed to load ProcessModuleLoadException(Me, exc) End Try End Sub ''' ----------------------------------------------------------------------------- ''' ''' chkPreview_CheckedChanged runs when the Preview check box is changed ''' ''' ''' ''' ''' [cnurse] 10/06/2004 Updated to reflect design changes for Help, 508 support ''' and localisation ''' ''' ----------------------------------------------------------------------------- Private Sub chkPreview_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles chkPreview.CheckedChanged Try SetPreviewMode(chkPreview.Checked) Response.Redirect(Request.RawUrl, True) Catch exc As Exception 'Module failed to load ProcessModuleLoadException(Me, exc) End Try End Sub ''' ----------------------------------------------------------------------------- ''' ''' cmdHelpHide_Click runs when the Hide Help Button is clicked ''' ''' ''' ''' ''' [cnurse] 10/06/2004 Updated to reflect design changes for Help, 508 support ''' and localisation ''' ''' ----------------------------------------------------------------------------- Private Sub cmdHelpHide_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles cmdHelpHide.Click Try lblDescription.Text = "" cmdHelpShow.Visible = True cmdHelpHide.Visible = False Catch exc As Exception 'Module failed to load ProcessModuleLoadException(Me, exc) End Try End Sub ''' ----------------------------------------------------------------------------- ''' ''' cmdHelpShow_Click runs when the Hide Help Button is clicked ''' ''' ''' ''' ''' [cnurse] 10/06/2004 Updated to reflect design changes for Help, 508 support ''' and localisation ''' ''' ----------------------------------------------------------------------------- Private Sub cmdHelpShow_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles cmdHelpShow.Click Try Dim objDesktopModules As New DesktopModuleController Dim objDesktopModule As DesktopModuleInfo objDesktopModule = objDesktopModules.GetDesktopModule(Int32.Parse(cboDesktopModules.SelectedItem.Value)) If Not objDesktopModule Is Nothing Then lblDescription.Text = "
" & objDesktopModule.Description & "
" End If cmdHelpShow.Visible = False cmdHelpHide.Visible = True Catch exc As Exception 'Module failed to load ProcessModuleLoadException(Me, exc) End Try End Sub #End Region #Region " Web Form Designer Generated Code " Private Sub InitializeComponent() End Sub Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init 'CODEGEN: This method call is required by the Web Form Designer 'Do not modify it using the code editor. InitializeComponent() Me.ID = "Classic.ascx" End Sub #End Region End Class End Namespace

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error due to corrupt upload - need guidanceError due to corrupt upload - need guidance


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