“建立与服务器的连接时与网络有关的错误";使用Windows 7未找到服务器?

问题描述:



使用Windows 7找不到与服务器建立连接时与网络相关的错误"服务器,但XP仍能正常工作
我的连接字符串就像"server =.\ sqlexpress; database = dbname; integrated security = true"

怎么了..但是在XP中工作正常...



"Network related error when establishing the connection to server" server is not found using windows 7 but same case XP is working fine
my connectionstring is like "server=.\sqlexpress;database=dbname;integrated security=true"

what''s wrong it ..but in XP working fine...

可能是表面积配置错误或sql服务配置问题.请查看此线程的潜在原因和解决方法: [ http://forums.asp.net/t/1334649.aspx [
It might be surface area configuration error or sql service configuration issue. Have a look at this thread for potential reasons and resolutions: Resolving "A network-related or instance-specific error occurred while establishing a connection to SQL Server…" [^]


If this does not resolve your issue, have a look at this thread:
http://forums.asp.net/t/1334649.aspx[^]
Quite few possible reasons and resolutions are proposed here too.