We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


Sybase Error

kevbob650 asked
Medium Priority
Last Modified: 2012-05-06
Getting a "catastrophic failure" when trying to connect to a Sybase 11 database via ADO in ASP webpage. I'm able to query the db from within Sql Advantage. I've tried both DSN and DSNless connection strings.  This code worked on the previous server, both servers are Win2003 with IIS 6.0.
Any assistance would be appreciated.
'DSN Connection
'set objConn = Server.CreateObject("ADODB.Connection")
'objConn.open "DSN=SERVER;UID=userid;Pwd=password"
'DSNless connection
set objConn = Server.CreateObject("ADODB.Connection")
objConn.open "Driver={SYBASE SYSTEM 11};Srvr=SERVER;Uid=userid;Pwd=password"

Open in new window

Watch Question

Did you check for a connectionstring at http://www.connectionstrings.com ?
Do you have the right drivers installed?

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


I got it, I loaded new drivers and I'm up and running. Still rather fussy but it's getting there, still some occasional buflen = cs_unused
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.