{"action":"created","issue":{"url":"https://api.github.com/repos/2sic/2sxc/issues/564","labels_url":"https://api.github.com/repos/2sic/2sxc/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/2sic/2sxc/issues/564/comments","events_url":"https://api.github.com/repos/2sic/2sxc/issues/564/events","html_url":"https://github.com/2sic/2sxc/issues/564","id":126260682,"number":564,"title":"Views/templates not working in DNN v8.0.0 RC (build 800) because of bugs in DNN :(","user":{"login":"tvatavuk","id":2724850,"avatar_url":"https://avatars.githubusercontent.com/u/2724850?v=3","gravatar_id":"","url":"https://api.github.com/users/tvatavuk","html_url":"https://github.com/tvatavuk","followers_url":"https://api.github.com/users/tvatavuk/followers","following_url":"https://api.github.com/users/tvatavuk/following{/other_user}","gists_url":"https://api.github.com/users/tvatavuk/gists{/gist_id}","starred_url":"https://api.github.com/users/tvatavuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvatavuk/subscriptions","organizations_url":"https://api.github.com/users/tvatavuk/orgs","repos_url":"https://api.github.com/users/tvatavuk/repos","events_url":"https://api.github.com/users/tvatavuk/events{/privacy}","received_events_url":"https://api.github.com/users/tvatavuk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-12T19:49:52Z","updated_at":"2016-01-13T06:44:42Z","closed_at":"2016-01-13T06:44:41Z","body":"Add any sample 2sxc App to page in DNN v8.0.0.800 results in error in template:\r\n\r\n_There was an error while rendering the template: System.IO.FileLoadException: Could not load file or assembly 'System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' at ToSic.SexyContent.Engines.RazorEngine.InitWebpage() at ToSic.SexyContent.Engines.RazorEngine.Init() at ToSic.SexyContent.Engines.EngineBase.Init(Template template, App app, ModuleInfo hostingModule, IDataSource dataSource, InstancePurposes instancePurposes, SexyContent sexy) at ToSic.SexyContent.SexyViewContentOrApp.ProcessView(PlaceHolder phOutput, Panel pnlError, Panel pnlMessage) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog]._\r\n\r\n\r\nIt is becase of wrong assembly binding in DNN web.config:\r\n\r\n      <dependentAssembly>\r\n        <assemblyIdentity name=\"System.Web.WebPages\" publicKeyToken=\"31bf3856ad364e35\" />\r\n        <bindingRedirect oldVersion=\"1.0.0.0-2.0.0.0\" newVersion=\"2.0.0.0\" />\r\n      </dependentAssembly>\r\n\r\nOK, I change it to what it was initialy in vanila web.config:\r\n\r\n      <dependentAssembly>\r\n        <assemblyIdentity name=\"System.Web.WebPages\" publicKeyToken=\"31bf3856ad364e35\" />\r\n        <bindingRedirect oldVersion=\"1.0.0.0-3.0.0.0\" newVersion=\"3.0.0.0\" />\r\n      </dependentAssembly>\r\n\r\nNow, I have another error:\r\n\r\n_There was an error while rendering the template: System.Web.HttpCompileException (0x80004005): c:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Temporary ASP.NET Files\\root\\733c34c2\\e29d969\\App_Web__simple list of questions.cshtml.b95d1344.72m95s1t.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?) 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 System.Web.Compilation.BuildManager.GetCompiledType(String virtualPath) at ToSic.SexyContent.Engines.RazorEngine.CreateWebPageInstance() at ToSic.SexyContent.Engines.RazorEngine.InitWebpage() at ToSic.SexyContent.Engines.RazorEngine.Init() at ToSic.SexyContent.Engines.EngineBase.Init(Template template, App app, ModuleInfo hostingModule, IDataSource dataSource, InstancePurposes instancePurposes, SexyContent sexy) at ToSic.SexyContent.SexyViewContentOrApp.ProcessView(PlaceHolder phOutput, Panel pnlError, Panel pnlMessage)_\r\n\r\n**No fun in DNN v8.0.0 RC tonight :(**"},"comment":{"url":"https://api.github.com/repos/2sic/2sxc/issues/comments/171190983","html_url":"https://github.com/2sic/2sxc/issues/564#issuecomment-171190983","issue_url":"https://api.github.com/repos/2sic/2sxc/issues/564","id":171190983,"user":{"login":"iJungleboy","id":5321186,"avatar_url":"https://avatars.githubusercontent.com/u/5321186?v=3","gravatar_id":"","url":"https://api.github.com/users/iJungleboy","html_url":"https://github.com/iJungleboy","followers_url":"https://api.github.com/users/iJungleboy/followers","following_url":"https://api.github.com/users/iJungleboy/following{/other_user}","gists_url":"https://api.github.com/users/iJungleboy/gists{/gist_id}","starred_url":"https://api.github.com/users/iJungleboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iJungleboy/subscriptions","organizations_url":"https://api.github.com/users/iJungleboy/orgs","repos_url":"https://api.github.com/users/iJungleboy/repos","events_url":"https://api.github.com/users/iJungleboy/events{/privacy}","received_events_url":"https://api.github.com/users/iJungleboy/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T06:44:41Z","updated_at":"2016-01-13T06:44:41Z","body":"Thanks for this. \r\n\r\nThe first one we'll look at when dnn is stable - they have it https://dnntracker.atlassian.net/browse/DNN-8312\r\n\r\nBut the second one obviously wants to get Dnn.Modules.DynamicContentViewer - which was removed by DNN. Did you do an upgrade from an earlier version - then it's https://dnntracker.atlassian.net/browse/DNN-8237?jql=text%20~%20%22DynamicContentViewer%22.\r\nIf not (new install) pls post an bug on the DNN tracker. \r\n\r\n"}}