【发布时间】:2010-08-05 10:43:53
【问题描述】:
我正在尝试将 YAF 与 Umbraco 一起使用。在旧的集成方法似乎不起作用的地方,最新版本的变化已经足够了。我自己已经完成了所有事情,但是我遇到了这个错误:
无法加载一种或多种请求的类型。检索 LoaderExceptions 属性以获取更多信息。 说明:执行当前 Web 请求期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。
Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source Error:
Line 23: <img src="~/yaf/images/YAFLogo.jpg" runat="server" alt="YetAnotherForum" id="imgBanner" /><br/>
Line 24: <form id="form1" runat="server" enctype="multipart/form-data">
Line 25: <YAF:Forum runat="server" ID="yafForum" />
Line 26: </form>
Line 27: </body>
我感觉 YAF 没有启动数据库。在以前的 YAF 版本中,您在 web.config 文件中加载了一个 INIT 模块。该模块不再存在 (YAF.Base.YAFInitModule)。
【问题讨论】:
-
根据 YAF 的负责人所说,这可能是权限问题 (forum.yetanotherforum.net/…),但我不确定是什么
标签: c# asp.net umbraco yetanotherforum