Solved

when upgrading from -97mdb to 2000mdb

Posted on 2001-07-18
7
167 Views
Last Modified: 2012-06-27
Hi !

I tried to upgrade a MDB from a 97 vesjon to a
2000 versjon, by converting it from the tools
in access 2000, but when I try to execute the asp Page
I get this error !!

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 0x70c Thread 0x748 DBC 0xf3be004 Jet'.

....and since the asp worked fine before, then I wonder
 if what to do !!!
0
Comment
Question by:MRSONNY
7 Comments
 
LVL 8

Expert Comment

by:Dave_Greene
ID: 6295970
Try Rebuilding your DSN
0
 
LVL 33

Expert Comment

by:hongjun
ID: 6296531
1. Try rebuilding your DSN.
2. Try opening your that converted access file using Access 2000 and see if there is a prompt prompting you to convert database or open database. If there is, then your conversion is successful and correct.

hongjun
0
 
LVL 33

Accepted Solution

by:
hongjun earned 10 total points
ID: 6296535
My second point is incorrect. Read below instead.

2. Try opening your that converted access file using Access 2000 and see if there is a prompt prompting
you to convert database or open database. If there is, then your conversion is UNSUCCESSFUL.

hongjun
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Expert Comment

by:Ktoshni
ID: 6298582
Why not try using a DNSless connection like this

Set DBCon = Server.CreateObject("ADODB.Connection")
  With DBcon
    .Provider = "Microsoft.Jet.OLEDB.4.0"
    .open server.mappath("db.mdb")
  end with

This works fine for me
0
 

Expert Comment

by:davemaxwell
ID: 6298762
The MDAC may also need to be updated on the server, but the problem is probably with the connection string.  Make sure you are using the JET connection for Access 2000.
0
 

Author Comment

by:MRSONNY
ID: 6299881
... OK,

Here's the code where my error is showing !!


<%
if Request.Form("email") <> "" then
          email = Request.Form("email")
     If Valider(email) Then
          set conn = Server.CreateObject("ADODB.Connection")
          conn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("database.mdb"), adLockOptimistic

          If Request.Form("RADIO") = "false" Then
          conn.Execute("DELETE * FROM maillingliste WHERE email='" & email & "'")
          V_Status     = "E-mail adressen er n? slettet fra databasen"
          else
          on Error Resume Next
          conn.Execute("insert into maillingliste (email) values ('" & email & "')")
          On Error GoTo 0
          V_Status     = "E-mail adressen er n? registrert i databasen"
          end if
          conn.Close
          set conn = nothing
     end if
end if
%>
0
 

Author Comment

by:MRSONNY
ID: 6383681
PING 255.255.255.255 :-)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now