Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 16 Apr 2011 02:58 AM by  Steve L
Template mistake
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:
New Member


--
15 Apr 2011 03:37 PM
    Hello,
    I'm working on adding some extra form field validation to my Cart control so I've been editing the Template and it's been going pretty good but I just made an update and now I can't load the page with the Configuration options. I get an Object Reference error. Is there a way to get the original Template back? Or another way around this issue?

    This is the Stack Trace:
    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() +29
    DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) +41

    [ModuleLoadException: An error has occurred.]
    DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +374
    DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc, Boolean DisplayErrorMessage) +184
    DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc) +34
    DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) +109
    System.EventHandler.Invoke(Object sender, EventArgs e) +0
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

    [PageLoadException: An error has occurred.]
    DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +269
    DotNetNuke.Framework.PageBase.OnError(EventArgs e) +394
    System.Web.UI.Page.HandleError(Exception e) +84
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6776
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
    System.Web.UI.Page.ProcessRequest() +80
    System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
    System.Web.UI.Page.ProcessRequest(HttpContext context) +49
    ASP.default_aspx.ProcessRequest(HttpContext context) +4
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


    0


    Veteran Member


    Posts:2957
    Veteran Member


    --
    16 Apr 2011 02:58 AM
    That's odd. I think you get that error if you had the Storefront module on the same page as the other module control that you're trying to create a template for. When your template is bad, it throws the whole page on error.

    Anyhow, long story short, you can always go to DesktopModules\Revindex.Dnn.RevindexStorefront\Portals\0\DisplayTemplates\XXXX\YYYY folder where 0 is your portal ID to find the custom template you created. You can delete the entire folder under YYYY or XXXX if you don't need it anymore.
    0
    You are not authorized to post a reply.