How can I connect to an ASA6 DSN using ADO?As sbj
...
How can I connect to an ASA6 DSN using ADO?As sbj
Here is a sample:
<HTML>
<HEAD>
<TITLE>ADO Example</TITLE>
</HEAD>
<BODY>
<%
Set MyConn=Server.CreateObject("ADODB.Connection")
MyConn.Open "DSN=asademo"
Set RS=MyConn.Execute("SELECT * FROM Department")
%>
<table border=1>
<tr>
<% for i=0 to RS.Fields.Count -1 %>
<TH>
<%= RS(i).Name %>
</TH>
<% Next %>
</TR>
<% WHILE NOT RS.EOF %>
<TR>
<% for i=0 to RS.Fields.Count -1 %>
<TD>
<%= RS(i) %>
</TD>
<%...
What i-connect driver can be used for Powerbuilder 10.2.1 connect to Informix 11.50?We have powerbuilder 10.2, it use i-connect 2.8.1 to connect
to informix v7.3 database, we are planning to upgrade
informix to version 11.5, can someone tell me what version
of i-connect (or informix client sdk) can work with
powerbuilder 10.2 and informix 11.50? what powerbuilder
native driver need to be installed? can we use the most
recent i-connect version v3.5 and "IN9 informix v9.x" native
drive? anybody have any issue with this setup?
Thank you in advance.
...
What i-connect driver can be used for Powerbuilder 10.2.1 connect to Informix 11.50?We have powerbuilder 10.2, it use i-connect 2.8.1 to connect
to informix v7.3 database, we are planning to upgrade
informix to version 11.5, can someone tell me what version
of i-connect (or informix client sdk) can work with
powerbuilder 10.2 and informix 11.50? what powerbuilder
native driver need to be installed? can we use the most
recent i-connect version v3.5 and "IN9 informix v9.x" native
drive? anybody have any issue with this setup?
Thank you in advance.
Please see you original post.
Tony wrote:
> We have powerbuilder 10.2, it use i-connect 2.8.1 to connec...
What i-connect driver can be used for Powerbuilder 10.2.1 connect to Informix 11.50?We have powerbuilder 10.2, it use i-connect 2.8.1 to connect
to informix v7.3 database, we are planning to upgrade
informix to version 11.5, can someone tell me what version
of i-connect (or informix client sdk) can work with
powerbuilder 10.2 and informix 11.50? what powerbuilder
native driver need to be installed? can we use the most
recent i-connect version v3.5 and "IN9 informix v9.x" native
drive? anybody have any issue with this setup?
Thank you in advance.
Sorry, is the the correct place to post my question? any
TeamSybase member can help?
Thanks
Tony
I thin...
ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP Address of the server'(10048) ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP of the server' (10
Hi, I am randomly getting the following error message in my application.
ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP Address of the server'(10048) ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP of the server' (10048)
I am using .Net 2.0 with VS2005 having ODBC 3.51.14 Driver.
Can any body point out the core reasons of the above error message?
Thanks.
Nouman Khawaja.
I do have the same problem, help me out.
Thanks
If the going seems easy, You are going DownHill...
When I was writing ...
If I use javascript in my pages, can I still use ADO to connect to SQL server?
I'm not exactly sure what I'm doing here. (I'm sure it shows) I want to start using javascript and ajax in my ASP.net pages, but am currently using ADO (I think) to communicate with my SQL server. Here's a sample script..
Dim objConn As New SqlConnection(ConfigurationSettings.AppSettings("DSN")) Dim objCmd As SqlCommand Dim objRdr As SqlDataReader
Sub LoadMenubar() Try objConn.Open() objCmd = New SqlCommand("SELECT * FROM Menubar ORDER BY Priority", objConn) &...
Powerbuilder components use only 1 connection from connection cacheHi all,
I'm currently investigating a performance bottleneck in jaguar.
I've reported this problem before and got some helpful hints from this
forum so I'm back for more, since the hints weren't helpful enough.
I have a web application which uses Powerbuilder components as the backend.
Even when I generate 30 calls that each take 1 minute, the Jaguar server
reports that it uses only one connection!! When I check oracle, it reports
that only one session is active from the Jaguar server.
Now I can just handle this if it was only one session but when i tested
this f...
Why we use Web.Config File for connection string wether we can use class Library for get connection for whole web Application
Why we use Web.Config File for connection string wether we can use class Library for get connection for whole web Application please help me?
Friend, Web.config has its own advantages.
1) Web.Config is used to store the important information like connections strings etc...so that it can be modified even after the code has been deployed to the server without compiling the entire application again.
2) Since it is a XML file, there is no need of building the project of you are going to change the connection strings.
If you go for the class files,...
When using MS-ADO to connect to ASE using ASE OLEDB/ODBC driver the record count is -1Hi
VB 6 application connecting to ASE 12.5 (NT) using OLEDB/ODBC drivers. Gets
a problem.
He retrieve rows from the database - WORKS Fine!!!
But as soon as he wants to see how many rows was returned the recordcount
returns -1.
He gets this problem connecting using ODBC and OLEDB.
He gets the recordcount from the recordset object's recordcount property.
This is what I found on the MSDN online manuals:
RecordCount Property - ADO
Indicates the current number of records in a Recordset object.
Applies To
Recordset
Remarks
Use the RecordCount property to find out how many r...
Powerbuilder components use only 1 connection from connection cache #2Hi all,
I'm currently investigating a performance bottleneck in jaguar.
I've reported this problem before and got some helpful hints from this
forum so I'm back for more, since the hints weren't helpful enough.
I have a web application which uses Powerbuilder components as the backend.
Even when I generate 30 calls that each take 1 minute, the Jaguar server
reports that it uses only one connection!! When I check oracle, it reports
that only one session is active from the Jaguar server.
Now I can just handle this if it was only one session but when i tested
this f...
not connected when I am connectedWhat do I need to change on my 'puter when the icon in the toolbar shows and
tells me I am connected and the error message tells me I am not and I can
not go to web pages, get or send emails. I have to close down and restart
to get connected again. This only happens if I am on line and leave the
'puter for an hour or so. As long as I am using it I don't have a problem.
This just started about a month ago. I am on very slow dialup, DSL and
Cable not in my area, thanks you SBC/ATT
tks
Elaine wrote:
> What do I need to change on my 'puter when the icon in ...
Powerbuilder components use only one connection of 50 conn connection cacheHi all,
I'm currently investigating a performance bottleneck in jaguar.
I've reported this problem before and got some helpful hints from this
forum so I'm back for more, since the hints weren't helpful enough.
I have a web application which uses Powerbuilder components as the backend.
Even when I generate 30 calls that each take 1 minute, the Jaguar server
reports that it uses only one connection!! When I check oracle, it reports
that only one session is active from the Jaguar server.
Now I can just handle this if it was only one session but when i tested
this f...
Can't connect to Access Data Base with ODBC connection
I am using Visual Web Developer and trying to connect to an Access data base in the code behind page Default.aspx.vb. I can't connect to my data base with the following code:
Dim connectionstring As String
connectionstring = _
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\asp\test02\App_Data\company.mdb;User Id=admin;Password=;"
Dim myConn As OdbcConnection = New OdbcConnection(connectionstring)
myConn.Open()
I alwasy get : "Data Source not found and no default driver found:. Does anyone know what I am doing wrong ??
Check ou...