Sathyanesh Krishnan
2011-01-25 19:59:51 UTC
Hi TJ,
Unfortunately the reason code 25 of the error doesn't give much clue,
IDS server support multiple protocols (SQLI and DRDA).
This .NET provider uses DRDA protocol to connect to IDS database.
Can you please verify the port number you are using (9091) is configured at
IDS to use DRDA protocol.
Regards,
Satyan
Software Engineer
R&D - IBM Information Management Division
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)
|------------>
| From: |
|------------>
| To: |
|------------>
| Cc: |
|------------>
| Date: |
|------------>
| Subject: |
|------------>
This helped me on the local server, the testconn40.exe now finish with
success. However when run from another computer on the LAN against the same
server I get this:
===========================
Step 3: Connecting using "User
ID=informix;Password=xxxxxx;Database=eloxnet;Serv
er=192.168.57.72:9091"
Server located, but security error:
ERROR [08001] [IBM] SQL30082N Security processing failed with reason
"25" ("CON
NECTION DISALLOWED"). SQLSTATE=08001
=============================
No matter if I try to run testconn40.exe against the sysuser database I get
that error too there.
The IBM .Net provider is correctly setup at this computer as I'm using it
against another IDS 11.5 server without problems. It only fails when I try
to run it against the IDS 11.7 server.
Regards
TJ
----- Original Message -----
From: Sathyanesh Krishnan
To: Throstur Jonsson
Cc: Ardeshir Jamshidi ; classics-***@iiug.org ; dotNet Runtime Team ;
ids-***@iiug.org
Sent: Tuesday, January 25, 2011 3:53 PM
Subject: Re: likely database privilege problem
Hi TJ,
Forgot you include you in the mail :)
Regards,
Satyan
Software Engineer
R&D - IBM Information Management Division
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)
Inactive hide details for Sathyanesh Krishnan---01/25/2011 09:48:54
AM---Hi TJ, I am redirecting the question to the IDS; ThisSathyanesh
Krishnan---01/25/2011 09:48:54 AM---Hi TJ, I am redirecting the question
to the IDS; This problem is likely something to do with datab
From: Sathyanesh Krishnan/Lenexa/IBM
To: ids-***@iiug.org, classics-***@iiug.org
Cc: Ardeshir Jamshidi/Oakland/***@IBMUS, dotNet Runtime Team
Date: 01/25/2011 09:48 AM
Subject: likely database privilege problem
Hi TJ,
I am redirecting the question to the IDS;
This problem is likely something to do with database privilege at IDS
server.
Most probably the problem will resolve once you GRANT appropriate right to
the database.
Just for verifying you may issue the following command to the database you
are trying to connect.
grant connect to public;
grant resource to public;
If this doesn't solve the problem then IDS folks can help you better here.
Regards,
Satyan
Software Engineer
R&D - IBM Information Management Division
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)
----- Forwarded by Sathyanesh Krishnan/Lenexa/IBM on 01/25/2011 09:40 AM
-----
From: Ardeshir Jamshidi/Oakland/IBM
To: dotNet Runtime Team
Date: 01/25/2011 06:23 AM
Subject: Team, really need to give this customer some response,
Please advise/re: beta question.
----- Forwarded by Ardeshir Jamshidi/Oakland/IBM on 01/25/2011 04:21 AM
-----
"Throstur
Jonsson"
<***@rational-ne
twork.com>
To
01/25/2011 Ardeshir
03:45 AM Jamshidi/Oak
land/***@IBM
US
cc
Subject
Re: beta
question.
Hi Ardeshir,
I'm geting totaly frusturated with this. Now I have spent a day on this
and little progress. So your help would realy be appreciated.
Just to add to this. If I change the Database=eloxnet to Database=sysuser
or Database=sysutils or Database=sysmaster the testconn40.exe passes
throuhg gracefully.
It is only with Database=sysadmin and Database=eloxnet (my database) where
it fails as described below. So this has definately something to do with
different security among those databases in my Informix Online Server
Instance.
Where is that controlled?
Regars
TJ
----- Original Message -----
From: Throstur Jonsson
To: Ardeshir Jamshidi
Sent: Monday, January 24, 2011 6:35 PM
Subject: beta question.
Hi,
I have for few months been using the beta version of the IBM .Net Data
Provider version 9.7fp3a. All has been working very well in my
testenvironment with IDS Developer 11.5 on Windows XP. Now I installed IDS
Developer 11.7 on a W2003 machine and the same IBM data provider.
Unfortunately I get some security problems when I test a connection with
Dbconnect40.exe from the W2003 machine:
C:\Program Files\IBM\IBM DATA SERVER DRIVER\bin>testconn40.exe "User
ID=informix
;Password=xxxxxx;Database=eloxnet;Server=192.168.57.72:9091"
Step 1: Printing version info
.NET Framework version: 4.0.30319.1
DB2 .NET provider version: 9.0.0.4
DB2 .NET file version: 9.7.3.4
Capability bits: ALLDEFINED
Build: 20100929
Factory for invariant name IBM.Data.DB2 verified
Factory for invariant name IBM.Data.Informix verified
IDS.NET from DbFactory is Common IDS.NET
Warning, failed load of DbFactory for:IBM.Data.DB2.9.7.3
Warning, failed load of DbFactory for:IBM.Data.Informix.9.7.3
VSAI assembly version: 9.1.0.0
VSAI file version: 9.7.3.0
Elapsed: 2,359375
Step 2: Validating db2dsdriver.cfg against db2dsdriver.xsd schema file
File C:\Documents and Settings\All Users\Application Data\IBM\DB2\IBMDBC
L1\cfg\db2dsdriver.cfg missing. Nothing to validate
Elapsed: 0,09375
Step 3: Connecting using "User
ID=informix;Password=xxxxxx;Database=eloxnet;Serv
er=192.168.57.72:9091"
ERROR [08004] [IBM] SQL30060N "INFORMIX" does not have the privilege to
perform operation "0x2203". SQLSTATE=08004
Test failed.
As I Google this on the net I only get some basic informatoin regarding
some security plugin, etc. The DRDA setup is exactly the same in registry
(SQLHSTS, etc.). I have this aliasis in my onconfig file.
DBSERVERALIASES svc_drda_1 # List of alternate dbserver names
Ant the port number in the services file is set to 9091 by this line:
svc_drda_1 9091/tcp
The DRDA listener seems to be active and listening. However this seems to
be a kind of security problem that I have no clue what can be the reason.
Regards
TJ
Unfortunately the reason code 25 of the error doesn't give much clue,
IDS server support multiple protocols (SQLI and DRDA).
This .NET provider uses DRDA protocol to connect to IDS database.
Can you please verify the port number you are using (9091) is configured at
IDS to use DRDA protocol.
Regards,
Satyan
Software Engineer
R&D - IBM Information Management Division
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)
|------------>
| From: |
|------------>
--------------------------------------------------------------------------------------------------------------------------------------------------|
--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>--------------------------------------------------------------------------------------------------------------------------------------------------|
| To: |
|------------>
--------------------------------------------------------------------------------------------------------------------------------------------------|
--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>--------------------------------------------------------------------------------------------------------------------------------------------------|
| Cc: |
|------------>
--------------------------------------------------------------------------------------------------------------------------------------------------|
--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>--------------------------------------------------------------------------------------------------------------------------------------------------|
| Date: |
|------------>
--------------------------------------------------------------------------------------------------------------------------------------------------|
|01/25/2011 01:02 PM |--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>| Subject: |
|------------>
--------------------------------------------------------------------------------------------------------------------------------------------------|
|Re: likely database privilege problem |--------------------------------------------------------------------------------------------------------------------------------------------------|
Hi Sathyanesh,This helped me on the local server, the testconn40.exe now finish with
success. However when run from another computer on the LAN against the same
server I get this:
===========================
Step 3: Connecting using "User
ID=informix;Password=xxxxxx;Database=eloxnet;Serv
er=192.168.57.72:9091"
Server located, but security error:
ERROR [08001] [IBM] SQL30082N Security processing failed with reason
"25" ("CON
NECTION DISALLOWED"). SQLSTATE=08001
=============================
No matter if I try to run testconn40.exe against the sysuser database I get
that error too there.
The IBM .Net provider is correctly setup at this computer as I'm using it
against another IDS 11.5 server without problems. It only fails when I try
to run it against the IDS 11.7 server.
Regards
TJ
----- Original Message -----
From: Sathyanesh Krishnan
To: Throstur Jonsson
Cc: Ardeshir Jamshidi ; classics-***@iiug.org ; dotNet Runtime Team ;
ids-***@iiug.org
Sent: Tuesday, January 25, 2011 3:53 PM
Subject: Re: likely database privilege problem
Hi TJ,
Forgot you include you in the mail :)
Regards,
Satyan
Software Engineer
R&D - IBM Information Management Division
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)
Inactive hide details for Sathyanesh Krishnan---01/25/2011 09:48:54
AM---Hi TJ, I am redirecting the question to the IDS; ThisSathyanesh
Krishnan---01/25/2011 09:48:54 AM---Hi TJ, I am redirecting the question
to the IDS; This problem is likely something to do with datab
From: Sathyanesh Krishnan/Lenexa/IBM
To: ids-***@iiug.org, classics-***@iiug.org
Cc: Ardeshir Jamshidi/Oakland/***@IBMUS, dotNet Runtime Team
Date: 01/25/2011 09:48 AM
Subject: likely database privilege problem
Hi TJ,
I am redirecting the question to the IDS;
This problem is likely something to do with database privilege at IDS
server.
Most probably the problem will resolve once you GRANT appropriate right to
the database.
Just for verifying you may issue the following command to the database you
are trying to connect.
grant connect to public;
grant resource to public;
If this doesn't solve the problem then IDS folks can help you better here.
Regards,
Satyan
Software Engineer
R&D - IBM Information Management Division
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)
----- Forwarded by Sathyanesh Krishnan/Lenexa/IBM on 01/25/2011 09:40 AM
-----
From: Ardeshir Jamshidi/Oakland/IBM
To: dotNet Runtime Team
Date: 01/25/2011 06:23 AM
Subject: Team, really need to give this customer some response,
Please advise/re: beta question.
----- Forwarded by Ardeshir Jamshidi/Oakland/IBM on 01/25/2011 04:21 AM
-----
"Throstur
Jonsson"
<***@rational-ne
twork.com>
To
01/25/2011 Ardeshir
03:45 AM Jamshidi/Oak
land/***@IBM
US
cc
Subject
Re: beta
question.
Hi Ardeshir,
I'm geting totaly frusturated with this. Now I have spent a day on this
and little progress. So your help would realy be appreciated.
Just to add to this. If I change the Database=eloxnet to Database=sysuser
or Database=sysutils or Database=sysmaster the testconn40.exe passes
throuhg gracefully.
It is only with Database=sysadmin and Database=eloxnet (my database) where
it fails as described below. So this has definately something to do with
different security among those databases in my Informix Online Server
Instance.
Where is that controlled?
Regars
TJ
----- Original Message -----
From: Throstur Jonsson
To: Ardeshir Jamshidi
Sent: Monday, January 24, 2011 6:35 PM
Subject: beta question.
Hi,
I have for few months been using the beta version of the IBM .Net Data
Provider version 9.7fp3a. All has been working very well in my
testenvironment with IDS Developer 11.5 on Windows XP. Now I installed IDS
Developer 11.7 on a W2003 machine and the same IBM data provider.
Unfortunately I get some security problems when I test a connection with
Dbconnect40.exe from the W2003 machine:
C:\Program Files\IBM\IBM DATA SERVER DRIVER\bin>testconn40.exe "User
ID=informix
;Password=xxxxxx;Database=eloxnet;Server=192.168.57.72:9091"
Step 1: Printing version info
.NET Framework version: 4.0.30319.1
DB2 .NET provider version: 9.0.0.4
DB2 .NET file version: 9.7.3.4
Capability bits: ALLDEFINED
Build: 20100929
Factory for invariant name IBM.Data.DB2 verified
Factory for invariant name IBM.Data.Informix verified
IDS.NET from DbFactory is Common IDS.NET
Warning, failed load of DbFactory for:IBM.Data.DB2.9.7.3
Warning, failed load of DbFactory for:IBM.Data.Informix.9.7.3
VSAI assembly version: 9.1.0.0
VSAI file version: 9.7.3.0
Elapsed: 2,359375
Step 2: Validating db2dsdriver.cfg against db2dsdriver.xsd schema file
File C:\Documents and Settings\All Users\Application Data\IBM\DB2\IBMDBC
L1\cfg\db2dsdriver.cfg missing. Nothing to validate
Elapsed: 0,09375
Step 3: Connecting using "User
ID=informix;Password=xxxxxx;Database=eloxnet;Serv
er=192.168.57.72:9091"
ERROR [08004] [IBM] SQL30060N "INFORMIX" does not have the privilege to
perform operation "0x2203". SQLSTATE=08004
Test failed.
As I Google this on the net I only get some basic informatoin regarding
some security plugin, etc. The DRDA setup is exactly the same in registry
(SQLHSTS, etc.). I have this aliasis in my onconfig file.
DBSERVERALIASES svc_drda_1 # List of alternate dbserver names
Ant the port number in the services file is set to 9091 by this line:
svc_drda_1 9091/tcp
The DRDA listener seems to be active and listening. However this seems to
be a kind of security problem that I have no clue what can be the reason.
Regards
TJ