Newbie - Database connection problem.

Results 1 to 2 of 2

Thread: Newbie - Database connection problem.

  1. #1
    Join Date
    Dec 1969

    Default Newbie - Database connection problem.

    Hi,<BR>I&#039;m fairly new to ASP..<BR>I&#039;m trying to connect to an Access database in ASP.<BR>However when I try to open the database ( I get the following error:<BR><BR>Error Type:<BR>Microsoft OLE DB Provider for ODBC Drivers (0x80004005)<BR>[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified<BR><BR>I have set up a System DSN and everything seems to be in order.<BR>What is the usual cause of this problem?<BR><BR>Thanks!<BR>Johnno

  2. #2
    Join Date
    Dec 1969

    Default What does your do?

    It should be doing simply<BR><BR>con.Open "DSN=xxxx"<BR><BR>where xxxx is your System DSN name.<BR><BR><BR><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