Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已下载最新的 ELMAH 并将示例应用程序的 Web.Config 设置复制到我的 ASP.NET 3.5 Web.Config。
我确保引用了 DLL 的 3.5 发行版,但我仍然收到上述错误(根据这篇文章的标题)。
如果您有参考,请确认您的程序集字典中有一个来自 web.config 的条目,该条目具有包含 Linq 的 dll。例如:
<add assembly="System.Web.Extensions, Version=3.5.0.0, ... <add assembly="System.Xml.Linq, Version=3.5.0.0, ...
LINQ dll 不会自动添加到 Web 项目中,您必须在解决方案资源管理器中手动将其添加到项目引用中。