when i try to edit any of my macros, i get the following exception:
[NullReferenceException: Object reference not set to an instance of an object.]
Umbraco.Web.UI.Umbraco.Developer.Macros.EditMacro.PopulatePartialViewFiles() +675
Umbraco.Web.UI.Umbraco.Developer.Macros.EditMacro.OnLoad(EventArgs e) +45
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
I've downloaded the latest nightly build binaries and replaced them with the ones i had - no change.
Yes, replaced /umbraco/developer/macros/editmacro.aspx - if you've upgraded try to download the source files from the internet and replace them with your current.
NullReferenceException when trying to Edit Macros
Hello,
when i try to edit any of my macros, i get the following exception:
I've downloaded the latest nightly build binaries and replaced them with the ones i had - no change.
What can be causing this?
Thanks!
Just some thoughts - do you have the following folders created?
/Views/MacroPartials
/App_Plugins/
Thanks for your reply.
I downloaded EditMacro from the online source code and replaced it with mine.
This fixed the problem :)
Can you explain what you mean by downloaded EditMacro? I have the same issue on an upgraded site. I have all the correct folders.
I'm guessing it was /umbraco/developer/macros/editmacro.aspx, but not quite sure :)
Yes, replaced /umbraco/developer/macros/editmacro.aspx - if you've upgraded try to download the source files from the internet and replace them with your current.
is working on a reply...