473,698 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ScriptTimeout Error

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.ScriptTi meout = 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
Jul 19 '05 #1
1 1914
Sam Kong wrote:
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.ScriptTi meout = 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.d ts where you can
find some help. The beauty of DTS is that it can be scheduled to run
periodically.

HTH,
Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
24002
by: Bryan | last post by:
I'm looking for a definitive answer to a Server.ScriptTimeout question. if I add <% Server.ScriptTimeout = 300 %> to a page, does that then alter the default 90 second script timeout for ALL pages (if so, is it for that session or until??) or does it just alter the timeout for THAT individual page? I've been through the IIS docs and I haven't been able to find the definitive answer.
0
1053
by: Deepson Thomas | last post by:
Hi, i want to trap the ASP ScriptTimeout Error. Its okay if i can do it in the same page or redirect to any other page via coding or via any changes in IIS. This is very important to us. Waiting for ur reply. Thanks in advance -- Deepson Thomas
0
1844
by: g_sharad | last post by:
Hi I am trying to use the server.scriptimeout for my asp code for sending the mails to my 1000 odd subscribers But after approx 150 records the script gives an error... saying pls reset the server timeout properties ----------- Active Server Pages error 'ASP 0113'
6
16135
by: Anthony Williams | last post by:
Hi all, Am I right in thinking that if I set Server.ScriptTimeout to, say, 600 that every request for an .ASPX page will wait up to 600 seconds before responding with a "Request Timed Out" exception? If I am right, then something screwy is going on with my server. Allow me to explain. I have a wee page that sends 30 emails out to various people in our company
1
1960
by: Ted Burhan | last post by:
Can anyone please explain to me what Server.ScriptTimeout actually is? I don't quite understand the explanation in the documentation. In my aspx page, I typed in the following codes: private void Page_Load(object sender, System.EventArgs e) { Server.ScriptTimeout = 2;
1
3229
by: Chris | last post by:
I've created an aspx page that should time out every time it is executed, yet it never does. It seems as though the value of Server.ScriptTimeout is just being ignored by asp.net - I've also set executionTimeout in Machine.Config and Web.Config to = "3", which is also being ignored. I've tried rebooting, iisreseting, begging, and pleading. Can someone please tell me what I'm doing wrong WebForm1.aspx.c using System using...
0
1604
by: srt | last post by:
Hi, I have some problems with setting Server.ScriptTimeout. The posted script doesn't stop after 120 seconds (the timestamps are displayed after the 120 seconds and I stopped the server after 5 minutes;-) Is this a bug in asp.net and is there a simple workaround? I tested this issue with Framework 1.1 (with and without SP1). Script: public class Test : System.Web.UI.Page
3
9968
by: Arsen V. | last post by:
I am trying to make the page execute timeout after 2 seconds. I first tried using the Server.ScriptTimeout = 2 in the Page_Load() event. The next line does System.Threading.Thread.Sleep(10000); // 10 second pause I was expecting the page to timeout with a Request timeout error. However, it did not timeout and continue to execute for the full 10 seconds. Next, I tried to use the <httpRuntime> configuration to set the executionTimeout...
0
1416
by: troubleswithaspscripts | last post by:
Hi all, I'm new to this group. I was trying to trap the asp scripttimeout error (asp 0113) and give a custom error page to the users of my application. But iam failing to do so. Please help me how to acheive this funcationality. I have seen the solution given by the msdn where in i was asked to make the page transactional and use the method "onTransactionAbort()". But i dont know what does that transactional mean and so...
0
8668
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8855
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7708
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4358
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4612
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2320
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1995
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.