473,758 Members | 4,381 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

connect db2 7.1 os/2 warp 3 connect to Win2k

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 visual studio .net 2003 I cannot make a connection. Better
stated: I can make a connection but I cannot create data adapters - I can't
get any data from that connection.

I can see it in my server explorer, I can browse the tables and fields, but
as soon as i try to drag some fields onto my form it asks for my username
and password, which I enter, and then I get the following error:
"ERROR [08004][IBM][CLI Driver]SQL1403N The username and/or password
supplied is incorrect.
SQLSTATE=08004

ERROR [IM006][Microsoft][ODBC Driver Manager]Driver's SQLSetConnectAt tr
failed."

I'm going crazy - what am i doing wrong?
Nov 12 '05 #1
4 3914
"Developmen t at American Savings" <de*@americansa vingslife.com> wrote in
message news:10******** ****@corp.super news.com...
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?

AFAIK, this is not a supported combination; in any case, I would not expect
it to work. To start with, DB2 for OS/2 does not support ODBC V3 or later;
DB2's ODBC support is frozen at V2.5,. That at a minumum should be
sufficient to cause your second "error" (server doesn't support ODBC API).

You will need to use an API that is supported by DB2 for OS/2 V7.1, such as
native CLI. That means, ADO.NET is out. Alternatively, since DB2 for OS/2 is
frozen, it may be time to consider transitioning away from OS/2 to a
platform with DB2 V8 support, including support for the client API you wish
to use (see http://www.ibm.com/software/os/warp/strategy/).

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 visual studio .net 2003 I cannot make a connection. Better stated: I can make a connection but I cannot create data adapters - I can't get any data from that connection.

I can see it in my server explorer, I can browse the tables and fields, but as soon as i try to drag some fields onto my form it asks for my username
and password, which I enter, and then I get the following error:
"ERROR [08004][IBM][CLI Driver]SQL1403N The username and/or password
supplied is incorrect.
SQLSTATE=08004

ERROR [IM006][Microsoft][ODBC Driver Manager]Driver's SQLSetConnectAt tr
failed."

I'm going crazy - what am i doing wrong?

Nov 12 '05 #2
Isn't there some second opinion - some way to make it work??? Any types of
workarounds or anything?
"Mark Yudkin" <my************ ***********@nos pam.org> wrote in message
news:c8******** **@ngspool-d02.news.aol.co m...
"Developmen t at American Savings" <de*@americansa vingslife.com> wrote in
message news:10******** ****@corp.super news.com...
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?

AFAIK, this is not a supported combination; in any case, I would not

expect it to work. To start with, DB2 for OS/2 does not support ODBC V3 or later;
DB2's ODBC support is frozen at V2.5,. That at a minumum should be
sufficient to cause your second "error" (server doesn't support ODBC API).

You will need to use an API that is supported by DB2 for OS/2 V7.1, such as native CLI. That means, ADO.NET is out. Alternatively, since DB2 for OS/2 is frozen, it may be time to consider transitioning away from OS/2 to a
platform with DB2 V8 support, including support for the client API you wish to use (see http://www.ibm.com/software/os/warp/strategy/).

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 visual studio .net 2003 I cannot make a connection.

Better
stated: I can make a connection but I cannot create data adapters - I

can't
get any data from that connection.

I can see it in my server explorer, I can browse the tables and fields,

but
as soon as i try to drag some fields onto my form it asks for my username and password, which I enter, and then I get the following error:
"ERROR [08004][IBM][CLI Driver]SQL1403N The username and/or password
supplied is incorrect.
SQLSTATE=08004

ERROR [IM006][Microsoft][ODBC Driver Manager]Driver's SQLSetConnectAt tr
failed."

I'm going crazy - what am i doing wrong?


Nov 12 '05 #3
Will the the IBM DD2 documentation serve as confirmation?

"The DB2 .NET Data Provider allows your .NET applications to access Version
8 DB2 Universal Database on Windows, UNIX, and Linux-based computers, and
Version 6 and Version 7 of DB2 Universal Database for OS/390 and z/OS via
DB2 Connect. "

You are using none of these servers

Full details are in the Application Development section of Concept, under
APIs - Windows - DB2 .NET.

The only "workaround " is to use a supported API. This means you cannot use
an API not supported by your DB2 for OS/2 V7 server.

"Developmen t at American Savings" <de*@americansa vingslife.com> wrote in
message news:10******** *****@corp.supe rnews.com...
Isn't there some second opinion - some way to make it work??? Any types of workarounds or anything?
"Mark Yudkin" <my************ ***********@nos pam.org> wrote in message
news:c8******** **@ngspool-d02.news.aol.co m...
"Developmen t at American Savings" <de*@americansa vingslife.com> wrote in
message news:10******** ****@corp.super news.com...
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?

AFAIK, this is not a supported combination; in any case, I would not

expect
it to work. To start with, DB2 for OS/2 does not support ODBC V3 or later; DB2's ODBC support is frozen at V2.5,. That at a minumum should be
sufficient to cause your second "error" (server doesn't support ODBC API).
You will need to use an API that is supported by DB2 for OS/2 V7.1, such

as
native CLI. That means, ADO.NET is out. Alternatively, since DB2 for OS/2 is
frozen, it may be time to consider transitioning away from OS/2 to a
platform with DB2 V8 support, including support for the client API you

wish
to use (see http://www.ibm.com/software/os/warp/strategy/).

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 visual studio .net 2003 I cannot make a connection.

Better
stated: I can make a connection but I cannot create data adapters - I

can't
get any data from that connection.

I can see it in my server explorer, I can browse the tables and fields, but
as soon as i try to drag some fields onto my form it asks for my username and password, which I enter, and then I get the following error:
"ERROR [08004][IBM][CLI Driver]SQL1403N The username and/or password
supplied is incorrect.
SQLSTATE=08004

ERROR [IM006][Microsoft][ODBC Driver Manager]Driver's

SQLSetConnectAt tr failed."

I'm going crazy - what am i doing wrong?



Nov 12 '05 #4
Fair enough. I sure appreciate your help.
"Mark Yudkin" <my************ ***********@nos pam.org> wrote in message
news:c8******** **@ngspool-d02.news.aol.co m...
Will the the IBM DD2 documentation serve as confirmation?

"The DB2 .NET Data Provider allows your .NET applications to access Version 8 DB2 Universal Database on Windows, UNIX, and Linux-based computers, and
Version 6 and Version 7 of DB2 Universal Database for OS/390 and z/OS via
DB2 Connect. "

You are using none of these servers

Full details are in the Application Development section of Concept, under
APIs - Windows - DB2 .NET.

The only "workaround " is to use a supported API. This means you cannot use
an API not supported by your DB2 for OS/2 V7 server.

"Developmen t at American Savings" <de*@americansa vingslife.com> wrote in
message news:10******** *****@corp.supe rnews.com...
Isn't there some second opinion - some way to make it work??? Any types

of
workarounds or anything?
"Mark Yudkin" <my************ ***********@nos pam.org> wrote in message
news:c8******** **@ngspool-d02.news.aol.co m...
"Developmen t at American Savings" <de*@americansa vingslife.com> wrote in message news:10******** ****@corp.super news.com...
> 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?
AFAIK, this is not a supported combination; in any case, I would not

expect
it to work. To start with, DB2 for OS/2 does not support ODBC V3 or later; DB2's ODBC support is frozen at V2.5,. That at a minumum should be
sufficient to cause your second "error" (server doesn't support ODBC API).
You will need to use an API that is supported by DB2 for OS/2 V7.1, such
as
native CLI. That means, ADO.NET is out. Alternatively, since DB2 for OS/2
is
frozen, it may be time to consider transitioning away from OS/2 to a
platform with DB2 V8 support, including support for the client API you

wish
to use (see http://www.ibm.com/software/os/warp/strategy/).

>
> 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 visual studio .net 2003 I cannot make a connection.
Better
> stated: I can make a connection but I cannot create data adapters - I can't
> get any data from that connection.
>
> I can see it in my server explorer, I can browse the tables and

fields, but
> as soon as i try to drag some fields onto my form it asks for my

username
> and password, which I enter, and then I get the following error:
> "ERROR [08004][IBM][CLI Driver]SQL1403N The username and/or password
> supplied is incorrect.
> SQLSTATE=08004
>
> ERROR [IM006][Microsoft][ODBC Driver Manager]Driver's SQLSetConnectAt tr > failed."
>
> I'm going crazy - what am i doing wrong?
>
>



Nov 12 '05 #5

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

Similar topics

6
6732
by: Mohammed AlQuraishi | last post by:
Hi all, I'm trying to connect to an MS Access database using ADO.NET and C#, but I'm getting the dreaded "Microsoft Jet database engine cannot open the file 'x'. It is already opened exclusively by another user, or you need permission to view its data." Any ideas as to why? I set up a connection using Jet 4.0 and I'm able to open the database from within VC#.
0
2237
by: Chetan | last post by:
I have setup an ODBC driver for my MySQL database and use a 3rd party program to connect to it. Everytime the software connects, the ODBC driver setup screen pops up. I have to click OK on it to continue. I set the parameter "Dont prompt on connect" in the options but this has not solved the issue. The system setup is Win2K SP2, MySQL 4.0.15, MySQL ODBC driver 3.51. Any help will be appreciated.
1
4162
by: ffoiii | last post by:
I am attempting to connect to a remote default instance of SQL Server 2k on Win2k using Enterprise Manager from my local host but receive a "SQL Server registration failed, timeout expired" error message each time. I am able to connect using Query Analyzer when specifying the IP address of the server (I am also specifying the IP address in my Enterprise Manager connection), am able to ping the server from the command line, and am able...
0
1915
by: ohaya | last post by:
Hi, I've been researching this, and I'm not sure if what I'm trying to do is possible, but I thought that I'd ask: I have two webservers/websites. The first webserver/website is running Win2K/IIS5, and I want it to act as a kind of "portal" to the other webserver/website.
1
1780
by: Praveen | last post by:
Hi All, I have a server DB2 UDB V8 on sun box. and accessing the server using DB2 UDB client 7 from win2k system. Till now i used to login using db2inst1 user which a default user created by DB2. So, I created 2 new users using control centre and given all the authorities to those users. But, while creating users, it did not ask for password!!! how can i login/connect to the database with these users? Is there anything which i have to...
6
3067
by: Jerry Orr | last post by:
We are trying to determine the easiest (and cheapest) way to get connections for about 50 Win2K workstations on our LAN to DB2 on a z/OS server. We could install DB2 Connect Personal Edition on every workstation, but that would require purchasing a license for each workstation (or, more likely, a site license). We would like to avoid that option. I've heard mixed accounts of what DB2 Connect ENTERPRISE Edition can do. One source says...
2
3075
by: bbxrider | last post by:
win2k adv server/ iis5.0/vb6.0/ado and/or odbc connections on client machine i have an mdb on win2k adv server machine and want internet read/write to it from both a non-windows, red hat, webserver using asp/vbscript and a win xp/2000 machine with vb6.0/ado with or without odbc set up how do you set up the win2k server machine and/or mdb??? i know enough that some application/service needs to be listening on some port so far i have the...
1
1844
by: http://www.visual-basic-data-mining.net/forum | last post by:
Hi, I am new here. I am facing a problem that I can't connect to MS Access with my Web application written in VB.Net. It gives me this kind of error: The Microsoft Jet database engine cannot open the file 'E:\DATA1.mdb'. It is already opened exclusively by another user, or you need permission to view its data. I try to connect to the DATA1.mdb through server pool, the connection is tested successfully, but I can't connect to it...
11
10329
by: Mikael Arhelger | last post by:
Hello, This has been posted a few times but still I could not find a way to connect to our database. We run DB2 Express on WIN2K server with XP clients. I can ping inside network and to the Internet from the server, so TCP/IP is ok. The DB2COMM=TCPIP is set also. Have been scratching my head for days now. Here some additional data (we are running SAP Business One):
0
9298
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10072
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9906
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9885
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8737
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7286
isladogs
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6562
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3399
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.