【发布时间】:2018-06-16 02:22:25
【问题描述】:
深度神经网络:8.0.4 2sxc:9.32.0
这是从早期版本升级到 8.0.4,但网站运行没有问题。
我在页面中添加了一个内容模块并选择了“Title Over Image”内容项。我收到此错误:
错误:System.IO.FileLoadException:无法加载文件或程序集“System.Web.Helpers,版本=2.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35”或其依赖项之一。找到的程序集的清单定义与程序集引用不匹配。 (HRESULT 例外:0x80131040)文件名:Connect.Dnn.Koi.DnnSkinFile.AutoDetect() 的 Connect.Koi.Context 中的“System.Web.Helpers,版本=2.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35”。 HttpContextState.TryToDetectTheCssFramework() 在 Connect.Koi.Context.HttpContextState.get_CssFramework() 在 Connect.Koi.Context.ToolsForCurrentState.get_Css() 在 Connect.Koi.Koi.get_IsUnknown() 在 ASP._Page_Portals_781_2sxc_Content__Shared___Koi_Admin_Messages_cshtml.Execute() 在 c: \inetpub\vhosts\dev.patapscoresearch.com\httpdocs\Portals\781\2sxc\Content_Shared - Koi Admin Messages.cshtml:System.Web.WebPages.WebPageBase.ExecutePageHierarchy() 处 System.Web.WebPages.WebPageBase 的第 8 行。在 System.Web.WebPages.WebPageBase.c__DisplayClass7.b__6(TextWriter writer) 在 System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) 在 System.Web.WebPages 执行 ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)。 WebPageBase.Write(HelperResult 结果) 一个t ASP._Page_Portals_781_2sxc_Content__Shared___Assets_cshtml.Execute() 在 c:\inetpub\vhosts\dev.patapscoresearch.com\httpdocs\Portals\781\2sxc\Content_Shared - Assets.cshtml: System.Web.WebPages.WebPageBase.ExecutePageHierarchy() 中的第 2 行在 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) 在 System.Web.WebPages.WebPageBase.c__DisplayClass7.b__6(TextWriter writer) 在 System.Web.WebPages.HelperResult.WriteTo(TextWriter writer)在 System.Web.WebPages.WebPageBase.Write(HelperResult 结果)在 ASP._Page_Portals_781_2sxc_Content__Content___Image_full_width_text_cshtml.Execute() 在 c:\inetpub\vhosts\dev.patapscoresearch.com\httpdocs\Portals\781\2sxc\Content_Content - 图像完整-宽度 text.cshtml:位于 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext,TextWriter writer,WebPageRenderingBase startPage)的 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() 的第 4 行,位于 ToSic.SexyCon tent.Engines.RazorEngine.Render(TextWriter writer) 在 C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\2Sexy Content Razor\RazorEngine.cs:ToSic.SexyContent.Engines.RazorEngine.RenderTemplate() 中的第 65 行C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\2Sexy Content Razor\RazorEngine.cs:C:\Projects\2sxc-dnn742\Website\DesktopModules 中 ToSic.SexyContent.Engines.EngineBase.Render() 的第 92 行\ToSIC_SexyContent\ToSic.Sxc\SexyContent\Engines\EngineBase.cs:C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\ToSic.Sxc\SexyContent\SxcInstance_Render 中 ToSic.SexyContent.SxcInstance.Render() 的第 92 行.cs:line 58 警告:程序集绑定日志记录已关闭。要启用程序集绑定失败日志记录,请将注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) 设置为 1。注意:与程序集绑定失败日志记录相关的一些性能损失。要关闭此功能,请删除注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog]。
【问题讨论】:
-
bin目录下有个System.Web.Helpers.dll文件:版本3.0.20129.0
标签: dotnetnuke 2sxc