Re: Microsoft OLE DB Provider for SQL Server (0x80004005)

From: AMills (AMills_at_discussions.microsoft.com)
Date: 09/17/04


Date: Fri, 17 Sep 2004 07:51:07 -0700

Bob:

that was our dilemna as well. Every other time a timeout has occured: we
have gotten a timeout error.

All that we did was add this line after setting our connection to the
database:
objConn.CommandTimeout = 240

Thanks for all your help and insight. We really appreciate the help.
Thanks
Andy

"Bob Barrows [MVP]" wrote:

> Well done, although I'm puzzled by this. Time outs usually generate timeout
> errors for me, not connection failures. Exactly what did you do to fix this?
>
> Bob Barrows
>
>
> AMills wrote:
> > Hello Guys:
> >
> > We found the problem. It was a CommandTimeOut issue. By upping the
> > timeout, the error has been fixed.
> >
> > "AMills" wrote:
> >
> >> Hello Guys:
> >>
> >> We are getting the following error and not sure why.
> >>
> >> Microsoft OLE DB Provider for SQL Server (0x80004005)
> >> [DBNETLIB][ConnectionRead (WrapperRead()).]General network error.
> >> Check your network documentation.
> >>
> >> This error is being generated from an ASP page to a SQL Server 2000
> >> database. This error ONLY occurs when running from the web-page.
> >> When we run the Stored Procedure on the database server itself:
> >> this error is not generated.
> >>
> >> When researching: Microsoft says it might be a connection pooling
> >> issue. However: this is the only stored procedure that generates
> >> this error. And when making the modifications suggested by
> >> Microsoft, we still recieve this error. The SP is not returning a
> >> recordset, and the code is not expecting one in return.
> >>
> >> Would anyone be able to tell us what is wrong and what is causing
> >> this error?
> >>
> >> Thanks
> >> Andy
>
> --
> 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.
>
>
>



Relevant Pages

  • RE: Internet timeouts on workstations
    ... Does "Timeout on new pages" is an error message? ... Microsoft CSS Online Newsgroup Support ... "Notify me of replies" box to receive e-mail notifications when there are ... you may want to contact Microsoft CSS directly. ...
    (microsoft.public.windows.server.sbs)
  • RE: time out remote access
    ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... |> II. Remote Web Workplace timeout: ... |> If we cannot resolve the issue after we perform the above steps, ...
    (microsoft.public.windows.server.sbs)
  • RE: Remote Web Workplace
    ... Thank you for posting to the SBS Newsgroup. ... The default timeout setting for public computer in RWW is 20 minutes. ... they will be disconnected after 120 minutes of idle time. ... On the right pane, you will find two DWORD values, PublicTimeOut for ...
    (microsoft.public.windows.server.sbs)
  • RE: VBScript: Remote Desktop Disconnected
    ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... any updates in your thread. ... >> Remote Web Workplace timeout ...
    (microsoft.public.windows.server.sbs)
  • RE: VBScript: Remote Desktop Disconnected
    ... Thank you for posting in the SBS newsgroup. ... Remote Web Workplace timeout ... Restart the IIS Service or restart the SBS Server. ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)