on 12-16-2013 6:23 AM
Hi,
I install Powerbuilder 11.1 and Oracle 10g 32 bit client in my machine (OS- Win7, 64 Bit).
When i run my PB application or create DB profile it produce error "ORA-12154: TNS:could not resolve the connect identifier specified" but my tnsping is ok and i am able to connect my SQLPlus with run as admin mode.
I also able to run my PB application exe (Run as admin) which is generated on my other team member.
Please help, it is urgent.
Thanks
Vikrant.
Hi,
You might try the PowerBuilder Developer Center for such questions;
Connection problems with Oracle have been discussed there before; although maybe different errors:
http://scn.sap.com/community/developer-center/powerbuilder
http://scn.sap.com/thread/3465025
http://scn.sap.com/thread/3464576
For the error "ORA-12154"maybe the issue is due to a typo; try this link for tips:
http://ora-12154.ora-code.com/
Are you perhaps using a local version of Oracle, then you could use the local address 2: as server in PB.
You should see the services that are defined with:
select value from v$parameter where name = 'service_names'
The entry for this service in the tnsnames.ora file should have that service as service name and your powerbuilder connection profile server property should have the entry name in the tnsnames.ora
Please try to see if they match.
Without further information there is little we can say,
Regards,
Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SQLPlus is not comparable, it may use a completely different connection method.
I am not an Oracle administrator, but normally I would expect to see something like:
(CONNECT_DATA = (SERVICE_NAME = name))
So check:
select value from v$parameter where name = 'service_names'
Check if you can login with the user account with SQLPlus instead of the administrator.
You could also try if a "trace_level_client = 16" set in the sqlnet.ora reveals anything in the trace.
I have no other tips,
Ben
Hello Vikrant,
Root cause could be that programs (Oracle or/and PowerBuilder) are installed in folders with parenthesis in their names, something like "C:\Program Files (x86)\..."
This could be a problem when installing Oracle 32-bit clients on X64 environments.
Check this useful link for more details:
Hope this helps.
Jacob
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.