Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DDR Menu Razor Templates Not Working in DNN 8DDR Menu Razor Templates Not Working in DNN 8
Previous
 
Next
New Post
1/13/2016 4:14 AM
 

Hi,
DDR Menu Razor Templates are not working in DNN 8. The same razor templates work in DNN 7.x.  The event viewer shows the error message:Message:c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\dd66ad0c\21c284df\App_Web_spdmenu.cshtml.b58841f0.5tcxqp4j.0.cs(28): error CS0234: The type or namespace name 'DynamicContentViewer' does not exist in the namespace 'Dnn.Modules' (are you missing an assembly reference?)
StackTrace:
InnerMessage:c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\dd66ad0c\21c284df\App_Web_spdmenu.cshtml.b58841f0.5tcxqp4j.0.cs(28): error CS0234: The type or namespace name 'DynamicContentViewer' does not exist in the namespace 'Dnn.Modules' (are you missing an assembly reference?)
InnerStackTrace:
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.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.DDRMenu.TemplateEngine.RazorTemplateProcessor.Render(Object source, HtmlTextWriter htmlWriter, TemplateDefinition liveDefinition)
at DotNetNuke.Web.DDRMenu.MenuBase.Render(HtmlTextWriter htmlWriter)
at DotNetNuke.Web.DDRMenu.SkinObject.Render(HtmlTextWriter writer)

 
New Post
1/13/2016 8:21 AM
 
are you using DNN 8 RC?
Content viewer is a new extension, which has been postponed, did you upgrade from a previous beta of DNN 8?

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/13/2016 11:00 AM
 
Try deleting the folders underneath "Temporary ASP.Net Files".  Don't remove the temporary folder itself though.  These temp files can occasionally hold old references to files which are no longer used and thereby cause compilation errors like what you are seeing here.

Joe Brinkman
DNN Corp.
 
New Post
1/14/2016 1:06 AM
 
I am using a fresh instance of DNN 8 RC. Where can I find the folder "Temporary ASP.Net Files"?
 
New Post
1/14/2016 3:37 AM
 
%windir%/Microsoft.NET/[version]/

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DDR Menu Razor Templates Not Working in DNN 8DDR Menu Razor Templates Not Working in DNN 8


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out