Unspecified error '80004005'

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

  1. #1

    Default Re: Unspecified error '80004005'

    Hi ,

    Please help!!!!!

    I got the same problem as well....... I encounter the problem when I upload a large excel file(more than 5000 records) to sql database using ASP page...... But it worked fine if the excel file is small(less than 1000 records......Everytime I got this error, I found it stopped at the command to open recordset.......


    and got the following error:

    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    Unspecified error

    /cddev/Lib/CDUtil.asp, line 3212

    I guess it is something related to timeout. Why I say so? Actually, for the whole upload process, I am using a single database connection object. And I found that the problem is relieved if I restart the database connection after reading a certain numbers of records(say 700 rec). However, it is not a temporary workaround.

    Here, I would like to give some more information about the configuration:
    I am using SQL Server 200, ASP....

    Below is the connection string I am using:
    "PROVIDER=MSDASQL;DRIVER={SQL Server};SERVER=localhost;DATABASE=CDLive;UID=smait ;PWD=smait;"

    Actually, I am not sure how I should fix the problem. Is there anyone could give me some advice? Is there any configuration I need to do like timeout value for connection can be modified so as to get rid of the problem?


    Many Thanks
    Irene

    "Aaron [SQL Server MVP]" wrote:
    > [url]http://www.aspfaq.com/2142[/url]
    >
    > --
    > [url]http://www.aspfaq.com/[/url]
    > (Reverse address to reply.)
    >
    >
    >
    >
    > "3legs" <3legs@askme.com> wrote in message
    > news:uLwn6YdUEHA.2908@TK2MSFTNGP10.phx.gbl...
    > > When openning the database, sometimes (yes, not always) it gives the
    > error:
    > > "Unspecified error". How could I trace what the problem was?
    > >
    > >
    > >
    >
    >
    >
    MY Cheng Guest

  2. Similar Questions and Discussions

    1. Unspecified error (80004005) - viewing live asp pages
      Hi I am having problems viewing my asp pages. with the following error message. I can view the page once but when I go back to Dreamweaver and...
    2. Unspecified Error
      When openning the database, sometimes (yes, not always) it gives the error: "Unspecified error". How could I trace what the problem was?
    3. Provider error '80004005' Unspecified error - ARRRGGGHHH!!!!!
      I have searched usenet & dev sites to no avail although many have had similar problems, reckon its an issue with DSN but not sure.. error occurs...
    4. Unspecified Error (80004005) executing Request.Form()
      There is a limit to the amount of data you can post through a form. For a file of that size you probably need to treat it as an upload. ...
    5. Microsoft OLE DB Provider for ODBC Drivers error '80004005' Error
      Hi folks - i've got a windows 2000 server (SP3) i've run the IIS lockdown tool on it and set for dynamic websites - all the static pages within the...
  3. #2

    Default Re: Unspecified error '80004005'

    On Tue, 15 Jun 2004 20:28:01 -0700, "MY Cheng" <MY
    [email]Cheng@discussions.microsoft.com[/email]> wrote:
    >Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    >
    >Unspecified error
    >
    >/cddev/Lib/CDUtil.asp, line 3212
    >
    >I guess it is something related to timeout. Why I say so? Actually, for the whole upload process, I am using a single database connection object. And I found that the problem is relieved if I restart the database connection after reading a certain numbers of records(say 700 rec). However, it is not a temporary workaround.
    Still might look at the FAQ referenced if you haven't yet.
    >Below is the connection string I am using:
    > "PROVIDER=MSDASQL;DRIVER={SQL Server};SERVER=localhost;DATABASE=CDLive;UID=***** ;PWD=*****;"
    It's not generally smart to post a user ID and password in a public
    newsgroup. :)
    >Actually, I am not sure how I should fix the problem. Is there anyone could give me some advice? Is there any configuration I need to do like timeout value for connection can be modified so as to get rid of the problem?
    Perhaps. A smarter solution would be to limit the number of records
    returned by your query, use indexes to optimize the query and
    otherwise streamline the code.

    Jeff
    >Many Thanks
    >Irene
    >
    >"Aaron [SQL Server MVP]" wrote:
    >
    >> [url]http://www.aspfaq.com/2142[/url]
    >>
    >> --
    >> [url]http://www.aspfaq.com/[/url]
    >> (Reverse address to reply.)
    >>
    >>
    >>
    >>
    >> "3legs" <3legs@askme.com> wrote in message
    >> news:uLwn6YdUEHA.2908@TK2MSFTNGP10.phx.gbl...
    >> > When openning the database, sometimes (yes, not always) it gives the
    >> error:
    >> > "Unspecified error". How could I trace what the problem was?
    >> >
    >> >
    >> >
    >>
    >>
    >>
    Jeff Cochran 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