IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.


Tutorials
| Forums

Download to Enter
| Contest Rules

DOWNLOAD INTEL® GPA FOR FREE

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 30th, 2004, 04:17 PM
thesamir thesamir is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 16 thesamir User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 10 m 35 sec
Reputation Power: 0
MS Jet DSN Error - unable to open registry key

Here is the error I am getting while trying to open a database with the help of a DSN file. I am opening an access2002 database from an asp script for getting the email addresses. Here are the details of the 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 0x9e8 Thread 0x9dc DBC 0x109699c Jet'.
/emailconnect.asp, line 4

and on line 4 all I am doing is opening the FILEDSN:
objConn.Open "FILEDSN=C:\Program Files\Common Files\ODBC\Data Sources\email_dsn.dsn"

My FILEDSN looks like this :
[ODBC]
DRIVER=Microsoft Access Driver (*.mdb)
UID=admin
UserCommitSync=Yes
Threads=3
SafeTransactions=0
PageTimeout=5
MaxScanRows=8
MaxBufferSize=2048
FIL=MS Access
DriverId=25
DefaultDir=C:\Inetpub\wwwroot
DBQ=C:\Inetpub\wwwroot\email.mdb

I looked up on the internet and found a few articles about this. They talk about setting the permissions on the TEMP dirs and on the DB files. I have tried all that. Somewhere I found this article which talks about IIS having permission to the registry keys. I am not sure how to check this.

"The error is also quite common if the permissions on the server are incorrect. Check that IIS has sufficient permissions to access the registry and that the correct permissions, read and write, are set on the directory containing the database and the database itself, for the IUSR account."

Please can someone advise me. I have been cracking my brains out to find a solution somewhere.

Reply With Quote
  #2  
Old July 1st, 2004, 02:12 AM
Doug G Doug G is online now
Grumpier Old Moderator
Dev Shed God 18th Plane (13500 - 13999 posts)
 
Join Date: Jun 2003
Posts: 13,737 Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 3 Weeks 3 Days 6 h 39 m 9 sec
Reputation Power: 4107
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #3  
Old July 2nd, 2004, 05:44 PM
thesamir thesamir is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 16 thesamir User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 10 m 35 sec
Reputation Power: 0
Thumbs up

Thanks Doug,
I got the problem fixed. Thanks for your help.
I added IUSR_<PC_NAME> and gave it full rights to the TEMP folder used by the IIS server and also gave it full rights to the c:/Inetpub/wwwroot folder. Still it complained initially, but after giving it permissions to the database.mdb file, it ran smoothly.
Somehow the permissions were reset after installing some of the windows updates.
Thanks for all your help again,
Sammy

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > MS Jet DSN Error - unable to open registry key


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 2 - Follow our Sitemap