Re: ASP Server Create Object

Bill Appledorf ( (no email) )
Tue, 2 Jun 1998 23:16:28 -0700

All the fluff in your code having to do with tables and so on is not
relevant to the question you asked. People will have an easier time helping
you if you learn what to include and what to omit when you describe a
problem.

Set DBConn =
Server.CreateObject("ADODB.Connection")
DBConn.ConnectionTimeout = Session("DBConn_ConnectionTimeout")
DBConn.CommandTimeout = Session("DBConn_CommandTimeout")
DBConn.Open Session("DBConn_ConnectionString"),
Session ("DBConn_RuntimeUserName"),
Session("DBConn_RuntimePassword")

The last three lines above are absent from your code.

If you use Visual Interdev, use their design time Data Command Control to
generate some code for you. Use that code to figure out how database
connections work in ASP.

Bill Appledorf
billappledorf@usa.net
- - - - - - - - - - - - - - - - - - - - - -