Solved

Microsoft][ODBC Excel Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process

Posted on 2004-08-20
1
4,898 Views
Last Modified: 2008-01-09
This error occurs suddenly on my webserver ( IIS and Windows 2000 Server) ...... on ASP ......
Would somebody please help ? Thanks.

Microsoft][ODBC Excel Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process



My code is as follow:

      datafile = ""
      Set rstExcel = Nothing
      Set cnnExcel = Nothing

      Set cnnExcel = Server.CreateObject("ADODB.Connection")

'      datafile = "DBQ=" & "c:\data.xls" & ";" & "DRIVER={Microsoft Excel Driver (*.xls)};"

'      cnnExcel.Open datafile


0
Comment
Question by:mikekwok
1 Comment
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 50 total points
ID: 11857294
From these articles in MSDN, it appears to be permissions problems in your Temp folder:

PRB: Error Message: 0x80004005: General Error Unable to Open Registry Key
http://support.microsoft.com/default.aspx?scid=kb;en-us;295297

FP: Error: Unable to Open Jet Temporary Key When You Attempt to Connect to Database
http://support.microsoft.com/default.aspx?scid=kb;en-us;315456
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to hide hopscotch tour popup page reload? 2 96
jquery to restrict certain words from input in form 11 39
alert(innerHTML); 8 32
Filktering Alphabetically 8 31
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

828 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