我有一个早期工作正常的 asp.net MVC 4。现在,当我运行它时,我得到了类似的错误
A non-recoverable error occurred during a database lookup
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: A non-recoverable error occurred during a database lookup
Source Error:
Line 291: using (MySqlConnection cnn = new MySqlConnection(Globals.CONNSTRING))
Line 292: {
Line 293: cnn.Open();
Line 294:
Line 295: using (MySqlCommand cmd = cnn.CreateCommand())
我将它上传到服务器上,它使服务器上的 IIS 崩溃。现在服务器上的每个站点都无法正常工作。有人可以告诉我如何解决吗?
我在电脑上遇到了这个异常。当我访问我的网站时,我看到
Service Unavailable
HTTP Error 503. The service is unavailable.