asp页面超时问题(急)

hlq 2000-04-12 09:33:00
asp页面超时问题
我在一个asp页面中,调用一个activeX dll,这个dll连接oracle数据库,执行一些查询,将查询结果写到excel中,但是dll执行需要大约10-15分钟左右的时间,所以当dll尚未完成查询操作时,ie浏览器包错,xxx.asp操作超时
...全文
140 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
paul_feng 2000-04-13
  • 打赏
  • 举报
回复
1.所有ASP的缺省到期值储存在IIS3.0里的SCRIPTTIMEOUT登录中或IIS4.0里的元库里,缺省值为90秒,可以修改这个缺省值
2.也可以在程序里修改这个缺省值,语句如下:
Server.scripttimeout='#'(秒)
small_wolf 2000-04-13
  • 打赏
  • 举报
回复
很不幸,你可能要修改注册表
When you connect to a Web site that takes more than five minutes to return information to Internet Explorer, you may receive one of the following error messages:

Microsoft Internet Explorer error 10060 connection timed out.
Internet Explorer cannot open the Internet site <Web address>. The operation timed out.
原文请参照微软MSDN中的Q181050
1. IE要4.01 sp1以上版本.
2. 在注册表中HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings中
加一DWORD类型ReceiveTimeout,值设大一些,单位是毫秒
3. restart computer.
xzou 2000-04-13
  • 打赏
  • 举报
回复
同意paul_feng的意见,切记Server.scripttimeout='#'要放在asp程序之前设置
gxli 2000-04-12
  • 打赏
  • 举报
回复
去修改超时的限制,在IIS里面。很简单。默认的是900秒。

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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