为什么在2005中总是报[SQL Native Client]Shared Memory Provider: Timeout error [258].的错误?

ltg 2006-06-20 04:14:56
为什么在2005中总是报[SQL Native Client]Shared Memory Provider: Timeout error [258].的错误?
...全文
499 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
liudianhalf 2006-06-22
  • 打赏
  • 举报
回复
有个设置是脚本超时时间,看看是不是这个的设置和你的查询脚本运行时间之间存在问题.另外程序的sql语句运行时间长也可能产生这样的问题.如果是以上原因那么你要优化你的查询语句了.
athossmth 2006-06-21
  • 打赏
  • 举报
回复
run "start->programs->microsoft sql server 2005->configuration tools->sql server configuration manager",
select "sql server configuration manager->sql serer 2005 network configuration->protocols for SQLEXPRESS", set "shared Memory" as "enabled",
select "sql server configuration manager->sql native client configuration->client protocols", set "shared Memory" as "enabled",

athossmth 2006-06-21
  • 打赏
  • 举报
回复
后面不是说了吗

1) Were you trying to make local or remote connection?
2) What does your connection string looks like, please try removing "lpc:" prefix if you specified.
3) Run *cliconfg* in the command line, check off box "enable shared memory protocol".
4) Double check whether your SQL 2000 instance started successfully, and listen on shared memory / named pipe/ tcp from server errorlog.
ltg 2006-06-21
  • 打赏
  • 举报
回复
这篇文章我早已经看过了,上面没有说明如何避免呀.
gohst001 2006-06-20
  • 打赏
  • 举报
回复
2005还不熟悉
不过搜索了一下 这文章好象说的不错
http://blogs.msdn.com/sql_protocols/archive/2005/09/28/474698.aspx

6,129

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server 新技术前沿
社区管理员
  • 新技术前沿社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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