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.
我已经在我的 Asp.Net MVC 5 网站上设置了 ELMAH。它工作正常,但它的错误详细信息页面没有向我显示导致异常的确切行。我想知道是否可以在本地计算机上获得与默认 Asp.Net 错误相同的错误页面。
如果您在 Web 应用程序或站点bin目录中部署与 DLL 对应的 PDB 文件,则错误中的堆栈跟踪也将包含行信息。
bin