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,824 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
Comment Utility
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

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!

Join & Write a Comment

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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
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 demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

12 Experts available now in Live!

Get 1:1 Help Now