该系统具有登录屏幕,从数据库获取数据,登录屏幕检查来自同一数据库的数据。如果登录成功,则加载form2 .登录在客户端PC上成功,但当它试图以第二种形式从数据库读取数据时,form2 ..我试图连接到数据库时出错了.因此,在开始时,系统可以连接到数据库(form1 -登录表单)。下面是我得到的错误..。0x80131904): A network-related or instance-specific error occurred
嗨,我面临下面的问题,windows 2008 r2企业版,但它是好的windows 2008 r2标准版本。
问题: .Net windows服务称为web服务。在错误下面抛出Web服务。System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQLVerify that the instance name is correct and that SQL</
使用web服务时无法连接到SQL server。When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settingsSQL Server does not allow remote connections.(provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instan