谁来 帮我看下?这个事什么问题 链接不上sql

cloud100x 2009-12-21 01:54:31
Server Error in '/' Application.
--------------------------------------------------------------------------------

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 - 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。)
...全文
1254 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
profit_2009 2010-01-23
  • 打赏
  • 举报
回复
我想应该是路径的问题
hb0513 2009-12-21
  • 打赏
  • 举报
回复
路径问题
看看你的web.config 连接串
cloud100x 2009-12-21
  • 打赏
  • 举报
回复
改了下连接字符串变这样

Server Error in '/' Application.
--------------------------------------------------------------------------------

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
cloud100x 2009-12-21
  • 打赏
  • 举报
回复
我的 程序和 sql数据库不在同一台服务器上

本地程序连接sql服务器 可以连接上
程序放到 web服务器就连不上去
这个应该不是 sql服务器的问题吧
xzq686 2009-12-21
  • 打赏
  • 举报
回复
Verify that the instance name is correct and that SQL Server is configured to allow remote connections
确信实例名正确,并且SQLSERVER允许远程连接..
SQLSERVER-配置工具 -RSQL Server 外围应用配置器--服务和连接外围配置
检查一下--有个服务器连接...看是否选成只限本机..
zhulong1111 2009-12-21
  • 打赏
  • 举报
回复
防火墙》》》 在外围配置里 sql server服务设置为自动?? 手动的每次开启要手动启动哦 sql 连接字符串??
cloud100x 2009-12-21
  • 打赏
  • 举报
回复
问题是我 在本地连接正常 到服务上就这样了
三碗猪脚 2009-12-21
  • 打赏
  • 举报
回复
检查你的连接字符串,或者远程服务器禁止远程登录
wsj1983920 2009-12-21
  • 打赏
  • 举报
回复
服务器地址不对?

62,046

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧