on 10-15-2015 7:18 PM
Hi all.
I have the following issue: I created a set of 23 CR reports in a QA environment which have worked smoothly. Then I promoted them to a PROD environment, but while I'm trying to view them on demand, I get the following error:
The viewer could not process an event. Error in File xxx.rpt: The table could not be found. [] ---- Error code:0 [CRWEB00000119]
It happens to any of the 23 promoted reports
All these reports are based on Oracle tables (and CR Commands) which I access via an ODBC connection
I've learned from the QA implementation, that both versions of Oracle Client (32 and 64 bits) must be installed in the BOE server (or servers if your BOE works as a Cluster ) and that, in the Path Environment Variable, the install path that must come first is the 32 bits version and then the 64 bits version, which I did in my BOE PROD Cluster. I created TNSNAMES.ORA and SQLNET.ORA files on each server, with the same entries as the original files in the QA cluster.
Besides, I generated ODBC System DSNs for both cluster's servers (each server has 2 ODBC System DSN: One for the 32 bits client and another for the 64 bits client. ) I tested all these ODBC configurations and they seem to be set up properly. These ODBC System DSN have the same name as the ODBC System DSN in the QA environment, as I am pointing the
When the problem came up, I thought the it could be related to the Oracle installation in the PROD Cluster, so what I did, was to locally create a simple CR report which uses data from a single Oracle table. Then I published it directly into the PROD environment and set up its Database Configuration
The same way as for the 23 CR reports that have the problem. However, I can view this report properly and refresh it from within the BOE server.
So I am a bit lost regarding this behavior
The technical details of my deployment are these:
Oracle DB version : 10g Enterprise Edition Release 10.2.0.5.0
SAP BOE server: 4.0 SP 10 Patch 01
Crystal Reports: 2011
Any advise will be greatly appreciated
Gabriel
Crystal reports server processes in BI4.1 aree 32bit, so for crystal you only need 32 bit db clients.
Do these failing reports have correct DB connection info in the prod system (CMC>report properties) ?
Also, maybe the difference is with the actual tables in the reporting DB ?
Are you sure same tables exist in prod as in dev ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Denis
In the PROD environment the reports are getting connected to the same Oracle DB as they were connected in the QA environment, so there should not exist any schema or tables changes that might possibly affect the behavior of the report.
As per trying to save the reports from Crystal Designer to the PROD server , I tried that too, and an error screen comes up
Internal Error: The report application server failed
I searched over some other posts in regards to this other error, and found the next one, which suggests changing the reports page setup configuration.
https://scn.sap.com/thread/3433032
I tried it out but the error remains
Thanks for your advise.
Well I'm using the servers Administrator account in order to save the reports. As I said, as I was trying to see if the original problem was related to the ODBC configuration in the server, I generated a very simple brand new report which gets connected to an Oracle table , then I saved this report into the PROD server and executed it whitin BOE. Not only I was able to save this simple report from CR Designer, but the report ran properly in BOE.
No, the report I created was a very simple one. It just uses a single Oracle table which records are printed on the Detail Section (I just picked 2 columns to be printed on the report).
The reports which I'm having problems with are a bit more complex since they use more tables, some commands and joins are created among them.
Besides that, there's some history behind them, let me explain it to you: Initially, we had the original reports, lets name them as Report1, Report 2, Report3 through Report23 . They were made in CR 2008.
We need to have these changed because of 2 reasons:
Since some business logic changed, we coul'd not execute these 23 reports directly in BOE (because of the way they were designed). Therefore, we came up with the idea of migrating first Report1 through Report 23 from CR2008 to CR2011 and then, creating other 23 reports (brand new CR2011 reports), lets call them Report1A, Report2A and so on, through Report23A
This way
Report 1A would have Report1 as a subreport
Report2A would have Report2 as a subreport
And so on (The same applies for all the remaining reports)
We could make these 23 reports to work the way we intended and they are running smoothly in our QA environment (they run properly in both Crystal Designer and BOE). As the 23 reports are working properly in QA, we think there shouldn't be problem to have them execute properly in PROD.
I have no row level security or any other filters applied on the Data Foundation or Business Elements Repository Objects that I'm using. All the users would have to see the same data in their Prompts. Although the reports filter the data that each user can see, this filtering process takes place using other mechanisms.
Hi Bharath
I was able to go through the Rights Test View option and I could confirm that the Business View is visible for the account I was using to run the report.
I think I was not able to find a reason why this error was happening. As it became more and more evident that the BO Repository objects used for dynamically prompting were not to blame on this case, I tried something else, so I was able to figure out a workaround for it
I hope I'm clear enough as I describe the steps I followed:
As I said before, every single report I created, is made up of 2 parts: A Main Report which displays a Subreport (within the Main Report footer section). I suspected something in either the main Report or in it's Subreport was wrong. So I choose 1 out of my 23 reports in order to make a deeper analysis.
So, I could not exactly say why was this happening, if there was something wrong while promoting these reports from my QA environment (although I didn't get any errors when did so).
I'd had liked to have been able to get to the root of the problem, but unfortunately it was less costly for me to figure out a workaround than to keep working in a more "scientific" approach. Moreover when these reports are about to be used in the PROD environment.
Thanks a bunch for your support
Best regards
Gabriel
Check Business view manager has all related objects in PROD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jawahar.
I think Business Views objects are all set up properly in PROD since I can connect to the the published reports from my machine (via CR designer) and when I execute the reports, I can see all the Dynamic Prompts which use these Business Views / LOVs, are showing correctly and the reports get resolved properly too.
In the PROD environment the reports are getting connected to the same Oracle DB as they were connected in the QA environment, so there should not exist any schema or tables changes that might possibly affect the behavior of the report.
As per trying to save the reports from Crystal Designer to the PROD server , I tried that too, and an error screen comes up
Internal Error: The report application server failed
I searched over some other posts in regards to this other error, and found the next one, which suggests changing the reports page setup configuration.
https://scn.sap.com/thread/3433032
I tried it out but the error remains
Thanks for your advise.
Hi Bharath
Actually, yes, I was able to Schedule the LOVs successfully in the BV Manager:
The account that I'm using to view the report on demand is the Administrator account. In fact, with other user accounts I was not being able to see the LOVs values while trying to execute the report in CR Designer, so I had to explicitly specify rights at all levels for all the Business View Objetcs in the Repositoty (Data Foundation object and every singe column of it, Business Element object and every single column of it, Business Views, List of Values and Prompt Groups ) like this:
I open the reports from their server location using CR Designer and after that, I was able to see the LOV values, so I think Business View Manager objetcs' rights setup is not an issue here.
Thanks for your help.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.