Seal Report Forum
»
Report Edition
»
Reports
»
Report Scheduled with Task Scheduler
Rank: Member
Groups: Registered
Joined: 6/9/2017(UTC) Posts: 29 Thanks: 1 times
|
Hello,
I am unable to get reports to run with the Scheduler using the Web Report Designer. Every time a report runs, it produces this error in the log:
Error executing configuration init script: Object reference not set to an instance of an object.
I have a 'Report Execution Init Script' that captures the username, password, and connect string to connect the user with their own user account so the database security can be applied to make sure the user can only access authorized data. The database is an Oracle RDBMS, by the way.
It looks like the WebUserName, WebPassword are not getting passed to the Scheduler.
Yves
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
Yes the WebUsername is not set when the report is invoked by the scheduler... However the OutputToExecute (type ReportOutput) object of the report being executed contains: UserName UserGroups UserCulture that you may use to handle your security. Edited by user Thursday, August 19, 2021 9:44:49 AM(UTC)
| Reason: Not specified
|
|
|
|
Seal Report Forum
»
Report Edition
»
Reports
»
Report Scheduled with Task Scheduler
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.