Generating Reports during execution
Can report generation be forced to run _during_ a Batch model execution in TestStand 4.0? The report file only seems to be generated after each batch.
I am implementing a burn-in test program which can take 100 hours to run and don't want to lose data if something happens to the computer before the test completes. The report is small - only 16 pass/fail steps. I'm running up to 4 UUTs at a time and generating an ASCII text report.
Thanks
Don Frevele
Thanks Dillon,
I had tried that, but I guess I didn't wait long enough for the files to be written. A few questions:
1) What determines how often the files are written: time, number of test steps, amount of data written? Can this value be changed? I have a small amount of data and test steps written over a long period of time.
2) How can I customize the generated report. From reading another post and snooping around, I find that the on-the-fly reports seem to be generated by TSOTFRG.dll and none of the report modification sequence callbacks are used. Is that correct? I want to replace the report header and it seems that I would have to modify the TSOTFRG source code. Is there any documentation (other than looking at the code) for this? I am an experienced c/c++ programmer.
Thanks
Don
Similar Messages
-
Reports failing during execution through CMC
Currently we have the following configuration in our development and QA environments
Crystal Reports Server XI R2
Windows 2003 Server
Data used to generate reports is kept in Oracle 10G running on Red Hat
Both servers are virtual environment - they run on VMWare
We have a particular report that basically bails out 1/2 way through execution for a particular schema. The report uses a SQL command - the SQL query itself can take sometime when executed through SQL Developer - depending of the size of the data set in the schema can take between 5 to 10 min to execute. When running the report itt fails with the following message:
A Request was canceled. The necessary security privileges could not be verified. This indicates a problem with the security server.
In the windows event viewer we can see the following entries
Security policies were propagated with warning. 0x4b8. An extended error has occurred
A failure occurred while the Page Server was processing report .... (Event 42452)
A Page Server subprocess in the processing server was forced to terminate (Event 42445)
Your request cannot be processed due to low system resources. Please contact your system administrator (Event ID 42443)
A Page Server subprocess was forced to terminate (Event 42451)
There is nothing unusual in the logging folder.
We already look through the knowledge base and the only article that sort of resembles the situation is article 1407795. We confirmed that the report has no printers associated to it.
The report work with a smaller data set in a different schema.
We are at a lost - we have changed the JVM parameter to allocate more memory to Tomcat but it does not seem to address the issue.
Any insight would be appreciatedWhen CRS is installed, it defaults to run under the Local System account on the server where it's installed. This account is local to the server and does not have access to anything on the network. It sounds like this may be part of your problem.
In the CCM, stop each of the "servers", including TomCat, go to its properties and change the login in at the bottom of the first tab to an account that has network access, save and restart the server. Best Practice is to have a special "services account" on the network where the password doesn't expire to use for this purpose.
If that's not the issue, I would verify the login being used for the report and also that there's nothing on the database end that would be causing this. There is no "Security Server" in CRS, so this is a problem that is occuring outside of CRS but is affecting how CRS runs.
-Dell -
BI Publisher - PO_DISPATCH Error generating report output
Hi everyone,
Sorry for my bad english... having said that...
I need to modify the Purchase Order print. First, I wanted to see the standard version to get an idea of how much different it was. Well, I don't know because it doesn't work.
Error:
Error generating report output: (235,2309)
Error occurred during the process of generating the output file from template file, XML data file, and translation XLIFF file.
I know there are several topics on the web, but all of them are about new or custom reports, this is a standard one. When I preview the report on the report definition it works fine, so I assume there's a problem with the XML file generated. When I preview the report specifying an alternative XML I get the same error. The XML file I choose was the one generated by PeopleSoft when trying to view the printable version of the PO online.
So, I start cutting portions of the XML File. I started leaving only de Header Data and it works OK, when I add the Lines it failed. I add the Line Fields one by one to detect what was the problem... And finally it failed when I add AMT_LINE_MAX. Why? No idea, is it because its value is '0,000' instead of '0.000'? I don't think that should be the problem since there are other numeric fields on the header, all with ',' as a decimal separator...
Am I missing some configuration?
Thanks in advance.
Regards,
Veronica.Have a look at the following doc:
"Error generating report output. (235,2309)" When Running the "PO XMLP Dispatch" XML Publisher Report (PO_DISPATCH) for a Purchase Order with a Ship To Location with Special Characters in the Address [ID 1299876.1]
https://support.oracle.com/epmos/faces/DocContentDisplay?id=1299876.1
Stating this happens for example when there is a location with special characters. -
Getting error while generating report from Siebel (Siebel/BI Publisher)
Dear,
I have completed the integration of siebel and BIP according to the oracle document, I successfully upload the sample template from siebel application to BIP server.
But now I am facing two issues,
I am getting error "Unauthorized access, Please contact the administrator." when I open report on BIP which I have uploaded from siebel.
When I try to generate report from siebel=>application=>Tables=>S_Contact I am getting the below error when click on table report from Report button.
(httptransport.cpp (1635)) SBL-EAI-04117: HTTP Request error during 'Submitting Data SendHTTP request': 'Status code - 500'
(httptransport.cpp (983)) SBL-EAI-04117: HTTP Request error during 'Submitting Data Send HTTP request': 'Status code - 500'
(soapbinding.cpp (675)) SBL-EAI-04304: Unknown Part ':oracle.xdo.webservice.exception.InvalidParametersException' for operation 'runReport' exists in SOAP message.
(outdisp.cpp (247)) SBL-EAI-04308: Operation 'runReport' of Web Service 'http://xmlns.oracle.com/oxp/service/PublicReportService.PublicReportServiceService' at port 'PublicReportService' failed with the following explanation: "oracle.xdo.webservice.
Invalid User Name and Password for BIP Server
(xmlpadaptersvc.cpp (2287)) SBL-RPT-50529: Verify BI Publisher Server Userid and Password.
Error in generating Report Output file /siebel8/sea81/siebsrvr/siebel8/sea81/siebsrvr/xmlp/reports/Rept11-3U7M403.PDF in the XMLP Engine
(xmlpadaptersvc.cpp (2983)) SBL-RPT-50524: BI Publisher engine failed to generate report.
Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
( (0) err=2818155 sys=9815388) SBL-OMS-00107: Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
(bsvcmgr.cpp (1392) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
(bsvcmgr.cpp (1236) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
(smireq.cpp (425) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
Please help to resolve this issue.
Regards,
SoahilThis specifically means that the destinations have not been configured in the Crystal Job Server. If you're running 4.x, this may be part of the "Adaptive Job Server" instead of or in addition to a Crystal Job Server. If you're using 3.1 or earlier, you'll also have to set up the destination in the Destination Job Server.
You'll have to log in to the CMC, go to Servers, right-click on the correct job server and go to "Destinations". You'll then add something like "File" or "Unmanaged Disk" to the available destinations and save. Stop the job server, start it again, and your error should go away.
Please be aware that unless you're using specific credentials to schedule the report or you're saving to the server where BO is installed, you'll need to make sure that the BO services are running under a network "Services" account that has access to the folder you're scheduling the report to. By default during installation it's set to run under the "Local Services" account that doesn't have access to the network.
-Dell -
ORA-04088: error during execution of trigger
Error Description :
We have more than 100 of records in a csv file which we are processing through a script. At the first execution let
say it generates trigger exception for five records ... when I execute the script second time those five records
are not throwing any exception but may be some other records. But consecutive trigger exception is not happening for any record . If a particular record is throwing exception at first attempt then in the second attempts it's not throwing the trigger exception.
Input file
PROPRTY_ID,NAME,OLD STREET,CITY,STATE,ZIP,NEW STREET,NEW CITY,NEW STATE,NEW ZIP
88527091,SAM PAUL SUMMU ,1061 XYZ,CITY1,ST,95626,5512 XX YY ZZ,TOWN,PA,12345-9812
Error :
88527091,SAM PAUL SUMMU ,1061 XYZ,CITY1,ST,95626,5512 XX YY ZZ,TOWN,PA,12345-9812 - PROPERTY Update Error : ORA-00001: unique constraint (PROD.PK_AUDIT_LOG) violated
ORA-06512: at "PROD.PROPERTY_AUD", line 159
ORA-04088: error during execution of trigger 'PROD.PROPERTY_AUD'
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> desc property
Name Null? Type
PROPERTY_ID NOT NULL NUMBER(20)
TYPE_CODE VARCHAR2(10)
TYPE_PREFIX VARCHAR2(10)
DWELLING_TYPE_CODE NOT NULL VARCHAR2(10)
DWELLING_TYPE_PREFIX NOT NULL VARCHAR2(10)
STREET_NUMBER VARCHAR2(25)
STREET_DIRECTION CHAR(2)
STREET_NAME NOT NULL VARCHAR2(45)
UNIT_NUMBER VARCHAR2(15)
CITY_CODE VARCHAR2(10)
STATE NOT NULL CHAR(2)
ZIP_CODE VARCHAR2(10)
UNIT_TYPE VARCHAR2(10)
UNIT_PREFIX VARCHAR2(10)
COUNTY_CODE VARCHAR2(10)
COUNTRY_CODE NOT NULL VARCHAR2(10)
SQUARE_FEET NUMBER(6)
NUMBER_MOTHER_LAW_UNITS NUMBER(6)
YEAR_BUILT DATE
PROPERTY_VALUE NUMBER(12)
ZIP_PLUS_4 VARCHAR2(4)
SFI_REQ_FLAG CHAR(1)
LAST_MODIFIED NOT NULL DATE
LAST_MODIFIED_BY VARCHAR2(31)
STANDARDIZED_STATUS VARCHAR2(10)
STANDARDIZED_DESC VARCHAR2(200)
SQL> desc audit_log
Name Null? Type
SEQ_NO NOT NULL NUMBER(20)
TABLE_NAME VARCHAR2(31)
USER_STAMP VARCHAR2(31)
TIME_STAMP DATE
TRAN_CODE CHAR(2)
RECORD1 VARCHAR2(2000)
RECORD2 VARCHAR2(2000)
FLAG_FLD CHAR(1)
SFI_FLAG_FLD CHAR(1)
ERROR_NUMBER NUMBER
Update Query which is getting executed :
UPDATE PROPERTY
SET DWELLING_TYPE_CODE = 'SFR',
DWELLING_TYPE_PREFIX = 'DWELLING',
STREET_NUMBER = NULL,
STREET_DIRECTION = NULL,
STREET_NAME = ln_new_street_name, -- <From input file>
UNIT_NUMBER = NULL,
CITY_CODE = ln_city_code, -- <From other Table>
STATE = ln_new_state, -- <From input file>
ZIP_CODE = ln_new_zip_code,
UNIT_TYPE = NULL,
UNIT_PREFIX = NULL,
COUNTY_CODE = ln_county_code, -- <From Other table>
COUNTRY_CODE = 1,
ZIP_PLUS_4 = ln_zip_plus_4 -- <From Input file>
WHERE PROPERTY_ID = ln_property_id; -- <From Other table>
*NOTE :* Property.LAST_MODIFIED field is auto populate through other trigger. It does not causing any problem.
This might be helpful :
SQL> select OWNER, CONSTRAINT_NAME, TABLE_NAME,COLUMN_NAME from dba_cons_columns where CONSTRAINT_NAME='PK_AUDIT_LOG';
OWNER CONSTRAINT_NAME TABLE_NAME COLUMN_NAME
PROD PK_AUDIT_LOG AUDIT_LOG SEQ_NO
PROD_ARCH PK_AUDIT_LOG AUDIT_LOG SEQ_NO
SQL> select SEQ_NO, trim(RECORD1), trim(RECORD2),TIME_STAMP
from audit_log where RECORD1 like '%BUTTE%' order by TIME_STAMP;
SEQ_NO
1675677212
TRIM(RECORD1)
00000000000031814095...SFR .DWELLING ...5512 BUTTE VIEW CT ..15532
.CA.95765 ...1377 .1 .....5000..20100922.SUSMSAHA ..
TRIM(RECORD2)
00000000000031814095...SFR .DWELLING ...5512 BUTTE VIEW CT ..15532
.CA.95765 ...1377 .1 .....5000..20100922.SUSMSAHA ..
TIME_STAMP
22-sep-2010
Trigger Body which is fired and throwing the exception :
create or replace trigger PROPERTY_AUD
before insert or update on PROPERTY
for each row
declare
rec1 varchar2(2000);
rec2 varchar2(2000);
tcode char(1);
ln_seq_id NUMBER:=Null;
ls_sql VARCHAR2(2000):=Null;
begin
select temp_audit_seq.nextval into ln_seq_id from dual;
rec1 := null;
rec2 := null;
if user = 'NONREP_USER' then
return;
end if;
if (dbms_reputil.from_remote = FALSE) then
:NEW.last_modified := sysdate;
if (user = 'SALESFORCE_SYNC') then
:new.last_modified_by := NVL(:new.last_modified_by,USER);
else
:new.last_modified_by := user;
end if;
end if;
if inserting then
rec1 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'I';
elsif deleting then
rec1 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'D';
else
rec1 :=
LPAD(:old.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:old.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:old.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:old.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:old.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:old.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:old.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:old.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:old.STATE, 2, ' ' ) || '.' ||
RPAD(:old.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:old.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:old.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:old.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:old.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:old.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:old.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:old.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:old.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:old.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:old.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:old.STANDARDIZED_DESC, 200, ' ' );
rec2 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'U';
end if;
ls_sql :='
INSERT INTO AUDIT_LOG
( seq_no,
table_name,
user_stamp,
time_stamp,
tran_code,
record1,
record2)
VALUES
( :id,
:s_table_name,
:s_user_name,
:d_sysdate,
:s_tcode,
:s_rec1,
:s_rec2
EXECUTE IMMEDIATE ls_sql
USING ln_seq_id,
'PROPERTY',
user,
sysdate,
tcode,
rec1,
rec2;
end;
Your suggestion is highly appreciated ..
Edited by: Bipul on Sep 23, 2010 12:40 AMTEMP_AUDIT_SEQ generates number with the increment of +1
Although there seems other sequence populating the AUDIT_LOG table through a different sequence with the increment of +10. So till now there are already 1179 different numbers residing in audit_log.seq_no and yet to be generated by the TEMP_AUDIT_SEQ sequence. I will look into more details.
SQL> select max(seq_no) from audit_log;
MAX(SEQ_NO)
1675689121
SQL> select TEMP_AUDIT_SEQ.nextval from dual;
NEXTVAL
1675677285
SQL> select count(*) From audit_log where seq_no>1675677285;
COUNT(*)
1179
SQL> select count(*) from audit_log where seq_no>1675677283 and mod(seq_no,2)=1;
COUNT(*)
1179
SQL> select seq_no from audit_log where seq_no>1675677283 and mod(seq_no,2)=1 and rownum<12;
SEQ_NO
1675677291
1675677301
1675677311
1675677321
1675677331
1675677341
1675677351
1675677361
1675677371
1675677381
1675677391
11 rows selected.
Thank you Lee and Herald ten Dam ... -
Generating reports using RWServlet.class(Patch-12)
Sir,
We have configured the Apache Tomcat-3.2.2 to be the servlet engine for generating reports using oracle.reports.rwcgi.RWServlet. Earlier we have been using, Patch-2. We have created many keys(cgicmd.dat) for the different reports that are there with the mostly needed report parameters(including PARAMFORM=YES). We call the report in the browser giving the URL "http://<machine_name>/oraclereports/servlet/oracle.reports.rwcgi.RWServlet?<key_name>". Now, the report page that gets generated is the parameter form. In the HTML source of this page, the form-submitting action is pointing correctly to URL "http://<machine_name>/oraclereports/servlet/oracle.reports.rwcgi.RWServlet.....". The parameter values are entered and the form submitted. The generated report is perfect..
Some days before, Patch-10 was installed. The RWServlet.class that comes along with this was copied to the oracle/reports/rwcgi folder in Tomcat. Now, when the same steps(calling report) as done before were done, the report is not getting generated, giving the output for no page found. The HTML source of the parameter form shows the form-submitting-action URL as "http://<machine_name>/servlet/oracle.reports.rwcgi.RWServlet.." omitting the "oraclereports" that was there earlier.
Now, we have installed Patch-12, copied the new RWServlet.class. For this case also, the same problem is now encountered. Now, have we have to do any additional configuration somewhere? The page that is generated, on giving the URL ""http://<machine_name>/oraclereports/servlet/oracle.reports.rwcgi.RWServlet/showenv?server=Rep60_MACHINENAME" is showing the SCRIPT_NAME as "/servlet/oracle.reports.rwcgi.RWServlet". Is it something to do with this? We tried putting SCRIPT_NAME as a user environment variable, and also by giving SET SCRIPT_NAME=/oraclereports. Still, the problem persists. Doesn't the HttpServletRequest class have some method that returns the SCRIPT_NAME, i.e, the path where the execution is being done? How could different versions of the same class oracle.reports.rwcgi.RWServlet deployed with the same settings on the Tomcat servlet engine behave differently? Please help us on how to solve this problem..
Thank you,
Regards..
RanjithHi,
Is there some way, i.e., by doing some Tomcat setting changes, that the RWServlet of Patch-10/12 can be made to work like RWServlet of Patch-2(with normal settings)? Please help..
Thank you,
Regards..
Ranjith -
How to generate report with dynamic variable number of columns?
How to generate report with dynamic variable number of columns?
I need to generate a report with varying column names (state names) as follows:
SELECT AK, AL, AR,... FROM States ;
I get these column names from the result of another query.
In order to clarify my question, Please consider following table:
CREATE TABLE TIME_PERIODS (
PERIOD VARCHAR2 (50) PRIMARY KEY
CREATE TABLE STATE_INCOME (
NAME VARCHAR2 (2),
PERIOD VARCHAR2 (50) REFERENCES TIME_PERIODS (PERIOD) ,
INCOME NUMBER (12, 2)
I like to generate a report as follows:
AK CA DE FL ...
PERIOD1 1222.23 2423.20 232.33 345.21
PERIOD2
PERIOD3
Total 433242.23 56744.34 8872.21 2324.23 ...
The TIME_PERIODS.Period and State.Name could change dynamically.
So I can't specify the state name in Select query like
SELECT AK, AL, AR,... FROM
What is the best way to generate this report?SQL> -- test tables and test data:
SQL> CREATE TABLE states
2 (state VARCHAR2 (2))
3 /
Table created.
SQL> INSERT INTO states
2 VALUES ('AK')
3 /
1 row created.
SQL> INSERT INTO states
2 VALUES ('AL')
3 /
1 row created.
SQL> INSERT INTO states
2 VALUES ('AR')
3 /
1 row created.
SQL> INSERT INTO states
2 VALUES ('CA')
3 /
1 row created.
SQL> INSERT INTO states
2 VALUES ('DE')
3 /
1 row created.
SQL> INSERT INTO states
2 VALUES ('FL')
3 /
1 row created.
SQL> CREATE TABLE TIME_PERIODS
2 (PERIOD VARCHAR2 (50) PRIMARY KEY)
3 /
Table created.
SQL> INSERT INTO time_periods
2 VALUES ('PERIOD1')
3 /
1 row created.
SQL> INSERT INTO time_periods
2 VALUES ('PERIOD2')
3 /
1 row created.
SQL> INSERT INTO time_periods
2 VALUES ('PERIOD3')
3 /
1 row created.
SQL> INSERT INTO time_periods
2 VALUES ('PERIOD4')
3 /
1 row created.
SQL> CREATE TABLE STATE_INCOME
2 (NAME VARCHAR2 (2),
3 PERIOD VARCHAR2 (50) REFERENCES TIME_PERIODS (PERIOD),
4 INCOME NUMBER (12, 2))
5 /
Table created.
SQL> INSERT INTO state_income
2 VALUES ('AK', 'PERIOD1', 1222.23)
3 /
1 row created.
SQL> INSERT INTO state_income
2 VALUES ('CA', 'PERIOD1', 2423.20)
3 /
1 row created.
SQL> INSERT INTO state_income
2 VALUES ('DE', 'PERIOD1', 232.33)
3 /
1 row created.
SQL> INSERT INTO state_income
2 VALUES ('FL', 'PERIOD1', 345.21)
3 /
1 row created.
SQL> -- the basic query:
SQL> SELECT SUBSTR (time_periods.period, 1, 10) period,
2 SUM (DECODE (name, 'AK', income)) "AK",
3 SUM (DECODE (name, 'CA', income)) "CA",
4 SUM (DECODE (name, 'DE', income)) "DE",
5 SUM (DECODE (name, 'FL', income)) "FL"
6 FROM state_income, time_periods
7 WHERE time_periods.period = state_income.period (+)
8 AND time_periods.period IN ('PERIOD1','PERIOD2','PERIOD3')
9 GROUP BY ROLLUP (time_periods.period)
10 /
PERIOD AK CA DE FL
PERIOD1 1222.23 2423.2 232.33 345.21
PERIOD2
PERIOD3
1222.23 2423.2 232.33 345.21
SQL> -- package that dynamically executes the query
SQL> -- given variable numbers and values
SQL> -- of states and periods:
SQL> CREATE OR REPLACE PACKAGE package_name
2 AS
3 TYPE cursor_type IS REF CURSOR;
4 PROCEDURE procedure_name
5 (p_periods IN VARCHAR2,
6 p_states IN VARCHAR2,
7 cursor_name IN OUT cursor_type);
8 END package_name;
9 /
Package created.
SQL> CREATE OR REPLACE PACKAGE BODY package_name
2 AS
3 PROCEDURE procedure_name
4 (p_periods IN VARCHAR2,
5 p_states IN VARCHAR2,
6 cursor_name IN OUT cursor_type)
7 IS
8 v_periods VARCHAR2 (1000);
9 v_sql VARCHAR2 (4000);
10 v_states VARCHAR2 (1000) := p_states;
11 BEGIN
12 v_periods := REPLACE (p_periods, ',', ''',''');
13 v_sql := 'SELECT SUBSTR(time_periods.period,1,10) period';
14 WHILE LENGTH (v_states) > 1
15 LOOP
16 v_sql := v_sql
17 || ',SUM(DECODE(name,'''
18 || SUBSTR (v_states,1,2) || ''',income)) "' || SUBSTR (v_states,1,2)
19 || '"';
20 v_states := LTRIM (SUBSTR (v_states, 3), ',');
21 END LOOP;
22 v_sql := v_sql
23 || 'FROM state_income, time_periods
24 WHERE time_periods.period = state_income.period (+)
25 AND time_periods.period IN (''' || v_periods || ''')
26 GROUP BY ROLLUP (time_periods.period)';
27 OPEN cursor_name FOR v_sql;
28 END procedure_name;
29 END package_name;
30 /
Package body created.
SQL> -- sample executions from SQL:
SQL> VARIABLE g_ref REFCURSOR
SQL> EXEC package_name.procedure_name ('PERIOD1,PERIOD2,PERIOD3','AK,CA,DE,FL', :g_ref)
PL/SQL procedure successfully completed.
SQL> PRINT g_ref
PERIOD AK CA DE FL
PERIOD1 1222.23 2423.2 232.33 345.21
PERIOD2
PERIOD3
1222.23 2423.2 232.33 345.21
SQL> EXEC package_name.procedure_name ('PERIOD1,PERIOD2','AK,AL,AR', :g_ref)
PL/SQL procedure successfully completed.
SQL> PRINT g_ref
PERIOD AK AL AR
PERIOD1 1222.23
PERIOD2
1222.23
SQL> -- sample execution from PL/SQL block
SQL> -- using parameters derived from processing
SQL> -- cursors containing results of other queries:
SQL> DECLARE
2 CURSOR c_period
3 IS
4 SELECT period
5 FROM time_periods;
6 v_periods VARCHAR2 (1000);
7 v_delimiter VARCHAR2 (1) := NULL;
8 CURSOR c_states
9 IS
10 SELECT state
11 FROM states;
12 v_states VARCHAR2 (1000);
13 BEGIN
14 FOR r_period IN c_period
15 LOOP
16 v_periods := v_periods || v_delimiter || r_period.period;
17 v_delimiter := ',';
18 END LOOP;
19 v_delimiter := NULL;
20 FOR r_states IN c_states
21 LOOP
22 v_states := v_states || v_delimiter || r_states.state;
23 v_delimiter := ',';
24 END LOOP;
25 package_name.procedure_name (v_periods, v_states, :g_ref);
26 END;
27 /
PL/SQL procedure successfully completed.
SQL> PRINT g_ref
PERIOD AK AL AR CA DE FL
PERIOD1 1222.23 2423.2 232.33 345.21
PERIOD2
PERIOD3
PERIOD4
1222.23 2423.2 232.33 345.21 -
Hi all,
I have procedure for generating report as csv file.I n this procedure has several BEGIN..END pl/sql blocks and
SELECT...INTO..clauses .And i'm using UTL_FILE for generating csv report.
But problem is now this procedure is taking 12 hrs for 1 month date interval(3lacks records).I need to run this procedure every month .I need to reduce the execution time.could Some one give me a new idea for generating report.
Any new Idea?What makes you think that "FOR ... IN (SELECT .....) LOOP" isn't looping through a cursor?
for below block code is entire block
BEGIN
IF LN_COUNT > 0 THEN
LS_RESTART_POSITION :=NULL;
FOR LN_CNT IN (SELECT RESTART_POSITION FROM TEST_PROGRESS WHERE to_char(created_on,'dd/mm/yy hh24:mi:ss') >=(SELECT nvl(max(to_char(created_on,'dd/mm/yy hh24:mi:ss')),'00:00:00') FROM TEST_PROGRESS
WHERE TEST_SESSION_DETAIL_ID=TB_TYPE_DET_ID(TEST_TYP_ID_CNT).TEST_SESSION_DETAIL_ID AND
RESTART_TYPE = 1)
AND TEST_SESSION_DETAIL_ID=TB_TYPE_DET_ID(TEST_TYP_ID_CNT).TEST_SESSION_DETAIL_ID AND RESTART_TYPE<>1
ORDER BY CREATED_ON)
LOOP
LS_RESTART_POSITION := LS_RESTART_POSITION||'\'||LN_CNT.RESTART_POSITION;
END LOOP;
LS_RESTART_POSITION:= SUBSTR(LS_RESTART_POSITION,2,LENGTH(LS_RESTART_POSITION)-1);
ELSE
LS_RESTART_POSITION :=NULL;
FOR LN_CNT IN (SELECT RESTART_POSITION FROM TEST_PROGRESS WHERE TEST_SESSION_DETAIL_ID=TB_TYPE_DET_ID(TEST_TYP_ID_CNT).TEST_SESSION_DETAIL_ID ORDER BY CREATED_ON)
LOOP
LS_RESTART_POSITION := LS_RESTART_POSITION||'\'||LN_CNT.RESTART_POSITION;
END LOOP;
LS_RESTART_POSITION:=SUBSTR(LS_RESTART_POSITION,2,LENGTH(LS_RESTART_POSITION)-1);
END IF ;
EXCEPTION
WHEN OTHERS THEN
Sp_Insert_Error_Log (LS_OBJECT_NAME,SYSDATE,'RESUME_FLAG','WHEN OTHERS TRIGGERED'||'-'||SQLERRM);
END;
How are you populating your collection? Via a bulk collect?
through bulk collect
However, I would be willing to bet that this loop is inside another loop, right?
Yes your are correct it is inside of the loop.
I procedure is too big(800lines) hence i can't post entire procedure.If any possible plz let me know.
Yes -
Report script execution is getting failed
Hi ,
We are facing one strange issue while executing the Essbase report script. I am new to the report script and I am not getting how to resolve the issue.
When we are changing the year in code from FY13 to FY14 the script is getting failed however the same script is successfully generating the report if we keep year as FY13 in code.
Could you please let me know where would be the problem , below is the part of the code form Report script.
{MISSINGTEXT "0"} // replace #Missing with 0
<Link ((<LEV("Customer", "Lev0,Customer")) AND ( <IDESC("All Customers")))
<Link ((<LEV("Product", "Lev0,Product")) AND ( <IDESC("All Products")))
<Link ((<LEV("Period", "Lev0,Period")) AND ( <IDESC("YearTotal")))
FY14Hi ,
I am getting below error message.
"Report Script execution Failed. Please see message panel for details " and in message panel It is not showing any details , just displaying Execute Report script Failed with date and time details.
I also checked that FY14 do exist in the application and no duplicate FY14 member exist in the outline.
Could you please suggest where would be the problem. -
During install of SqlServer Express 2008 (also I tried Developer Edition 2008 R2 with same error) I have error:
2014-05-01 17:13:52 Slp: Running Action: Install_WatsonX86_Cpu32_Action
2014-05-01 17:13:52 Slp: Error: Action "Install_WatsonX86_Cpu32_Action" threw an exception during execution.
2014-05-01 17:13:52 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: C:\WINDOWS\Installer\7affd.msi ---> System.IO.FileNotFoundException: C:\WINDOWS\Installer\7affd.msi
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: --- Конец трассировки внутреннего стека исключений ---
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()Error: Action "MsiTimingAction" threw an exception during execution.
2014-05-01 17:13:52 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: C:\WINDOWS\Installer\7affd.msi ---> System.IO.FileNotFoundException: C:\WINDOWS\Installer\7affd.msi
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: --- Конец трассировки внутреннего стека исключений ---
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: Received request to add the following file to Watson reporting: C:\Documents and Settings\me\Local Settings\Temp\tmp1C4.tmp
2014-05-01 17:13:52 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
2014-05-01 17:13:52 Slp: Inner exceptions are being indented
2014-05-01 17:13:52 Slp:
2014-05-01 17:13:52 Slp: Exception type: System.IO.FileNotFoundException
2014-05-01 17:13:52 Slp: Message:
2014-05-01 17:13:52 Slp: C:\WINDOWS\Installer\7affd.msi
2014-05-01 17:13:52 Slp: Stack:
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet
propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet
propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia,
InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
2014-05-01 17:13:56 Slp: Sco: Unable to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_, Win32 error
2
2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
2014-05-01 17:13:56 Slp: Sco: Unable to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_, Win32 error 2
I checked C:\WINDOWS\Installer\ for "7affd.msi" - there is no such file. Also I checked same folder on Win7-64 machine and Notebook WinXP-Pro - there is no such file. I was able to install Express on both Win7-64 and Notebook, but not on this machine.
I've tried searching for "7affd.msi" on internet without luck. Also I removed all Visual Studio Express 2010 and used any "Fix-It" utilities to check files and registry. And still have same error.
How to fix it?Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -819060177
Exit facility code: 1838
Exit error code: 8751
Exit message: C:\WINDOWS\Installer\7affd.msi
Start time: 2014-05-01 21:16:41
End time: 2014-05-01 21:17:00
Requested action: ComponentUpdate
Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\Detail_ComponentUpdate.txt
Exception help link: http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.0.1600.22%26EvtType%3d0xCF2E222F
Machine Properties:
Machine name: 3R-XP
Machine processor count: 4
OS version: Windows XP
OS service pack: Service Pack 3
OS region: Россия
OS language: русский (Россия)
OS architecture: x86
Process architecture: 32 Bit
OS clustered: No
Package properties:
Description: SQL Server Database Services 2008
SQLProductFamilyCode: {628F8F38-600E-493D-9946-F4178F20A8A9}
ProductName: SQL2008
Type: RTM
Version: 10
SPLevel: 0
Installation location: j:\85c0db9df26d4ae0b40b522d393a\x86\setup\
Installation edition: EXPRESS
User Input Settings:
ACTION: ComponentUpdate
CONFIGURATIONFILE:
HELP: False
INDICATEPROGRESS: False
MEDIASOURCE: j:\85c0db9df26d4ae0b40b522d393a\
PID: *****
QUIET: False
QUIETSIMPLE: False
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\ConfigurationFile.ini
Detailed results:
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\SystemConfigurationCheck_Report.htm
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: System.IO.FileNotFoundException
Message:
C:\WINDOWS\Installer\7affd.msi
Data:
DisableWatson = true
Stack:
в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream) -
Debugging a report on execution
How do i debug a report a during execution?
1) I know we can do this by putting a breakpoint in a Program before execution through se38.
2) Or it can be done by putting a /h before execution.
But what if i forget to put break point and also forget /h. Now during the execution,the program takes a long time in processing , so i want to know at which statement or loop is the processing going on.Is there any transaction or way how i can find this out and then put a break point there .Hi Dilip
As per my understanding,implementing the Watch Points mechanism is the best solution for your case.
Using the watch points, we can came to know where exactly the problem is occuring if the execution is taking long hours.
For example I have 1- 10000 employee numbers and for each employee,I am handling some mechanism.
In this case suppose let assume EMP# 1024 is giving some problem.
By putting the Watching point as EMPNo = 00001024, directly we can go to that EMP# part and can observe the problematic statements.
Hope you got some idea if not please let me know so that I can provide more stuff with live examples.
Regards,
Sreeram Kumar.Madisetty -
Generate Report BBP_GET_STATUS_2 in ECC 6
Do you I need to generate report BBP_GET_STATUS_2 if the SAP version is ECC6.0? Because based on the information I gathered, it seems like when it is SRM only it needs to be generated.
hi,
See the foll related threads:
<b>"Spool internal Error" while schduling job BBP_GET_STATUS_2</b>
Re: SRM program running too long BBP_GET_STATUS_2 and is locking carts
related notes:
1078147 BBP_GET_STATUS_2: Error message E 002
1055375 BBP_GET_STATUS_2: Error message during conversion
1025350 BBP_GET_STATUS_2: Error message E 012
1051103 BBP_GET_STATUS_2: Error message E 007 in back end
1084987 Synchronizing documents and status between ERP and SRM
1062223 BBP_GET_STATUS_2: Performance and runtime error
1075526 BBP_GET_STATUS_2: No error message when back end is missing
1078692 BBP_GET_STATUS_2: Error message E 010, no follow-on docs
691569 Error messages in BBP_GET_STATUS_2
878654 BBP_GET_STATUS_2 performance: Enhancement around period
BR,
Disha.
<b>Pls reward points for useful answers.</b> -
S_ALR_87013531 how to increae its performance during execution
Dear sir
How to increase the performance of this eport S_ALR_87013531 during execution,since it taking six hours or gives run time exceeded error.
Regards
kunalHi,
I dont think it should take 6 hrs to execute this report.
Please check with your BASIS consultant.
Muzamil -
Error while generating report in RAR
Hello,
We are getting error while generating reports in RAR.
RAR runs sucessfully, can see there are risk, but we cannot dowload those file, usally we use to get zip file.
or cannot see details ,
gives error cannt be displayed.
Thanks,
DKHello,
we had same issues, this happed because the disk was full.
Please check with your basis team if the disk is full.
Thanks,
Prasant -
Hello,
My application generates report in different formats, such as: Adobe, Excel, XML, CSV and HTML
I have a webtest that makes all preparations, then generates a report.
In my application I have an option either to save the new generated report or open it.
When I try to open the new report, the web test doesn't see it and therefore not allows me to test it.
Please refer me to knowledge base or let me know how to resolve this type of issues.
Thanks.
qatmHi qatm,
Thank you for posting in MSDN forum.
Since this web performance test is used to verify the Http request/respond work correctly in VS, and the browser session is then displayed as a list of URLs in the Web Performance Test Editor.
However, as you said that you want to test a generated report in my application by using web performance test in VS2012 Ultimate. If the report is not as the Http format, so I think that it is not possible to test a generated report by using web performance
test.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
What is a "Class Interface"?
I know what a class is; I know what an interface is. Today I was looking at somebodies code, and in SE24 they have defined a "Class Interface", NOT a class or an interface. Does anybody know: 1) What is the difference between this and an ordinary int
-
i have new ipad2 and the iTunes have only podcasts and iTunes U options. I simply can't download music or vidoes. Please help!
-
Can't visit a website and need to override
is there a way to override a setting. I can't view a site below and its just a general questionaire. http://directagents1.theresumator.com/questionnaire/53bc4b8e80b72/prospect_20150112154937_84RQLD4WC6G9VS1H/projob_20150112154937_1SDHRCPBB1X9YF3C Is
-
Hi Everyone! Is there possiblity to link galery album from Picassa to Siena Project? I'm making app with many photos, and I would like to link Picassa album to my app, but I don't know how. I'm using Excel sheet with data.
-
i recently synched my ipad2 to add new photos, accidently hit replace, & lost over 70% of them. they no longerare on my computer, can i recover them?