Maybe a stupid question, but does it really say Could not load type 'umbraco.M?croEngines.RazorBuildProvider'? Because the quesiton mark there seems strange and I think it should be the type umbraco.MacroEngines.RazorBuildProvider
Maybe you can check your web.config which type is actually mentioned?
Razor Errors When moving site.
Heya!
I am in the process of moving a site to a new server but ran into some trouble.
What does this mean?
Error Loading Razor Script (file: List Dated Page Razor) Could not load type 'umbraco.M?croEngines.RazorBuildProvider' from assembly 'umbraco.MacroEngines'. (C:\Inetpub\vhosts\aeromateriel.com\httpdocs\web.config line 112) at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
at System.Web.Configuration.BuildProvider.ConfigurationBuildProviderInfo.get_Type()
at System.Web.Compilation.CompilationUtil.GetBuildProviderTypeFromExtension(CompilationSection config, String extension, BuildProviderAppliesTo neededFor, Boolean failIfUnknown)
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.Compilation.BuildManager.CreateInstanceFromVirtualPath(String virtualPath, Type requiredBaseType)
at System.Web.WebPages.VirtualPathFactoryManager.CreateInstance[T](String virtualPath)
at System.Web.WebPages.WebPageBase.CreateInstanceFromVirtualPath(String virtualPath, VirtualPathFactoryManager virtualPathFactoryManager)
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)
The site worked perfectly on the old server.
My first try was to install MVC3 but that didn't seem to work.
Grateful for a quick answer!
/Hannes
Hi Hannes,
Maybe a stupid question, but does it really say Could not load type 'umbraco.M?croEngines.RazorBuildProvider'? Because the quesiton mark there seems strange and I think it should be the type umbraco.MacroEngines.RazorBuildProvider
Maybe you can check your web.config which type is actually mentioned?
Hope this helps.
Cheers,
Michael.
is working on a reply...