zoukankan      html  css  js  c++  java
  • An unhandled exception occurred while processing the request.

    问题描述:An unhandled exception occurred while processing the request.

    Win32Exception: 不知道这样的主机。
    Unknown location
    
    SqlException: 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: TCP Provider, error: 0 - 不知道这样的主机。)
    Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, uint waitForMultipleObjectsTimeout, bool allowCreate, bool onlyOneCheckConnection, DbConnectionOptions userOptions, out DbConnectionInternal connection)

    出现问题描述:在调试项目过程中,SQL 的连接突然就断掉了。然后重新连接怎么都链接不上,使用 Microsoft SQL Server Management Studio 是可以连接上的。所以电脑后台的有一个进程是一直链接到 SQL 的。所以重启电脑即可!!!

     解决方法就是:重启电脑

  • 相关阅读:
    前端学习
    python 镜像
    os模块常用操作
    pandas 缺失值与空值处理
    pandas 根据列的值选取所有行
    pandas模块
    编码与解码
    正则表达式
    pthon之字典的遍历
    python作用域
  • 原文地址:https://www.cnblogs.com/gzbit-zxx/p/13502671.html
Copyright © 2011-2022 走看看