首页 > 其他 > 详细

遇到的异常处理

时间:2016-06-18 18:22:53      阅读:265      评论:0      收藏:0      [点我收藏+]
  • A first chance exception of type ‘System.Data.Entity.Core.EntityException‘ occurred in EntityFramework.dll

Additional information: The underlying provider failed on Open.

InnerException: {"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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"}

StackTrace: at System.Data.Entity.Core.EntityClient.EntityConnection.Open()

没有连VPN,数据库连接失败

 

遇到的异常处理

原文:http://www.cnblogs.com/chrisghb8812/p/5596415.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!