这里我连接Sql Server时出错了 [英] Here I Got Error While Connect Sql Server

查看:92
本文介绍了这里我连接Sql Server时出错了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我登录我的页面时,我收到以下错误的捕获异常。请教我如何解决这个问题



when i Login my page i got this below error in catch exception.Please teach me how to resolve this

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)

推荐答案



检查这个

sql server配置管理器

找到你的实例名称重启它。

最好的问候

M.Mitwalli
Hi ,
Check this
Go sql server configuration manager
find your instance name restart it .
Best regards
M.Mitwalli


如何解决与网络相关或特定于实例的错误? [ ^ ]


server = servername; Initial Catalog = dbname; user id = usrnm; password = pwd



试试这个
server=servername;Initial Catalog=dbname;user id=usrnm;password=pwd

Try this


这篇关于这里我连接Sql Server时出错了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆