asp - db problem with connection.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Brian (quigleyb_at_iol.ie)
Date: 04/09/04


Date: Fri, 9 Apr 2004 18:34:03 +0100

hi. ive recently put XP on my system which was running Win 2k. ever since
this, i cant seem to get my asp stuff to interact with a database. even with
code which wasn't changed since 2k.

the error im getting each time i try to access a database is as follows....

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open
registry key 'Temporary (volatile) Jet DSN for process 0xf40 Thread 0xaa8
DBC 0x15f8024 Jet'.
/Brian/functions.asp, line 27

line 27 is the 3rd line of the code below.... any ideas would definately
help......

 DatabasePath = Server.MapPath("photoalbum.mdb")
 Set Conn1 = Server.CreateObject("ADODB.Connection")
 Conn1.Open = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
DatabasePath & ""



Relevant Pages

  • Re: asp - db problem with connection.
    ... Stop using ODBC! ... i cant seem to get my asp stuff to interact with a database. ... > Microsoft OLE DB Provider for ODBC Drivers ... > [ODBC Microsoft Access Driver]General error Unable to open ...
    (microsoft.public.inetserver.asp.general)
  • Re: Access 2002 command line options.
    ... > database Opens the specified database. ... > /excl Opens the specified database for exclusive access. ... > /user user name Starts Microsoft Access using the specified user name. ... To compact to a different name, specify a target ...
    (microsoft.public.access.developers.toolkitode)
  • Re: Cant access code
    ... See http://www.QBuilt.com for all your database needs. ... See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials. ... Create a new database file and import all objects except the corrupt form. ... If you have a recent backup, import this form from the backup and check ...
    (microsoft.public.access.modulesdaovba)
  • Re: Communication Log
    ... Tony Toews, Microsoft Access MVP ... May I send you copy of the database that I made? ... Dropdown box (I can select a value to store in the ... The above controls are set up in a page using te tab control. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Advice needed for a growing Access 2000 project
    ... However, it turned out that quite a few of those were "leftovers" from previous releases, no longer accessible from anywhere but the database window, and, thus, no longer used. ... But that certainly isn't the _norm_ -- without any 'heroic' measures, there are routine reports of split Access DBs ... Finally, in my opinion, for "Windows apps", that is, individual-user applications, modest-sized multiuser applications, and client-server applications of any size, Dot Net does NOT "help along" any of these issues. ... The post I reference was in reference its self to the MS Access Help file under "Microsoft Access database general specifications" ...
    (comp.databases.ms-access)