Ask a Question related to ASP Database, Design and Development.
-
GrahamC #1
Unable to Open ODBC Registry Key
Hi:
Using MS Access in a server-side application (Win2k Adv.
Server, IIS 6, ASP) we suddenly are getting the following
error on most pages:
Microsoft OLE DB Provider for ODBC Drivers
error '80004005'
[Microsoft][ODBC Microsoft Access Driver]General error
Unable to open registry key 'Temporary (volatile) Jet DSN
for process 0x5fc Thread 0x11c DBC 0xc79014 Jet'.
This happens trying to open a database using a File DSN,
such as:
Set cnnActive = Server.CreateObject("ADODB.Connection")
cnnActive.Open = "FILEDSN = c:\.....\Active.dsn","admin,""
We checked the various knowledge base articles which all
point to a permissions problem in the registry at:
HKEY_LOCAL_MACHINE/Software/ODBC
but the permissions appear to be correct on both
workstation and server.
Could the problem be linked to setting a database
connection with the same name to nothing in previous
pages, such as:
Set cnnActive = Nothing
Any suggestions?
Thanks.
GrahamC Guest
-
Problem connecting to local Access database - Unable to open registry key 'Temporary (volatile) Jet DSN ...
Hi I get the following error sporadically when running a sample in an MSDN ASP tutorial: Microsoft OLE DB Provider for ODBC Drivers: General... -
Unable to open registry key 'Temporary (volatile) Jet DSN
Hi Guys I was wondering if you could help. Basically I have an ASP page that inserts details from a standard form into an Access DB and even... -
Unable to Open Registry Key
Hello; I've published my database using Frontpage and inserted a result query on a ASP page and I get the following error. Can anyone help me? ... -
IIS 5 - General error Unable to open registry key
( - also posted on inetserver.iis) Hi I am a web programmer with an ASP-based website on my webhosts server (Win2000, IIS 5) which references... -
ADODB.Connection - Unable to open registry key 'Temporary (volatile) Jet
Jon wrote: http://www.aspfaq.com/show.asp?id=2062 - updatable cursor http://www.aspfaq.com/show.asp?id=2009 - 80004005 errors Bob Barrows -
Ray at #2
Re: Unable to Open ODBC Registry Key
Don't use a file dsn. Use an OLE DB connection string from
[url]www.connectionstrings.com[/url]. If you must stick with your ODBC usage, give
IUSR write permissions on %temp% (system, not user variable). I believe
that can be a cause of this issue.
Ray at work
"GrahamC" <grahamc@inetix.com> wrote in message
news:048e01c37706$83af51c0$a101280a@phx.gbl...> Hi:
>
> Using MS Access in a server-side application (Win2k Adv.
> Server, IIS 6, ASP) we suddenly are getting the following
> error on most pages:
>
> Microsoft OLE DB Provider for ODBC Drivers
> error '80004005'
>
> [Microsoft][ODBC Microsoft Access Driver]General error
> Unable to open registry key 'Temporary (volatile) Jet DSN
> for process 0x5fc Thread 0x11c DBC 0xc79014 Jet'.
>
> This happens trying to open a database using a File DSN,
> such as:
>
> Set cnnActive = Server.CreateObject("ADODB.Connection")
> cnnActive.Open = "FILEDSN = c:\.....\Active.dsn","admin,""
>
> We checked the various knowledge base articles which all
> point to a permissions problem in the registry at:
>
> HKEY_LOCAL_MACHINE/Software/ODBC
>
> but the permissions appear to be correct on both
> workstation and server.
>
> Could the problem be linked to setting a database
> connection with the same name to nothing in previous
> pages, such as:
>
> Set cnnActive = Nothing
>
> Any suggestions?
>
> Thanks.
>
Ray at Guest
-
Aaron Bertrand - MVP #3
Re: Unable to Open ODBC Registry Key
[url]http://www.aspfaq.com/2154[/url]
[url]http://www.aspfaq.com/2009[/url]
"GrahamC" <grahamc@inetix.com> wrote in message
news:048e01c37706$83af51c0$a101280a@phx.gbl...> Hi:
>
> Using MS Access in a server-side application (Win2k Adv.
> Server, IIS 6, ASP) we suddenly are getting the following
> error on most pages:
>
> Microsoft OLE DB Provider for ODBC Drivers
> error '80004005'
>
> [Microsoft][ODBC Microsoft Access Driver]General error
> Unable to open registry key 'Temporary (volatile) Jet DSN
> for process 0x5fc Thread 0x11c DBC 0xc79014 Jet'.
>
> This happens trying to open a database using a File DSN,
> such as:
>
> Set cnnActive = Server.CreateObject("ADODB.Connection")
> cnnActive.Open = "FILEDSN = c:\.....\Active.dsn","admin,""
>
> We checked the various knowledge base articles which all
> point to a permissions problem in the registry at:
>
> HKEY_LOCAL_MACHINE/Software/ODBC
>
> but the permissions appear to be correct on both
> workstation and server.
>
> Could the problem be linked to setting a database
> connection with the same name to nothing in previous
> pages, such as:
>
> Set cnnActive = Nothing
>
> Any suggestions?
>
> Thanks.
>
Aaron Bertrand - MVP Guest
-
Mario b. #4
Re: Unable to Open ODBC Registry Key
Hi
Check your web directory security.
"GrahamC" <grahamc@inetix.com> wrote in message
news:048e01c37706$83af51c0$a101280a@phx.gbl...> Hi:
>
> Using MS Access in a server-side application (Win2k Adv.
> Server, IIS 6, ASP) we suddenly are getting the following
> error on most pages:
>
> Microsoft OLE DB Provider for ODBC Drivers
> error '80004005'
>
> [Microsoft][ODBC Microsoft Access Driver]General error
> Unable to open registry key 'Temporary (volatile) Jet DSN
> for process 0x5fc Thread 0x11c DBC 0xc79014 Jet'.
>
> This happens trying to open a database using a File DSN,
> such as:
>
> Set cnnActive = Server.CreateObject("ADODB.Connection")
> cnnActive.Open = "FILEDSN = c:\.....\Active.dsn","admin,""
>
> We checked the various knowledge base articles which all
> point to a permissions problem in the registry at:
>
> HKEY_LOCAL_MACHINE/Software/ODBC
>
> but the permissions appear to be correct on both
> workstation and server.
>
> Could the problem be linked to setting a database
> connection with the same name to nothing in previous
> pages, such as:
>
> Set cnnActive = Nothing
>
> Any suggestions?
>
> Thanks.
>
Mario b. Guest
-
GrahamC #5
Solution: Unable to Open ODBC Registry Key
Thanks to all; we did in fact switch to a OLE string and
it it both solved the issue and improved database
connectivity.
For others interested, we switched from:
Set cnnActive = Server.CreateObject ("ADODB.Connection")
cnnActive.Open "FILEDSN=c:\<dsn
path>\active.dsn","admin",""
to:
strOLEDB = "Provider=Microsoft.Jet.OLEDB.4.0;"
strOLEDB = strOLEDB & "Data Source=C:\<database
path>\active.mdb;"
strOLEDB = strOLEDB & "User ID=admin;Password=;"
Set cnnActive = Server.CreateObject ("ADODB.Connection")
cnnActive.Open strOLEDB
Thanks again.
>-----Original Message-----
>Hi:
>
>Using MS Access in a server-side application (Win2k Adv.
>Server, IIS 6, ASP) we suddenly are getting the following
>error on most pages:
>
>Microsoft OLE DB Provider for ODBC Drivers
>error '80004005'
>
>[Microsoft][ODBC Microsoft Access Driver]General error
>Unable to open registry key 'Temporary (volatile) Jet DSN
>for process 0x5fc Thread 0x11c DBC 0xc79014 Jet'.
>
>This happens trying to open a database using a File DSN,
>such as:
>
>Set cnnActive = Server.CreateObject("ADODB.Connection")
>cnnActive.Open = "FILEDSN = c:\.....\Active.dsn","admin,""
>
>We checked the various knowledge base articles which all
>point to a permissions problem in the registry at:
>
>HKEY_LOCAL_MACHINE/Software/ODBC
>
>but the permissions appear to be correct on both
>workstation and server.
>
>Could the problem be linked to setting a database
>connection with the same name to nothing in previous
>pages, such as:
>
>Set cnnActive = Nothing
>
>Any suggestions?
>
>Thanks.
>
>.
>GrahamC Guest



Reply With Quote

