Re: TIMEOUT ERROR & Connection String Property
From: Abhinav Gargye (agargye_at_hotmail.com)
Date: 11/11/04
- Next message: Mike Schwarz: "iis hangs because of ole db connections"
- Previous message: Erland Sommarskog: "Re: TIMEOUT ERROR & Connection String Property"
- In reply to: Erland Sommarskog: "Re: TIMEOUT ERROR & Connection String Property"
- Next in thread: Erland Sommarskog: "Re: TIMEOUT ERROR & Connection String Property"
- Reply: Erland Sommarskog: "Re: TIMEOUT ERROR & Connection String Property"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 11 Nov 2004 08:35:57 -0600
Thanks for the reply Erland.
We have also been experiencing the following error periodically.
[DBNETLIB][ConnectionRead (recv()).]General network error.
You should know that the Webserver (IIS 5) & the DB are behind a firewall.
Microsoft SQL Server 2000 - 8.00.760 (Intel X86) Microsoft Corporation
Enterprise Edition on Windows NT 5.2 (Build 3790: )
Can anyone point out what may be causing this. Not sure if its related to
the Timeouts or vice-versa. Any input on this will be a great help.
thanks again
Abhinav
"Erland Sommarskog" <esquel@sommarskog.se> wrote in message
news:Xns959E261DEC9AYazorman@127.0.0.1...
> Abhinav Gargye (agargye@hotmail.com) writes:
> > We are experiencing Timeout Errors with oledb (MDAC 2.8)
> >
> > Is there anyway of setting the connection timeout property from the
> > connection string?
> >
> > I have tried out various combinations of Connection Timeout=60000;
> > Connection Timeout=60 etc. but there is no impact.
>
> I believe that only Timeout is what you want. The rule is that the
> keyword in the connection string is the same as the name for the
> property, with DBPROP_INIT_ stripped.
>
> > Properties="ConnectionTimeout=60000;CommandTimeout=60000;UID=P_USER";
>
> On the other hand, I don't think you can set the command timeout in
> the connection string, since this is a session property.
>
>
>
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
- Next message: Mike Schwarz: "iis hangs because of ole db connections"
- Previous message: Erland Sommarskog: "Re: TIMEOUT ERROR & Connection String Property"
- In reply to: Erland Sommarskog: "Re: TIMEOUT ERROR & Connection String Property"
- Next in thread: Erland Sommarskog: "Re: TIMEOUT ERROR & Connection String Property"
- Reply: Erland Sommarskog: "Re: TIMEOUT ERROR & Connection String Property"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|