Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_database_setup thread: Re: session timeout


Message #1 by "Atef Farag" <atef.farag@r...> on Thu, 22 Aug 2002 00:46:54
> Hello Again Dave,
> 
> 	That's right. You can't use the "ConnectionTimeout" property in a
> "recordset" ADOBD connection. Tou must use a "ADOBD.Connection" instead
> of "ADODB.Recordset".
> 
> 	Hope that helps.
> 
> 	Pedro Andrade
> 
> 
> 
> Dave Parkins wrote:
> > 
> > Thanks for your tip Pedro, unfortunately I tried it and it doesn't 
work. I'm
> > using Dreamweaver UltraDev4 and the coding for database connections is 
a
> > little different. I got the following error:
> > Microsoft VBScript runtime error '800a01b6'
> > 
> > Object doesn't support this property or method:
> > 'Recordset1.ConnectionTimeout'
> > 
> > /sales2.asp, line 16
> > 
> > The following is what the connection looks like with your line of code:
> > <%
> > set Recordset1 = Server.CreateObject("ADODB.Recordset")
> 
> 
> -- 
> _____________________________________________
> Pedro Andrade
> 
> N E T V I T A
> Information Systems
> 
> Tel: +351.239.700910
> Fax: +351.239.700911
> 
> http://www.netvita.pt
> mailto:pandrade@n...
> _____________________________________________
Message #2 by "Atef Farag" <atef.farag@r...> on Thu, 22 Aug 2002 00:48:09
HI did you solve the problem gyus?




> Hello Again Dave,
> 
> 	That's right. You can't use the "ConnectionTimeout" property in a
> "recordset" ADOBD connection. Tou must use a "ADOBD.Connection" instead
> of "ADODB.Recordset".
> 
> 	Hope that helps.
> 
> 	Pedro Andrade
> 
> 
> 
> Dave Parkins wrote:
> > 
> > Thanks for your tip Pedro, unfortunately I tried it and it doesn't 
work. I'm
> > using Dreamweaver UltraDev4 and the coding for database connections is 
a
> > little different. I got the following error:
> > Microsoft VBScript runtime error '800a01b6'
> > 
> > Object doesn't support this property or method:
> > 'Recordset1.ConnectionTimeout'
> > 
> > /sales2.asp, line 16
> > 
> > The following is what the connection looks like with your line of code:
> > <%
> > set Recordset1 = Server.CreateObject("ADODB.Recordset")
> 
> 
> -- 
> _____________________________________________
> Pedro Andrade
> 
> N E T V I T A
> Information Systems
> 
> Tel: +351.239.700910
> Fax: +351.239.700911
> 
> http://www.netvita.pt
> mailto:pandrade@n...
> _____________________________________________

  Return to Index