I installed 4.6 as a clean install yesterday using SQL 2K. I tested it locally first and it worked fine. The install on the server reported no problems. But now my site is having two issues (no idea if they are related).
1. There is some Copyright text and even code at the top of every page (see below for the text).
2. The Module Definitions page has two errors loading both the Module Definitions and the Module Definitions Validator. See below for errors.
Any help would be appreciated. Thanks!
Jeff
Text for #1:
' ' 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. ' Namespace DotNetNuke.UI.Skins.Controls ''' ----------------------------------------------------------------------------- ''' ''' ''' ''' ''' [cniknet] 10/15/2004 Replaced public members with properties and removed ''' brackets from property names ''' ''' ----------------------------------------------------------------------------- Partial Class Logo Inherits UI.Skins.SkinObjectBase ' private members Private _borderWidth As String ' protected controls #Region "Public Members" Public Property BorderWidth() As String Get Return _borderWidth End Get Set(ByVal Value As String) _borderWidth = Value End Set End Property #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() End Sub #End Region '******************************************************* ' ' The Page_Load server event handler on this page is used ' to populate the role information for the page ' '******************************************************* Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try ' public attributes If BorderWidth <> "" Then imgLogo.BorderWidth = System.Web.UI.WebControls.Unit.Parse(BorderWidth) End If If PortalSettings.LogoFile <> "" Then imgLogo.ImageUrl = PortalSettings.HomeDirectory & PortalSettings.LogoFile Else imgLogo.Visible = False End If imgLogo.AlternateText = PortalSettings.PortalName hypLogo.ToolTip = PortalSettings.PortalName hypLogo.NavigateUrl = GetPortalDomainName(PortalSettings.PortalAlias.HTTPAlias, Request) & "/" & glbDefaultPage Catch exc As Exception 'Module failed to load ProcessModuleLoadException(Me, exc) End Try End Sub End Class End Namespace
Text for #2:
Error: Module Definitions is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: e:\hosting\member\mmelsa\crowellnet\Admin\ModuleDefinitions\ModuleDefinitions.ascx.vb(1): error ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). ---> System.Web.HttpCompileException: e:\hosting\member\mmelsa\crowellnet\Admin\ModuleDefinitions\ModuleDefinitions.ascx.vb(1): error ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
----AND---
Error: Module Definition Validator is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unable to cast object of type 'ASP.admin_moduledefinitions_moduledefvalidator_ascx' to type 'DotNetNuke.Entities.Modules.PortalModuleBase'. ---> System.InvalidCastException: Unable to cast object of type 'ASP.admin_moduledefinitions_moduledefvalidator_ascx' to type 'DotNetNuke.Entities.Modules.PortalModuleBase'. at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---