Inserting thousand of row (timeout?)

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Inserting thousand of row (timeout?)

    I'm importing thousands of rows into a sql server table using ASP on a
    hosted machine.. I've got Server.ScriptTimeout set to 150000.

    For some reason it quits at a 1000 rows or so.. is it possible that my web
    host has set a script timeout on the server side that is overriding my
    script settings?

    TIA





    Your Name Here Guest

  2. Similar Questions and Discussions

    1. #40750 [NEW]: fsockopen timeout parameter overwrites timeout for reading
      From: andreas dot rieber at 2e-systems dot com Operating system: OpenSuse PHP version: 5.2.1 PHP Bug Type: Network related...
    2. WebService ignoring timeout properties? (Server was unable to process request. --> Timeout exired)
      Hi! I have a webservice serving the latest orders from a webshop. The customer uses a forms app client to fetch these orders and push them into...
    3. Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
      Gary Why not just change the connection timeout property? Your doing an update statement, which could take various amounts of time depending on...
    4. A picture is worth a thousand words
      Hi everybody! How cool is Google Groups! As a brief introduction, my name is David and I am a university student from Melbourne, Australia. I...
    5. HELP!Step-by-step guide to inserting a TimeOut needed...
      I have created a touchscreen game in Director MX and need to insert a time-out whereas if the game is left mid-play for a certain amount of time it...
  3. #2

    Default Re: Inserting thousand of row (timeout?)

    Your Name Here wrote:
    > I'm importing thousands of rows into a sql server table using ASP on a
    > hosted machine.. I've got Server.ScriptTimeout set to 150000.
    >
    > For some reason it quits at a 1000 rows or so.. is it possible that
    > my web host has set a script timeout on the server side that is
    > overriding my script settings?
    >
    > TIA
    Probably.
    This is a horrible (mis)use of web server resources. You should be using DTS
    or bcp to bring those records into your database. With DTS, you can use an
    ActiveX script task to do anything you are doing to the data in your asp
    page. Since it's being done by the database server, your website users won't
    have to wait for the slow asp-based import.

    HTH,
    Bob Barrows


    Bob Barrows Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139