0

我向 Windows Azure 发布了一个 ASP.NET MVC 4 项目,首先一切正常。但后来,有时它会起作用,但有时我会收到以下错误消息:

Server Error in '/' Application.

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 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.ComponentModel.Win32Exception: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

该网站不包含任何多媒体或任何更大尺寸的数据,所以我不知道是什么原因造成的。

4

2 回答 2

0

您确定您没有更改 web.config 中的任何数据库设置吗?

于 2013-06-25T03:01:05.357 回答
0

如果您发布到 VM,则您的一个实例可能处于回收过程中,这是因为负载均衡器是循环的。

如果您在网站或云服务上发布,我们必须详细了解为什么会发生这种情况。

于 2013-06-25T03:12:24.303 回答