ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

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:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old August 6th, 2003, 10:27 AM
Digitalosophy Digitalosophy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 74 Digitalosophy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 25 m 20 sec
Reputation Power: 6
Driver vs Provider?

I had a problem and i searched the net and came up with this

---copy and paste from website--
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xda8 Thread 0x49c DBC 0x254d024 Jet'.

Resolution
----------

To resolve this error modify your connection string to "microsoft.jet.oledb...." instead of "{microsoft access...}". The example is given below:

set conn = server.createobject("ADODB.Connection")
conn.Open = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ= {path to your database}

The above connection string is very flaky and should be replaced with the below one.

set conn = server.createobject("ADODB.Connection")
conn.Open = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source= {path to your database}

--end copy--


what are your thoughts on this, which way is the best to connect to your db?

Reply With Quote
  #2  
Old August 6th, 2003, 10:37 AM
Vlince Vlince is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada, Quebec, Montreal
Posts: 410 Vlince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
The OLEDB give u a native connection to your database avoiding the extra layer of the ODBC. It is faster then using DSN and/or DSN-Less connections.

As for a thorough explanation of why? how? I'm affraid I can't help you there. A good google search might give you more info then me.

Hope this helps!
Sincerely

Vlince

Reply With Quote
  #3  
Old August 6th, 2003, 11:03 AM
Digitalosophy Digitalosophy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 74 Digitalosophy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 25 m 20 sec
Reputation Power: 6
Ahh i see, thank you

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Driver vs Provider?


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway