Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 611
  • Last Modified:

ScriptTimeOut.. ARGH!...

Microsoft VBScript runtime error '800a01c3'
Object not a collection: 'Server.ScriptTimeOut'
/cheats/view.asp, line 1


I dont really know how to use the ScriptTimeOut function.. so please could someone help me.. it was set to 300 seconds.. 5 minutes I think.. thanks!
0
DigitalSmash
Asked:
DigitalSmash
  • 2
  • 2
  • 2
1 Solution
 
david_levineCommented:
I threw togethr a quick script. Here's the code...

<HTML>
<HEAD>
<TITLE>Experts-Exchange Test</TITLE>
</HEAD>
<BODY>
<%

server.scripttimeout = 300
response.write "This page can run for "
response.write server.scripttimeout
response.write " seconds before it time out.<p>"
%>

</BODY>
</HTML>


Here's the output...
This page can run for 300 seconds before it time out

How does it differ from yours?
0
 
robbertCommented:
Probably, you're trying to set;

Server.ScriptTimeOut(300)

The correct syntax is;

Server.ScriptTimeOut = 300

Or go to Start | Programs | WinNT 4 Option Pack | Internet Info Server | Internet Service Manager
Select your web site, right-click, Properties,
Tab Home Directory, Button Application Configuration, Tab App Options, ASP Script Timeout.

I bet your program is not OK, since you need such a large timeout. Any questions to that?
0
 
DigitalSmashAuthor Commented:
robbert.. I'll test that and probably give you the points.. thanx
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
david_levineCommented:
Just wondering, what did Robert post after me that would get him the points?
0
 
robbertCommented:
Sorry, I was offline for a longer time, and posted next to david_levine. He should get the points.
0
 
DigitalSmashAuthor Commented:
k.. not tested it but I'm sure it will work.. thanx, both.. points to dave then.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now