473,396 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Sybase and IIS error

Hi,

I have a problem with the sybase odbc connection. When I try to connect via
IIS the next error occurs "False[MERANT][ODBC Sybase ASE driver]Insufficient
information to connect to the data source.", but when I do it via VB the
problem doesn't exist.

Please, if any one can help me...
Jul 19 '05 #1
3 1834
Perhaps showing a bit of code would help, i.e. your connection string.

Ray at home

"gEEnesis" <gE******@discussions.microsoft.com> wrote in message
news:28**********************************@microsof t.com...
Hi,

I have a problem with the sybase odbc connection. When I try to connect via IIS the next error occurs "False[MERANT][ODBC Sybase ASE driver]Insufficient information to connect to the data source.", but when I do it via VB the
problem doesn't exist.

Please, if any one can help me...

Jul 19 '05 #2
"Ray Costanzo [MVP]" wrote:
Perhaps showing a bit of code would help, i.e. your connection string.

Ray at home


With objConexion
If .State = 1 Then .Close
.ConnectionString = "Provider=MSDASQL.1;Persist Security Info =
False;User ID=" & strUser & ";pwd=" & strPassword & ";Data Source=XXX"
.CursorLocation = adUseClient
.Open
If .State = 1 Then ftnConecta = True
End With

Is that what you need?

Thanks in advanced
Jul 19 '05 #3
If you response.write your connection string, do you see what you'd expect
to see, i.e. a user ID and a password? And is your server able to resolve
XXX? Also, do you have adUseClient constant defined somewhere?

Ray at work

"gEEnesis" <gE******@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.com...
"Ray Costanzo [MVP]" wrote:
Perhaps showing a bit of code would help, i.e. your connection string.

Ray at home


With objConexion
If .State = 1 Then .Close
.ConnectionString = "Provider=MSDASQL.1;Persist Security Info =
False;User ID=" & strUser & ";pwd=" & strPassword & ";Data Source=XXX"
.CursorLocation = adUseClient
.Open
If .State = 1 Then ftnConecta = True
End With

Is that what you need?

Thanks in advanced

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Josh Close | last post by:
I'm getting these errors almost every time I use sybase. I'm using it with mssql. I build it like so: python setup.py build_ext -D WANT_THREADS -D HAVE_FREETDS -U WANT_BULKCOPY python setup.py...
0
by: Dave Cole | last post by:
WHAT IS IT: The Sybase module provides a Python interface to the Sybase relational database system. It supports all of the Python Database API, version 2.0 with extensions. NOTES: This...
0
by: Dave Cole | last post by:
WHAT IS IT: The Sybase module provides a Python interface to the Sybase relational database system. It supports all of the Python Database API, version 2.0 with extensions. NOTES: This...
0
by: Dave Cole | last post by:
WHAT IS IT: The Sybase module provides a Python interface to the Sybase relational database system. It supports all of the Python Database API, version 2.0 with extensions. NOTES: The...
0
by: Vince | last post by:
I'm getting link errors trying to install DBD::Sybase 1.0 on AIX 5.1, running Sybase 12.5.0.3 64-bit and Perl 5.8.0. DBI installed fine. I have tried building DBD::Sybase with both 32 and 64-bit...
2
by: eight02645999 | last post by:
hi i am writing a CGI to process some database transactions using the Sybase module. so in my CGI script, i have: .... import Sybase import cgitb; cgitb.enable(display=1 ,...
1
by: Shawn | last post by:
Hi. I'm trying to save an image into a Sybase DB. The field (image_1) is of type "Blob". I have found two examples that I've tried, but no luck so far. Here is what I have done: Example 1:...
1
by: xinhuanet.com | last post by:
can you tell me how to connect to sybase database with vb.net? please give me one example.thank you!
0
by: Metal2You | last post by:
I'm working on an ASP.NET 2.0 application in Visual Studio 2005 that accesses a Sybase database back end. We're using Sybase SQL Anywhere 9.0.2.3228. I have installed and registered the Sybase...
0
by: =?ISO-8859-1?Q?S=E9bastien_Sabl=E9?= | last post by:
WHAT IS IT: The Sybase module provides a Python interface to the Sybase relational database system. It supports all of the Python Database API, version 2.0 with extensions. The module is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.