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,949 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
jquery to restrict certain words from input in form 11 52
wordpress display sub menu only when click 12 100
VB script help 23 50
Help with Classic ASP - Parameterizing Query 16 67
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 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