If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > DSNless connection issues Access 2003 ASP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-27-05, 17:05
Rob1982 Rob1982 is offline
Registered User
 
Join Date: Dec 2003
Posts: 22
DSNless connection issues Access 2003 ASP

Hi I want to connect my asp pages to Access 2003, I am using the DSNless connection it works fine when I don’t put a password on my Access database.

When I put a password on my database I get the following error:

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


This is my connection string which I use to connect to Access:

MM_cnnDisertation_STRING = "DRIVER=Microsoft Access Driver (*.mdb);Dbq=C:\Inetpub\wwwroot\db\db1.mdb;PWD=pass word;"

My database is in a separate directory from my webpages

Any help would be most appreciated,

Rob
Reply With Quote
  #2 (permalink)  
Old 12-28-05, 13:53
fredservillon fredservillon is offline
Registered User
 
Join Date: Oct 2005
Posts: 178
You need the Jet engine.

Try tis connection string

SConnStr= "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\yourdata.mdb"
Reply With Quote
  #3 (permalink)  
Old 12-30-05, 05:06
Rob1982 Rob1982 is offline
Registered User
 
Join Date: Dec 2003
Posts: 22
Cheers used the Microsoft Jet engine and it works fine
Reply With Quote
  #4 (permalink)  
Old 12-30-05, 15:19
fredservillon fredservillon is offline
Registered User
 
Join Date: Oct 2005
Posts: 178
Smile

I'm very glad to help you.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On