Copied to clipboard

Flag this post as spam?

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


  • Muhammad Adeel 19 posts 109 karma points
    Mar 02, 2016 @ 07:50
    Muhammad Adeel
    0

    Error loading MacroEngine script (file: BrowserTitle.cshtml).

    Hi , i am getting these types of errors after i upgraded from version 7.1.2 to 7.4.1. before this i did several upgrades (4.7.2>4.11.8>6.0.5>7.1.2) and everythigs seems to be working fine but now each and every macro script fails to load . Is this due to inclusion of Partial View Macro Scripts because now i cant see the scripts folder under Developer section .(which had all the cshtml files including BrowserTitle.cshtml).

    in the stack trace i get this if i set ?umbDebugShowTrace=true.

    Error Loading Razor Script (file: Browser Title) c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_browsertitle.cshtml.70df5e80.vk8-jzxe.0.cs(24): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)    at System.Web.Compilation.AssemblyBuilder.Compile()
    

    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.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) at System.Web.WebPages.BuildManagerWrapper.CreateInstanceOfType[T](String virtualPath) at System.Web.WebPages.VirtualPathFactoryExtensions.CreateInstance[T](IVirtualPathFactory factory, String virtualPath) at System.Web.WebPages.VirtualPathFactoryManager.CreateInstanceOfType[T](String virtualPath) at System.Web.WebPages.VirtualPathFactoryExtensions.CreateInstance[T](IVirtualPathFactory factory, String virtualPath) at System.Web.WebPages.WebPageBase.CreateInstanceFromVirtualPath(String virtualPath, IVirtualPathFactory virtualPathFactory) at umbraco.MacroEngines.RazorMacroEngine.CompileAndInstantiate(String virtualPath) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)

    Please suggest me that can i correct these errors by any means.

    if not then can i use PartialViewMacroScripts to fix this

    Last and Least priority , do i need to build my site from scratch to tackle this.

    Thanks

  • Muhammad Adeel 19 posts 109 karma points
    Mar 03, 2016 @ 08:23
    Muhammad Adeel
    0

    Please reply on this

  • Muhammad Adeel 19 posts 109 karma points
    Mar 08, 2016 @ 04:29
    Muhammad Adeel
    0

    Its been a week since i posted this question . This is not how the forum should be umbraco team. Its been a nightmare upgrading umbraco .Please give me something.

  • Ravi Motha 289 posts 499 karma points MVP 4x c-trib
    Jul 08, 2016 @ 08:49
    Ravi Motha
    0

    There are others who have had a similar problem and the issue and replies are here:

    https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/76488-error-loading-macroengine-script-file-newslettersubscribecshtml

    maybe this will help you//

    Ravi

Please Sign in or register to post replies

Write your reply to:

Draft