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 message on every page after upgradeerror message on every page after upgrade
Previous
 
Next
New Post
5/12/2011 9:08 PM
 

I just upgraded from 4.5.3 to 5.6.2.  It took 1 week of nights, but finally everything upgraded/ installed "successfully".  It would have been much quicker except I had difficulty with hosting service tools.
Everything I have checked so far seems to be working okay (except I cannot update/ add modules), but I am getting a long, distracting message on every page.  Can you help me get rid of it?

Imports DotNetNuke.Security.Permissions ' ' DotNetNuke� - http://www.dotnetnuke.com ' Copyright (c) 2002-2010 ' 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.Containers ''' ----------------------------------------------------------------------------- ''' ''' ''' ''' [cniknet] 10/15/2004 Replaced public members with properties and removed ''' brackets from property names ''' ''' ----------------------------------------------------------------------------- Partial Class Title Inherits UI.Skins.SkinObjectBase ' private members Private _cssClass As String Const MyFileName As String = "Title.ascx" #Region "Public Members" Public Property CssClass() As String Get Return _cssClass End Get Set(ByVal Value As String) _cssClass = Value End Set End Property #End Region Private Function CanEditModule() As Boolean Dim blnCanEdit As Boolean = False If (ModuleControl IsNot Nothing) AndAlso (ModuleControl.ModuleContext.ModuleId > Null.NullInteger) Then blnCanEdit = (PortalSettings.UserMode = PortalSettings.Mode.Edit) AndAlso TabPermissionController.CanAdminPage() _ AndAlso Not IsAdminControl() End If Return blnCanEdit End Function ''' ----------------------------------------------------------------------------- ''' ''' Assign the CssClass and Text Attributes for the Title label. ''' ''' ''' ''' ''' ''' ''' [sun1] 2/1/2004 Created ''' ''' ----------------------------------------------------------------------------- Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try ' public attributes If CssClass <> "" Then lblTitle.CssClass = CssClass End If Dim strTitle As String = Null.NullString If Not ModuleControl Is Nothing Then strTitle = Localization.LocalizeControlTitle(ModuleControl) End If If strTitle = Null.NullString Then strTitle = " " End If lblTitle.Text = strTitle lblTitle.EditEnabled = False tbEIPTitle.Visible = False If CanEditModule() = True AndAlso PortalSettings.InlineEditorEnabled = True Then lblTitle.EditEnabled = True tbEIPTitle.Visible = True Else For Each objButton As WebControls.DNNToolBarButton In Me.tbEIPTitle.Buttons objButton.ToolTip = Localization.GetString("cmd" & objButton.ToolTip, Services.Localization.Localization.GetResourceFile(Me, MyFileName)) Next End If Catch exc As Exception 'Module failed to load ProcessModuleLoadException(Me, exc) End Try End Sub Private Sub lblTitle_UpdateLabel(ByVal source As Object, ByVal e As WebControls.DNNLabelEditEventArgs) Handles lblTitle.UpdateLabel If CanEditModule() Then Dim objModule As New DotNetNuke.Entities.Modules.ModuleController Dim objModInfo As DotNetNuke.Entities.Modules.ModuleInfo = objModule.GetModule(ModuleControl.ModuleContext.ModuleId, ModuleControl.ModuleContext.TabId, False) objModInfo.ModuleTitle = e.Text objModule.UpdateModule(objModInfo) End If End Sub End Class End Namespace

 
New Post
5/12/2011 9:28 PM
 
actually, the message occurs on every module on every page, regardless of skin used.
 
New Post
5/12/2011 9:59 PM
 
That's the source code for the Title (Admin/Containers/Title.ascx.vb) skin object that would be included in your site's containers. Is there an error message displayed either before or after the source code that you posted? Have you checked the Admin -->Event Viewer for related errors that might give some clue as to why this is being displayed.

Also, you mentioned that changing to a different skin did not remove this "message". Does it go away when you change to a different module container?

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
5/13/2011 7:23 AM
 
There is no error message before or after other than what I posted, and it doesn't go away when I change to a different module container; however, there are a bunch of the same exception listed in the event log (see below).  It mentions the skin XDDesignAwayMod/BlueDesignAway.ascx, which is not available to choose in Admin/Skins.  I have it on my local drive, but I have also noticed that there is no link to upload a new skin in my Admin/Skins.

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 5.6.2
PortalID: 2
PortalName: Richard
UserID: -1
UserName:
ActiveTabID: 121
ActiveTabName: Home
RawURL: /default.aspx
AbsoluteURL: /default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c8a4a083-0c99-409d-85b6-8db75f1dc944
InnerException: Unhandled error loading module.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Util.CheckVirtualFileExists
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled error loading module. ---> System.Web.HttpException: The file '/Portals/2/Containers/XDDesignAwayMod/BlueDesignAway.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(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.Compilation.BuildManager.GetVPathBuildResult(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.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Skins.Pane.LoadContainerByPath(String ContainerPath) --- End of inner exception stack trace ---
Source:
Server Name: DEDI543
 
New Post
5/13/2011 12:28 PM
 
Hi Richard,

It looks like your skin is not compatible with the new version of DNN. Try setting the skin and containers back to the default MinimalExtropy. Under Admin/Site Settings expand the plus next to appearance and change your portal skin and container and edit skin and container to MinimalExtropy and click update. If the problem still exist you may have the skin specified on the page level. On each page under settings expand the advanced plus and set the skin and container back to <use portal Default>.  The skin might also be specified under the Host/Hosting Settings page.

It seems that some of your module content displays without the error. I suspect that is because you have display container turned off for those modules, which would be another way to temporary fix your problem.

As an unauthenticated user I can see the view and edit radio buttons on your site (although I cannot edit). This may be related to the skin or you may have changed the permissions set at the page level. Double check that only admins have edit page enabled.

BTW: you need to be in edit mode to upload a new skin.

Rich
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...error message on every page after upgradeerror message on every page after upgrade


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