Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sean Dooley 289 posts 528 karma points
    Jan 24, 2014 @ 13:00
    Sean Dooley
    0

    Last Edits dashboard not showing any edits

    Working away on a Umbraco website (V6.1.6), I noticed that no edits are showing up in the "Last Edits" dashboard.

    Any ideas why this might be happening or what I can look into in an attempt to resolve the issue?

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Feb 03, 2014 @ 10:51
    Sebastiaan Janssen
    0

    It's only showing edits that other users make. If you need more functionality then what it currently offers I suggest you build your own dashboard, it's a pretty simple usercontrol and you can just copy/paste and alter our existing code for it

    There's also a package you could try, should work on all versions: http://our.umbraco.org/projects/backoffice-extensions/latest-edits-dashboard

  • Sean Dooley 289 posts 528 karma points
    Feb 03, 2014 @ 15:11
    Sean Dooley
    0

    We have a couple of sites running the same Umbraco version 6.1.6, and we are only experiencing an issue with this site in question. Hoping to be able to dig a bit further.

    @Sebastiaan, do you know where I can find the code-behind file LatestEdits.ascx.cs?

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Feb 03, 2014 @ 16:25
  • Sean Dooley 289 posts 528 karma points
    Feb 14, 2014 @ 17:56
    Sean Dooley
    0

    Okay, now looking at creating our own LatestEdits.ascx.

    We've setup a blank usercontrol as follows

    LatestEdits.ascx

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LatestEdits.ascx.cs" Inherits="Custom.UserControls.LatestEdits" %>

    LatestEdits.ascx.cs

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    
    namespace Custom.UserControls
    {
        public partial class LatestEdits : System.Web.UI.UserControl
        {
            protected void Page_Load(object sender, EventArgs e)
            {
    
            }
        }
    }

    And updated the dashboard.config as follows

    <section alias="StartupDashboardSection">
        <access>
          <deny>translator</deny>
        </access>
        <areas>
          <area>content</area>
        </areas>
        <tab caption="Get Started">
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/startupdashboardintro.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/startupdashboardkits.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/startupdashboardvideos.ascx
          </control>
        </tab>
        <tab caption="Last Edits">
          <control addPanel="true" MaxRecords="30">/umbraco/dashboard/latestEdits.ascx</control>
        </tab>
        <tab caption="Change Password">
          <control addPanel="true">/umbraco/dashboard/changepassword.ascx</control>
        </tab>
        <tab caption="Latest Edits">
          <control addPanel="true" MaxRecords="30">~/UserControls/Mosquito/LatestEdits.ascx</control>
        </tab>
    </section>

    But we are getting the following error message

    Could not load control: '/UserControls/LatestEdits.ascx'.
    Error message: System.Web.HttpParseException (0x80004005): Could not load type 'Custom.UserControls.LatestEdits'. ---> System.Web.HttpParseException (0x80004005): Could not load type 'Custom.UserControls.LatestEdits'. ---> System.Web.HttpException (0x80004005): Could not load type 'Custom.UserControls.LatestEdits'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)

    Can anyone point out what I've missed?

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Feb 14, 2014 @ 19:29
    Sebastiaan Janssen
    0

    Is UmbracCMS.dll present?

    If so, then don't use the word Umbraco in your namespace for custom dlls. I've noticed you'll get into a lot of trouble by having the word Umbraco in the namespace and/or dll name, so make sure to rename it if the dll is actually in your bin folder and you still get the error.

  • Sean Dooley 289 posts 528 karma points
    Feb 17, 2014 @ 10:46
    Sean Dooley
    0

    UmbracoCMS has been used in this forum post instead of the client name (company policy to not show client details on forums, etc).

    Not sure if it is worth pointing out, but Umbraco has been installed via Nuget in Visual Studio.

  • Sean Dooley 289 posts 528 karma points
    Feb 17, 2014 @ 10:47
    Sean Dooley
    0

    UmbracoCMS has been used in this forum post instead of the client name (company policy to not show client details on forums, etc).

    Not sure if it is worth pointing out, but Umbraco has been installed via Nuget in Visual Studio.

Please Sign in or register to post replies

Write your reply to:

Draft