If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Error while running the report in background

Started by sunny bachan prasad, 31 Jul 2018 03:31:19 AM

Previous topic - Next topic

sunny bachan prasad

Hi,
I am getting below error when i am trying to run the report in background.I am using java script in my report and have already set the interactive property to none.Can anyone share his/her experience on this?

HTML report output is not well formed. If your report uses "HTML Item" elements ensure that they result in well-formed HTML.

Reason:EntityRef: expecting ';'

URL:null
Line:443
Character:193
Source:
This page contains the following errors:error on line 443 at column 193: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.


Thanks in advance

sdf

have you checked the line 443 referred in the error.
It states that it is missing ";".


Robl

Is your JavaScript written in HTML objects in the report?
Does the report run when you run it directly from Report Studio (I still call it Report Studio)?



sunny bachan prasad

Hi Robl,
Yes my java code is written in HTML objects in report and its working fine from report studio. Below error which i mention is coming when i am trying to run the report in background.This error is similar to the error which we used to get if we try to run any report with java script and interactivity property set to yes.

Thanks,
Sunny

sdf


sunny bachan prasad


Lynn

I'm not a Java script person, but I thought it runs in a browser and not on the server so it is inherently meant to be for interactive use.

Maybe you could post your code and describe what you are trying to achieve to get suggestions?

sunny bachan prasad

Hi Lynn,
Thanks for your time. I didn't see any issue in java code since report is working fine in cognos 11 once we set interactivity property to none. I am getting below error only when i am trying to run report in background.


Thanks,
Sunny

Lynn

Quote from: sunny bachan prasad on 01 Aug 2018 05:14:54 AM
Hi Lynn,
Thanks for your time. I didn't see any issue in java code since report is working fine in cognos 11 once we set interactivity property to none. I am getting below error only when i am trying to run report in background.


Thanks,
Sunny

What I am trying to say is that Java script is run in the browser. When you run a report in the background it is executed by the batch reporting service and therefore does not involve a browser.

https://www.cognoise.com/index.php/topic,23375.msg72289.html#msg72289
https://it.toolbox.com/question/javascript-is-not-working-in-scheduled-report-031212

If you describe what you are trying to achieve you might get suggestions on a non-Java script approach.