Nope. Global.asa has only the following: Session("ConnectionString") = "Provider=HitOleDB400;User ID=WebUser;Password=????;Data Source=Sol;Use Unq Tab Names=true;remove blanks=true;Binary Chars=TRUE;Libraries=,WDGEN,YAPPOBJ,*USRLIBL;Package Library=QTEMP" With the password changed to protect the innocent. I use session() instead of application() because I like the ability to override the connection string if necessary. The connection is created and deleted as needed. Now remember, as I said OLEDB does connection pooling so the connection isn't really closed for a few minutes. -Walden ------------ Walden H Leverich III President Tech Software (516)627-3800 x11 WaldenL@TechSoftInc.com http://www.TechSoftInc.com -----Original Message----- From: Nathan M. Andelin [mailto:email@example.com] Sent: Monday, January 07, 2002 14:26 To: firstname.lastname@example.org Subject: Re: Web enablement options (previously private) From: "Walden H. Leverich" <WaldenL@TechSoftInc.com> >I would do the following in my page: > Dim cn, rs, sql > Sql = "select this, that from here where there = 7" > set cn = server.createobject("adodb.connection") > set rs = server.createobject("adodb.recordset") > cn.open session("ConnectionString") > set rs.ActiveConnection = cn > rs.CursorLocation = adUseClient > rs.open sql > set rs.activeconnection = nothing > cn.close > set cn = nothing Is your database connection defined in the IIS global.asa file? For example, did you also do something like the following?: right-mouse click the global.asa file choose Add Data Connection Thanks, Nathan M. Andelin www.relational-data.com _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-Lemail@example.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.