“找不到网络路径”
在问这个问题之前我搜索过的其他查询的问题是它没有一直发生,它按预期工作但这个问题是每15-25天一次随机发生的.自生产应用程序部署以来已经过了大约50天,并且遇到过两次,而在Azure UAT环境中没有遇到这种情况(用户数量很少).
使用以下命令通过IIS重置暂时解决问题:
IISRESET
来源错误:
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)]
任何的想法?