ScriptTimeout Error

S

Sam Kong

Hello!

I made an ASP page which converts big data from a CSV file to SQL Server.
It takes so long like an hour.
So in the page I wrote the following line.

Server.ScriptTimeout = 100000

But the pages gives an timeout error after about 40 minutes.

When I tested it with empty infinite loop, it went over 1 hour.

I can't find anything else that I can do about it at this point.

What can I do?


TIA.

Sam
 
B

Bob Barrows

Sam said:
Hello!

I made an ASP page which converts big data from a CSV file to SQL
Server. It takes so long like an hour.
So in the page I wrote the following line.

Server.ScriptTimeout = 100000

But the pages gives an timeout error after about 40 minutes.

When I tested it with empty infinite loop, it went over 1 hour.

I can't find anything else that I can do about it at this point.

What can I do?
Stop using ASP for this task. SQL Server has Data Transformation Services
which is designed for this sort of task. See www.sqldts.com for some
pointers. There is also a dts newsgroup: m.p.sqlserver.dts where you can
find some help. The beauty of DTS is that it can be scheduled to run
periodically.

HTH,
Bob Barrows
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top