Connection to Database

Results 1 to 2 of 2

Thread: Connection to Database

  1. #1
    Mamya Guest

    Default Connection to Database

    the asp prog I wrote doesnt seem to connect to the Access database although I did set the ODBC connection to it thro the Control Panel. It displays this :<BR> "Microsoft VBScript runtime error &#039 800a01a8&#039 <BR> Object required: &#039Conn&#039 <BR> /users/default.asp, line 84 "<BR> I do not know what is the prob although I downloaded ODBC,ADO drivers.

  2. #2
    Vipin Chauhan Guest

    Default RE: Connection to Database

    Dear mamya,<BR>though it is not clear that you are using an ODBC connection or ADO connection means are u writing string like<BR>set conn=server.createobject("adodb.connection")<BR>co "dsn=&#060;what u made&#062;;uid=&#060;what u have&#062;"<BR>conn.execute "sql command"<BR>the problem may be for the following reason:<BR> dsn must be unique for a database. <BR> try it<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts