Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1 of 3 Oracle Service Name working

Status
Not open for further replies.

wndrfl

Technical User
Sep 26, 2003
5
US
Hello,

I have a problem with Crystal Enterprise that I have not been able to resolve for a few weeks. We have a server with CE and another server (behind a firewall) with Oracle.

In tnsnames.ora we have 3 service name defined, with almost the same configuration: pointing to the server (firewall), selecting TCP port 1521. The only difference between them is the instance name like "inv" and "inv1".

I am sitting right in front of this CE server and just tested all 3 Oracle sources with the Net8 Assistant tool, each one is working properly, logging me in.

But!

Crystal Enterprise does not see all the 3. It can use only one. And every time the same. I tried to put that one to the beginning of tnsnames.ora and also to the end, it worked and the other 2 did not.

I am getting a "Cannot open SQL server." error message.

I cannot understand this. The three Oracle service definitions are almost the same, differing in only one character in the instance name.

Any hints?
 
Hi,
If the message indicates 'SqlServer' then, as you indicated,the connection to Oracle is failing - is the firewall configured to deal with Oracle's random port assignment for the connection ( that you can connect to each from the server seems to indicate that it is)..

Does any report using those instances fail?

[profile]
 
Goog morning,

there is no problem with the firewall for sure. It goes with the same setting for 'me' with my pc and Crystal Reports and for the server with Crystal Enterprise. There is no difference at all.

And while I am able to run the report, Crystal Reports can handle all of Pracle sources, the server can not. (Of course, tnsnames.ora files are the same as well.)

This is the most interesting in the whole story.
 
Hi, Just one more clarification ( maybe):
Can you, from the server that runs Crystal Enterprise , connect to the 3 instances of Orarcle using SqlPlus?

Can you run the reports in Crystal Repprts Pro ( again, from that server, not your PC)?

[profile]
 
Hi,
yes and no.
Yes, I can connect to and log in all of the 3 Oracle databases from the server with Crystal Enterprise.
And no, I could not try it because there is no Crystal Reports installed on the server, only Enterprise.
 
Hi,
OK, that's enough to confirm that the Oracle client stuff is probably fine..

Given that, the only reason I can see for the reports themselves having problems is some difference in how the reports specify the data source...or a difference in the tnsnames.ora files between the PC and the CE Server.

Can you re-confirm that tnsnames.ora files are the same ( i.e pointing to the same host/instance/port for each case )?
[profile]


 
They are _almost_ identical since I made them with Copy and Paste :))
The only difference is that on the client, port 1522 is used. On the server it is 1521. I got these from firewall operations guys. (From my PC I have to use port 1522 and a CryptoCard to identify myself. On the other hand, port 1521 is open for the server's fix IP address.)

The appipriate line on the client:
(ADDRESS = (PROTOCOL = TCP)(HOST = fw-mc.hu.**.com)(PORT = 1522))
And on the server:
(ADDRESS = (PROTOCOL = TCP)(HOST = fw-mc.hu.**.com)(PORT = 1521))

And ... this line is the same for all 3 sources, and one of them is working. But only one!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top