× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



<snip>
But now I am getting an error in the driver_connect procedure. It just
tells me that it can not connect with no additional information. Would
it
be something on the MS SQL server side? I installed the JDBC type 4
driver
on both systems, is there a service or something that I have to start?
The
proporties that I set up in the RPG program for the sign on information
are
correct also.
</snip>

I found problem trying to connect to a copy of SQL Express on my local
desktop. Never could get that to work but I had no problem connecting to
an SQL 2005 server on the network. This is what I used to make the
connection.

d wProperty...
d s Like(JDBC_Property)

wProperty = JDBC_CreateProperty();



JDBC_SetProperty(wProperty :

'user' :

%Trim(userid));

JDBC_SetProperty(wProperty :

'password' :

%Trim(passwrd));

JDBC_SetProperty(wProperty :

'database' :

'ExoticMetals');

conn = JDBC_Connect('com.microsoft.sqlserver.jdbc.SQLServerDriver':

'jdbc:sqlserver://srv14' :

wProperty );


Note, this is not standard code. I have made changes to make conform to
our naming standards.

Where is the copy of SQL Server located?

Also, could you send exactly what you are getting for an error?

You could, also, check the SQL Configuration Manager for the server you
are trying to get and make sure that TCP/IP is enabled.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.