Hi
I just tried adding a razor host module to a page. When i run any of the sample scripts, I get the following error:
Error: Razor Host is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: The "" element was not closed. All elements must be either self-closing or have a matching end tag. ---> System.Web.HttpParseException: The "" element was not closed. All elements must be either self-closing or have a matching end tag. at System.Web.WebPages.Razor.RazorBuildProvider.EnsureGeneratedCode() at System.Web.WebPages.Razor.RazorBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() 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.GetCompiledType(VirtualPath virtualPath) at DotNetNuke.Web.Razor.RazorEngine.CreateWebPageInstance() at DotNetNuke.Web.Razor.RazorEngine.InitWebpage() at DotNetNuke.Web.Razor.RazorEngine..ctor(String razorScriptFile, ModuleInstanceContext moduleContext, String localResourceFile) at DotNetNuke.Web.Razor.RazorModuleBase.OnPreRender(EventArgs e) --- End of inner exception stack trace ---
I checked that the application pool is running under .net 4.0.
Does anyone have any other suggestions?
Best Regards,
Steve