Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 12th, 2005, 01:05 PM
linr2000 linr2000 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 2 linr2000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Help - Connecction Error!

Hi,

I'm using window server 2003 as a test server. I have Access 2003 as the database. I set up a DSN for db connection and try to access the data with ASP. Here are my codes:

set dbConn = Server.CreateObject("ADODB.Connection")
dbConn.Open "DSN=test"

if dbConn.Errors.Count <> 0 then
for each objErr in dbConn.Errors
response.write objErr.Number & "<br>" & objErr.Description & "<br>"
next
else
response.write "OK"
end if

All I got is this error message:
0
[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed

Can anyone tell me how to correct the problem? Thanks.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Help - Connecction Error!


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 1 hosted by Hostway
Stay green...Green IT