我的 Web 应用程序在几分钟前运行良好,现在我在运行时遇到此错误。
我该如何解决这个问题,因为它甚至不是我项目文件的一部分?
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'System.Web.Mobile, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE)) (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config line 285)
Line 285: add name="ErrorHandlerModule" type="System.Web.Mobile.ErrorHandlerModule, System.Web.Mobile, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"**
最佳答案
我可能应该在发布问题之前完成此操作。
我保存了我的工作,然后重新启动了 Visual Studio。
关于c# - 如何解决 '/' 应用程序中的服务器错误(配置错误),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21626217/