ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

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 ASP Free Forums Sponsor:
  #1  
Old August 19th, 2004, 08:55 AM
eagle eagle is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 6 eagle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Connecting Sybase with ASP/VB

I am connecting to a sybase DB using VB with asp & I am getting the following error.

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[SYBASE][ODBC Sybase driver][Sybase]ct_connect(): user api layer: internal Client Library error: HAFAILOVER:Trying to connect to server.

I am using the following connection String:
set dataConn2 = Server.CreateObject("ADODB.Connection")

dataConn2.Open "DSN=iwsdbs1;uid=*****;pwd=******"

*I have checked the ODBC connection, it is connecting.
*the user name & pwd is correct.

any suggestions would be greatly appreciated.

Reply With Quote
  #2  
Old August 19th, 2004, 06:27 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 23 m 39 sec
Reputation Power: 181
You posted this question in at least two other forums.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old April 15th, 2005, 05:16 PM
JJHayesIII JJHayesIII is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: San Jose, CA
Posts: 4 JJHayesIII User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 4 sec
Reputation Power: 0
Send a message via AIM to JJHayesIII
in order to fix this, you need to make sure you have the correct items in the c:\sybase\ini\SQL.ini file

[SERVER_NAME]
win3_query=WNLWNSCK,ip.address,Port#
query=NLWNSCK,ip.address,Port#

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherASP Free Lounge > Connecting Sybase with ASP/VB


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