More in this section

Forums / Bugs & Issues / Template nightmare

Template nightmare

4 posts, 0 answered
  1. Matthew
    Matthew avatar
    2 posts
    Registered:
    29 Dec 2011
    31 Dec 2011
    Link to this post
    Hi Guys...

    Having an issue with adding templates! I build the themes and masterfiles into the app-data folder. register the theme and set up the template I keep getting the following error.

    Can someone tell me whats going on and how to fix it.? Ive tried copying a blank project pver the current into the solution but that doesnt work and I've also learnt the not to rebuild lesson a few times now! I never had any of these issues with version 4... So far I'm really not impressed with sitefinity 4.4. surely these issues should be ironed out before a major realise??? 


    Thanks Matt

    Server Error in '/PremidentNewSite' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       Telerik.Sitefinity.Web.RouteHandler.EnsureScriptManagerInternal(Page page) +154
       Telerik.Sitefinity.Web.RouteHandler.page_InitCompleteScript(Object sender, EventArgs e) +19
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Page.OnInitComplete(EventArgs e) +96
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1807
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237              

     
  2. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    03 Jan 2012
    Link to this post
    Hello Matthew,

    It would help if you sent us the templates and themes that you add and register. This error is not a common Sitefinity error. There is probably some problem with the template/master page that you use.

    Regards,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Matthew
    Matthew avatar
    2 posts
    Registered:
    29 Dec 2011
    04 Jan 2012
    Link to this post
    Hi Lubomir

    I seem to have resolved the issue now. I was rebuilding the project or not building it at the right stage. So far so good with my latest attempt.

    Thanks Matt
  4. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    04 Jan 2012
    Link to this post
    Hi Matthew,

    I'm glad that you solved your problem. If you have any further questions do not hesitate to contact us.

    Regards,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered