Hi,
i'm new to db2, so the answer on this question is maybe verry simple
(or not)...
i've installed db2 on a server, and now, I want to make a connection
with odbc from a client (windows 2000). I installed the IBM DB2 odbc
driver.
To make a odbc connection i go to the 'odbc data source administrator',
then 'add' and select the IBM DB2 ODBC DRIVER. I give a name, and then
pushed the add button for configuring the database. In the tcp/ip tab,
I fill in the db name, host name, and port number. In the first tab i
fill the username (db2admin) and the password.
Than i push ok, and the data source is made.
Now, if i want to test it, i go to configure, and try the 'connect'
button. Then i've got the error:
SQL1097N The node name was not found in the node directory.
SQLSTATE=42720
Anyone knows what to do with it?
Thanks in advance,
Thijs 1 17564
I think that the best way to configure the ODBC connections is by
having the DB2 Run time client (That's because, and correct me if I'm
wrong, the odbc connects with the client wich connect to the database).
That's why if the run time client is not configure properly the odbc
connection won't work.
If you have the runtime client you first need to catalog the node (that
is the remote instance) then the database (CATALOG DATABASE) both
command are simple explain if you google it.
Once that is configure, the odbc is really simple, because the database
that you have cataloged in your machine will be in the drop down list.
Hope this help
Regards,
Max
Thijs wrote:
Hi,
i'm new to db2, so the answer on this question is maybe verry simple
(or not)...
i've installed db2 on a server, and now, I want to make a connection
with odbc from a client (windows 2000). I installed the IBM DB2 odbc
driver.
To make a odbc connection i go to the 'odbc data source administrator',
then 'add' and select the IBM DB2 ODBC DRIVER. I give a name, and then
pushed the add button for configuring the database. In the tcp/ip tab,
I fill in the db name, host name, and port number. In the first tab i
fill the username (db2admin) and the password.
Than i push ok, and the data source is made.
Now, if i want to test it, i go to configure, and try the 'connect'
button. Then i've got the error:
SQL1097N The node name was not found in the node directory.
SQLSTATE=42720
Anyone knows what to do with it?
Thanks in advance,
Thijs
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Savas Ates |
last post by:
in asp page
im getting this error how can i solve it..
yesterday the codes work but i setup visual studio 6.0 now it doesnt
works..
|
by: Rick Hickerson |
last post by:
I can't get PHP to connect to DB2 on the same server.
I'm running both Apache/PHP and DB2 on Mandrake Linux 9.2. I didn't compile
PHP; just installed what appear to be the appropriate RPMs (I don't like to
compile/install and ruin RPM dependencies; I've seen the documents which say to
build PHP "--with-ibm-db2=/home/db2inst1/sqllib"):
...
|
by: Kona |
last post by:
Hello,
Is it right to tell that DB2 Connect has the same function that Oracle
Net ?
If I have an ODBC application is it also right to tell that I have 2
possibilities on my client workstation to acces a remote UDB database
on a Sun machine :
a) with a run-time client
b) with DB2 Connect Personnal Edition
Thank you
|
by: Development at American Savings |
last post by:
I'm having some trouble being able to connect to my db2 server (it lives on
an os/2 warp 3 connect box) from my Windows2000 workstation using vs.net
2003. Any suggestions?
I have a local user account on the server "readonly", i have created a user
in the database of "readonly" and I can connect through the command line,
but from within...
|
by: Fabian Knopf |
last post by:
Hi friends,
i have a unix machine PC1 where a database is running ( IBM DB2 V8.1 ) .
Then i have another machine PC2 i installed there also ( IBM DB2 V8.1 ). On
PC2 i installed unixODBC. To connect to the database over ODBC on unix i did
this:
on db2 console:
catalog tcpip node archiv remote PC1 server DB2_db2inst1
| |
by: Dave F. |
last post by:
I am using ODBC to connect to dBase data on a remote server. The ASP.NET app
will be running on Win 2k or 2003 server. I have tried to make it work but
all I can get is an error.
System.Data.Odbc.OdbcException: ERROR
'(unknown)' is not a valid path. Make sure that the path name is spelled
correctly and that you are connected to the server...
|
by: zMisc |
last post by:
I am using VB.NET 1.1 and cannot connect to a MySQL (v5) database.
I've done the following:
1) Create a DSN for MyODBC.
2) Connect using: Driver=MySQL ODBC 3.51 Driver; Server=localhost; Data
Source=test; UID=test; PWD=pwd; OPTION=3
When I run my app, I get this error: An OLE DB Provider was not specified in
|
by: ~john |
last post by:
I just installed PHP 5.1.4 with SQL Server 2005 on my laptop. PHP is
running fine and so is SQL Server 2005. When I try to connect to SQL
Server from my my PHP code I get this error.
Warning: odbc_connect() : SQL error:
Data source name not found and no
default driver specified, SQL state IM002 in SQLConnect in...
|
by: 111mike |
last post by:
Hello,
Here's my problem. I cannot connect to mysql database using odbc string
connections or dns. I keep getting a "cannot connect to mysql server localhost." I'm running windows XP Pro and have installed IIS as my server. I have installed Mysql 5.0 and mysql ODBC driver 3.51.12 in their default locations. Database is up and running...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |