Azure .NET MVC 应用程序遇到异常,即
“找不到网络路径”
我在问这个问题之前搜索过的其他查询的问题是它不是一直发生,它按预期工作,但这个问题是随机发生的,就像每 15-25 天一次一样。在生产环境中部署应用程序已经有大约 50 天了,遇到过两次,而在 Azure UAT 环境(存在少量用户)时没有遇到过这种情况。
问题通过使用以下命令重置 IIS 暂时解决:
重置
源错误:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
堆栈跟踪:
[Win32Exception (0x80004005): The network path was not found]
[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
任何的想法?
最佳答案
list :
这些东西是,IME,通常是间歇性的网络问题,通常是在数据中心之间的对等连接上,等等。
关于sql - 随机遇到网络路径未找到异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38696448/