Avatar of zimmer9
zimmer9Flag for United States of America

asked on 

How to resolve error [Micorsoft] [ODBC Driver Manager] Data source name not found and no default driver specified when calling a Sybase stored procedure?

I am developing an Access application using an MDB type file.
I call a Sybase stored procedure.
I originally had the following code when I used an ODBC connection with
Sybase driver "DataDirect 4.0 Sybase Wire Protocol".

oConn.Open "DSN=NYP_D_M;" & _
   '"Uid=PWMC;" & _
   '"Pwd=Tl"


Now I am changing the Sybase driver to Adaptive Server Enterprise.
I changed the code to the following:


Set oConn = CreateObject("ADODB.Connection")
   
oConn.Open "Driver={Adaptive Server

Enterprise};database=apex_digimail;server=v248;port=8;AuthenticationClient=kerberos;ServerPrincipal=sybase/v248"
   
I get the error:

Run-time error '-2147467259 (80004005)':

[Micorsoft] [ODBC Driver Manager] Data source name not found and no default driver specified.

Do you know how I can resolve this error?
Windows XPSybase DatabaseMicrosoft Access

Avatar of undefined
Last Comment
Rey Obrero (Capricorn1)
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Microsoft Access
Microsoft Access

Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.

226K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo