Greetings,
I'm having a bit of trouble with a small web service I've been writing, specifically with the connectivity aspect of the service.
My scenario is as follows :
I'm using the IBM iSeries Access ODBC driver to connect to an iSeries (i5/OS, V5R4) midrange box. I've used this driver and a similar DSN in the past with no problems.
When an attempt to open a connection is made, an exception is thrown with the following message - -
ERROR [08S01] [IBM][iSeries Access ODBC Driver]Communication link failure. comm rc=11001 - CWBCO1004 - Remote address could not be resolved
-
This error message struck me as particularly odd, given that I'm using the same host name in other connection strings and DSNs without any hitches. I've verified I can reach the AS/400 in question, and that the AS/400 allows remote ODBC connections for the user name I'm supplying. I've also tried using the IP address of the system in question, with no results.
Additionally, I've verified that my hosts file contains an entry for the AS/400 in question (although I've never needed one in the past.)
Any help or insight would be greatly appreciated,
SeligErasmus
6 14871 Plater 7,872
Recognized Expert Expert
Well, is it possible that your connection string has a typo in it or something?
Or does not follow a new format for it?
I am unfamiliar with your database type but it seems like there is something fishy somewhere
Hmm, I'm thinking that's probably not the case, because I'm using the exact same connection string in a different application with no issues. The only thing that's changed is the hostname supplied.
Plater 7,872
Recognized Expert Expert
The only thing that's changed is the hostname supplied.
That would fall under the "different" connection string.
You could try and take an application that correctly connects, and replace with the string from this new application that isn't working.
That should hopefully give you some kind of better idea of whats going on (cut out the varriables until the problem is found approach)
That would fall under the "different" connection string.
You could try and take an application that correctly connects, and replace with the string from this new application that isn't working.
That should hopefully give you some kind of better idea of whats going on (cut out the varriables until the problem is found approach)
Right.
To clarify - I've copied the connection string from the application that works correctly and changed the hostname. Since the two servers are identical (one is for testing, the other for production), I've only changed the hostname.
When I supply the problematic connection string to the working application, it connects fine and executes accordingly. Since I'm testing both applications locally, it's puzzling to me that one application can connect and the other cannot -- especially since I'm using the same initialization code in both applications.
Plater 7,872
Recognized Expert Expert
Is there any run-as permissions set for the working program that isn't there yet for this new program?
That *IS* very strange that one works and the other doesn't
If anyone is interested, the issue ended up being a corrupt profile. My sys admin cleared my Windows profile and reinstalled the iSeries Client Access Library for Windows and everything worked fine.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Wolfgang Kaml |
last post by:
Hello All,
I have been working on this for almost a week now and I haven't anything up
my sleeves anymore that I could test in addition or change....
Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue,
I am posting this on all of the three newsgroups.
That's the setup:
Windows 2003 Server with IIS and ASP.NET actiavted
Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
|
by: Seth |
last post by:
Hi all,
Which is the best driver for accessing to DB2 (in ab AS/400) from a win2k
via ODBC? is there known problems so far? I mean, memory management bugs,
access degradation, etc.
Thanks,
Carles
|
by: Franz Seidl |
last post by:
Hello!
we (our computing school) is searching a ODBC-Driver for Windows XP.
Is there any driver, which is free of charge?
(you know, nearly every school (at least here in Germany) has not
enough money for this "lesser" things...)
Best regards,
Franz Seidl
|
by: Simon Bitchenor |
last post by:
I am linking an Access 97 front-end database to an ODBC data source
(Sage Line 50 Version 9). Running the link on a Windows 98 PC the
performance of the linked table is instant. Running under windows XP
Professional the response increases to around 20-30 seconds. I have
compared the ODBC settings on both operating systems and they seem
identical. The windows XP PCs are all Celerons 2.0Ghz+ with 512Mb RAM,
the windows 98 PC is a 1Ghz AMD...
|
by: Fred |
last post by:
I am trying to write an app in vfp 8.0 using cursoradapters connecting
to an as400 db2 database. My goal is to set up a test data library
(called FRED) on the iseries identical to the production data library
and manipulate the library list the pc uses by changing the odbc
connection string. If my understanding is correct, the DBQ option of
the connection string adds libraries to the lib list, but I can't get
the cursor to load unless I...
| |
by: Jacques Lebastard |
last post by:
I have a problem writing PHP ODBC scripts that suit both MySQL and
PostgreSQL. So far, the following syntaxes seem to apply to each
database (this is an 'insert' example; the same differences apply to
'select commands):
MySQL: INSERT INTO MyTable (col1, col2) VALUES ("value1","value2")
PGSQL: INSERT INTO "MyTable" (col1, col2) VALUES ('value1','value2')
I'd like to have a single syntax for both databases. Is this possible?
Do I need...
|
by: Jeff Allan |
last post by:
Hello,
Does anyone out there have experience with connectivity to DB2 hosted on an
iSeries? I have successfully written a VB.NET 2005 WEB application to do
this but I am having a morning connection problem.
Every morning the iSeries will return an "invalid connection" error on the
first attempt of the day. After that, all other connections work fine. I
am thinking it's an iSeries issue but I can't find any data to back me up.
|
by: sheebahezi |
last post by:
Hi ,
I'm using AS400 server in a project. When i try to set the connection for an ODBC Driver it gives an error mesage( The setup routines for the iseries Access ODBC Driver could not be found.Please reinstall the driver)
how doi proceed with.Pls help
|
by: Gorkamail2 |
last post by:
Hi,
I'm getting the following error when a program generates a query to a AS400 database.
Product=ZWWVI-AUNO Platform=Other Table=IIM
Error -2147217900 SQL0104 - Token 99 was not valid. Valid tokens: + - AS <IDENTIFIER>.
SELECT
TOP 99
|
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...
|
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,...
| |
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |