Timeout expired in connection

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

  1. #1

    Default Timeout expired in connection

    Hi,

    I have problems using COM+ object. In the object I run stored procedure
    using command object to get statistics information from database. The server
    component running and too IIS 5.0 under W2K. The database in other server.

    1 fact:
    - Normal operation return with server working low process and filters is
    shorten time(5 days).The statistics table have most of 700.000 itens
    - Command object running with command timeout default.
    - COM+ have more than 10 minutes of shutdown time
    This enviroment was worked before.

    2 fact:
    - Change command timeout of command object to try solve problem, but not
    work.

    3 fact:
    - I create page with to debug other methods:
    1) insert direct connection from ASP page to stored procedure and
    commandtimeout is default;
    2) insert direct connection change commandtimeout to 600;
    3) insert the access to object call statistic's stored procedure;

    Results:
    1) An error returned to timeout with code: -2147217871;
    2) The statistics is returned from stored procedure without problens;
    3) Object is returned other code for timeout and I not find
    solution: -2147221494;


    I wanna know what´s happening now, because all stuff were right before.
    Is it could be a problem caused by a large number of registers at the tables
    involved on query?
    Before, when the enviroment worked very well, the number of rows in the
    table was less then 50.000. Now, this number is almost 800.000.

    Tks,
    Jones



    Jones Ambrosi Guest

  2. Similar Questions and Discussions

    1. timeout expired error
      I am using visual web developer and the odbc driver to connect to a mysql database. It seems like every four or five connections to the database...
    2. ASP + SQL Server - Timeout Expired
      Hello In my ASP page I am trying to ascertain whether a randomly generated ID starts with certain characters that are not allowed or has been used...
    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. Timeout expired
      I programmed an ASP web app a while ago and all worked fine. All the sudden one day I start getting the following error when trying to Insert,...
    5. ado.net Timeout expired
      Hi I get SQLException of Timeout expired when the Sp takes more than 30 seconds to run. I already put the Connect Time = 300 and CommandTimeout =...
  3. #2

    Default Timeout expired in connection

    Hi,

    I have problems using COM+ object. In the object I run stored procedure
    using command object to get statistics information from database. The server
    component running and too IIS 5.0 under W2K. The database in other server.

    1 fact:
    - Normal operation return with server working low process and filters is
    shorten time(5 days).The statistics table have most of 700.000 itens
    - Command object running with command timeout default.
    - COM+ have more than 10 minutes of shutdown time
    This enviroment was worked before.

    2 fact:
    - Change command timeout of command object to try solve problem, but not
    work.

    3 fact:
    - I create page with to debug other methods:
    1) insert direct connection from ASP page to stored procedure and
    commandtimeout is default;
    2) insert direct connection change commandtimeout to 600;
    3) insert the access to object call statistic's stored procedure;

    Results:
    1) An error returned to timeout with code: -2147217871;
    2) The statistics is returned from stored procedure without problens;
    3) Object is returned other code for timeout and I not find
    solution: -2147221494;


    I wanna know what´s happening now, because all stuff were right before.
    Is it could be a problem caused by a large number of registers at the tables
    involved on query?
    Before, when the enviroment worked very well, the number of rows in the
    table was less then 50.000. Now, this number is almost 800.000.

    Tks,
    Jones



    Jones Ambrosi Guest

  4. #3

    Default Re: Timeout expired in connection

    Jones Ambrosi wrote:
    > Hi,
    >
    > I have problems using COM+ object. In the object I run stored
    > procedure using command object to get statistics information from
    > database. The server component running and too IIS 5.0 under W2K. The
    > database in other server.
    >
    > 1 fact:
    > - Normal operation return with server working low process and filters
    > is shorten time(5 days).The statistics table have most of 700.000
    > itens
    > - Command object running with command timeout default.
    > - COM+ have more than 10 minutes of shutdown time
    > This enviroment was worked before.
    >
    > 2 fact:
    > - Change command timeout of command object to try solve problem, but
    > not work.
    >
    > 3 fact:
    > - I create page with to debug other methods:
    > 1) insert direct connection from ASP page to stored procedure and
    > commandtimeout is default;
    > 2) insert direct connection change commandtimeout to 600;
    > 3) insert the access to object call statistic's stored procedure;
    >
    > Results:
    > 1) An error returned to timeout with code: -2147217871;
    > 2) The statistics is returned from stored procedure without
    > problens; 3) Object is returned other code for timeout and I not
    > find
    > solution: -2147221494;
    >
    >
    > I wanna know what´s happening now, because all stuff were right
    > before.
    > Is it could be a problem caused by a large number of registers at the
    > tables involved on query?
    > Before, when the enviroment worked very well, the number of rows in
    > the table was less then 50.000. Now, this number is almost 800.000.
    >
    > Tks,
    > Jones
    Same thing on on AS400, reindexing the databases solved the problem.


    jbongran Guest

  5. #4

    Default Re: Timeout expired in connection

    Jones Ambrosi wrote:
    > Hi,
    >
    > I have problems using COM+ object. In the object I run stored
    > procedure using command object to get statistics information from
    > database. The server component running and too IIS 5.0 under W2K. The
    > database in other server.
    >
    > 1 fact:
    > - Normal operation return with server working low process and filters
    > is shorten time(5 days).The statistics table have most of 700.000
    > itens
    > - Command object running with command timeout default.
    > - COM+ have more than 10 minutes of shutdown time
    > This enviroment was worked before.
    >
    > 2 fact:
    > - Change command timeout of command object to try solve problem, but
    > not work.
    >
    > 3 fact:
    > - I create page with to debug other methods:
    > 1) insert direct connection from ASP page to stored procedure and
    > commandtimeout is default;
    > 2) insert direct connection change commandtimeout to 600;
    > 3) insert the access to object call statistic's stored procedure;
    >
    > Results:
    > 1) An error returned to timeout with code: -2147217871;
    > 2) The statistics is returned from stored procedure without
    > problens; 3) Object is returned other code for timeout and I not
    > find
    > solution: -2147221494;
    >
    >
    > I wanna know what´s happening now, because all stuff were right
    > before.
    > Is it could be a problem caused by a large number of registers at the
    > tables involved on query?
    > Before, when the enviroment worked very well, the number of rows in
    > the table was less then 50.000. Now, this number is almost 800.000.
    >
    > Tks,
    > Jones
    Same thing on on AS400, reindexing the databases solved the problem.


    jbongran Guest

  6. #5

    Default Re: Timeout expired in connection

    Hi,

    I try reindex table but the errors persist. I like understand error's
    significat to solve this problem. If you teaching me about timeout expired
    erros I will be grateful.


    "jbongran" <jbongran@free.fr> wrote in message
    news:3f3010cf$0$15113$626a54ce@news.free.fr...
    > Jones Ambrosi wrote:
    > > Hi,
    > >
    > > I have problems using COM+ object. In the object I run stored
    > > procedure using command object to get statistics information from
    > > database. The server component running and too IIS 5.0 under W2K. The
    > > database in other server.
    > >
    > > 1 fact:
    > > - Normal operation return with server working low process and filters
    > > is shorten time(5 days).The statistics table have most of 700.000
    > > itens
    > > - Command object running with command timeout default.
    > > - COM+ have more than 10 minutes of shutdown time
    > > This enviroment was worked before.
    > >
    > > 2 fact:
    > > - Change command timeout of command object to try solve problem, but
    > > not work.
    > >
    > > 3 fact:
    > > - I create page with to debug other methods:
    > > 1) insert direct connection from ASP page to stored procedure and
    > > commandtimeout is default;
    > > 2) insert direct connection change commandtimeout to 600;
    > > 3) insert the access to object call statistic's stored procedure;
    > >
    > > Results:
    > > 1) An error returned to timeout with code: -2147217871;
    > > 2) The statistics is returned from stored procedure without
    > > problens; 3) Object is returned other code for timeout and I not
    > > find
    > > solution: -2147221494;
    > >
    > >
    > > I wanna know what´s happening now, because all stuff were right
    > > before.
    > > Is it could be a problem caused by a large number of registers at the
    > > tables involved on query?
    > > Before, when the enviroment worked very well, the number of rows in
    > > the table was less then 50.000. Now, this number is almost 800.000.
    > >
    > > Tks,
    > > Jones
    >
    > Same thing on on AS400, reindexing the databases solved the problem.
    >
    >

    Jones Ambrosi Guest

  7. #6

    Default Re: Timeout expired in connection

    Hi,

    I try reindex table but the errors persist. I like understand error's
    significat to solve this problem. If you teaching me about timeout expired
    erros I will be grateful.


    "jbongran" <jbongran@free.fr> wrote in message
    news:3f3010cf$0$15113$626a54ce@news.free.fr...
    > Jones Ambrosi wrote:
    > > Hi,
    > >
    > > I have problems using COM+ object. In the object I run stored
    > > procedure using command object to get statistics information from
    > > database. The server component running and too IIS 5.0 under W2K. The
    > > database in other server.
    > >
    > > 1 fact:
    > > - Normal operation return with server working low process and filters
    > > is shorten time(5 days).The statistics table have most of 700.000
    > > itens
    > > - Command object running with command timeout default.
    > > - COM+ have more than 10 minutes of shutdown time
    > > This enviroment was worked before.
    > >
    > > 2 fact:
    > > - Change command timeout of command object to try solve problem, but
    > > not work.
    > >
    > > 3 fact:
    > > - I create page with to debug other methods:
    > > 1) insert direct connection from ASP page to stored procedure and
    > > commandtimeout is default;
    > > 2) insert direct connection change commandtimeout to 600;
    > > 3) insert the access to object call statistic's stored procedure;
    > >
    > > Results:
    > > 1) An error returned to timeout with code: -2147217871;
    > > 2) The statistics is returned from stored procedure without
    > > problens; 3) Object is returned other code for timeout and I not
    > > find
    > > solution: -2147221494;
    > >
    > >
    > > I wanna know what´s happening now, because all stuff were right
    > > before.
    > > Is it could be a problem caused by a large number of registers at the
    > > tables involved on query?
    > > Before, when the enviroment worked very well, the number of rows in
    > > the table was less then 50.000. Now, this number is almost 800.000.
    > >
    > > Tks,
    > > Jones
    >
    > Same thing on on AS400, reindexing the databases solved the problem.
    >
    >

    Jones Ambrosi 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