<span id="blogname"></span>


All that's beautiful drifts away like the waters ——W. B. Yeats
Modisied by Leslie-Cheung.com
 
2021/8/21 16:16:00
Microsoft OLE DB Provider for SQL Server error '80
 
ASP出现错误:
Microsoft OLE DB Provider for SQL Server error '80040e31' 

解决方案:
conn变量在CreateOBJ之后、连接服务器之前的地方加上以下语句:
conn.ConnectionTimeout=30 '连接数据库超时秒数
conn.CommandTimeout=300 '执行命令(SQL、存储过程)超时秒数
 
By 小鱼儿  阅读全文 | 回复(0) | 引用通告 | 编辑

发表评论:
 
Calendar

<<  < 2021 - >  >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

Login


Bulletin
Recent Entries
Comments
Messages
Information
Links


Designed by Subdreamer
 
Powered by Oblog.