Copied to clipboard

Flag this post as spam?

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


  • Thomas 160 posts 335 karma points
    Feb 25, 2014 @ 15:42
    Thomas
    0

    Error loading MacroEngine script (file: NivoSlider.cshtml) in Umbraco 6.1.6

    Hi,

    I am trying to install the NivoSlider on my Umbraco 6.1.6 fresh clean installation but I am continuously getting the "Error loading MacroEngine script (file: NivoSlider.cshtml)".

    From the Log I found the following.

    2014-02-25 15:02:34,947 [7] WARN umbraco.macro - [Thread 15] Error loading MacroEngine script (file: NivoSlider.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object. at System.Web.WebPages.WebPageBase.CreateInstanceFromVirtualPath(String virtualPath, IVirtualPathFactory virtualPathFactory) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage) at umbraco.macro.loadMacroScript(MacroModel macro) at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)

    Any help please in order to solve the problem?

    Regards

    Thomas

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Feb 25, 2014 @ 16:26
    Dennis Aaen
    0

    Hi Thomas,

    I have posted some thoughts what you could try to do, to find out why you´re getting the error.

    http://our.umbraco.org/projects/website-utilities/nivoslider-for-umbraco/general-forum/33700-Error-loading-MacroEngine-script-%28file-NivoSlidercshtml%29?p=0#comment173722

    Or have you seen the documentation for this package (Documentation tab). I this pdf file you will find infomation about how to setup the package with the right document types and properties and what alias the properties should have:

    http://our.umbraco.org/projects/website-utilities/nivoslider-for-umbraco

    I have used this package  some days ago to help someone else solving an issue.

    /Dennis

  • Thomas 160 posts 335 karma points
    Feb 25, 2014 @ 16:41
    Thomas
    0

    I cannot understand. I saw your comments, i had tried these but i am not getting any stack trace. Also i followed exactly as the pdf describes to create the MediaType with each properties, the Media files typeof(NivoImageSlider) and the macro into my template file. I am still getting the following error from the log:

    2014-02-25 17:37:49,069 [7] WARN umbraco.macro - [Thread 16] Error loading MacroEngine script (file: NivoSlider.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object. at System.Web.WebPages.WebPageBase.CreateInstanceFromVirtualPath(String virtualPath, IVirtualPathFactory virtualPathFactory) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage) at umbraco.macro.loadMacroScript(MacroModel macro) at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Feb 25, 2014 @ 17:51
    Dennis Aaen
    0

    Hi Thomas,

    Okay then try to see my comment here: http://our.umbraco.org/projects/website-utilities/nivoslider-for-umbraco/general-forum/47027-Caption-not-displaying?p=0#comment173466 You could try to compare the files you have, with the content of files I have posted in the comment.

    If this dosen´t help you, or give you any clue, what is wrong I could give you access, to of my dev environment where the nivo slider is working,  if you want to see my Umbraco setup, then just drop me an email at denaaen (at) gmail.com.

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft