GazN Posted June 17, 2013 Posted June 17, 2013 I was wondering if any one had an success running SIMS scheduled reports ? I have a school asking for them to be set up and have followed the set up instructions I received from Capita support but the reports don't seem to be running on the server. Not sure where I'm going wrong. Thanks
vikpaw Posted June 17, 2013 Posted June 17, 2013 Works fine here. make sure the user running the task has the right permissions and the SIMS user has permission to the data for each report. i went step by step through the Capita reference sheet on how to set it up and it worked. check the task runs, or tr it manually. Make sure the report runs manually too. Then check your scheduled reports panel and it should be there. 1
vikpaw Posted June 18, 2013 Posted June 18, 2013 The document i had is no longer available, but i think it's all pretty much covered in the standard reports manual. Is this what you used? : Section 8 - http://simspublications.com/204564/Report.pdf 1
LosOjos Posted June 18, 2013 Posted June 18, 2013 If all else fails, you could always create a simple BAT script to run them via CommandReporter and add a scheduled task for the script in Windows (though the username and password will be stored as plain text inside the script, unless you use AD authentication of course) 1
vikpaw Posted June 18, 2013 Posted June 18, 2013 The process is nigh on the same anyway, just running autoreports.exe instead of command reporter, plus it then when it works pops up for the users on their panel.
GazN Posted June 19, 2013 Author Posted June 19, 2013 I'm still having problems, the account to run the tasks is a local administrator and the SIMS account is our LA account which is System Manger/School Administrator level
GazN Posted June 27, 2013 Author Posted June 27, 2013 Thanks to everyone how has helped me, I've finally got the reports to run.
vikpaw Posted June 29, 2013 Posted June 29, 2013 Thanks to everyone how has helped me, I've finally got the reports to run. Great news. What was the missing setting / problem?
GazN Posted July 1, 2013 Author Posted July 1, 2013 I think I hadn't setup the permissions right in system manager 6. Thanks
CarpeDiem Posted July 4, 2013 Posted July 4, 2013 Also have issues, what permissions did you alter? Although I did find out that staff for whom it did work didn't even know it was there....!!!
GazN Posted July 4, 2013 Author Posted July 4, 2013 My problem was not having added the Report Execution manager group and permissions in system manager 6. When this was done it all worked. 2
RobertJM Posted September 20, 2013 Posted September 20, 2013 Can you elaborate on these permissions please. I don't see a group called Report Execution Manager in System Manager 6. Thanks Bob
vikpaw Posted September 20, 2013 Posted September 20, 2013 Can you elaborate on these permissions please. I don't see a group called Report Execution Manager in System Manager 6. Thanks Bob I never used anything like that. If you follow the instructions I linked earlier then the sims user it runs as just needs the permissions to show whatever data is bring requested.
RobertJM Posted September 20, 2013 Posted September 20, 2013 Vikpaw Thanks for that I've done all that (but for Windows 2008 task scheduler library). It looks like permissions on the server are blocking it (autoreports is set to run with domain admin credentials and highest privileges) as event viewer reports insufficient permissions. Bob
vikpaw Posted September 23, 2013 Posted September 23, 2013 (edited) The scheduled task is set to run as domain admin level...? But the autoreports requires a sims login, does this login have sufficient rights? It could be that entity that doesn't have the permissions. Is the error message more detailed? Edited January 13, 2014 by vikpaw
RobertJM Posted September 23, 2013 Posted September 23, 2013 The SIMS login has sufficient rights (it's mine - in order to test the setup). I've posted a question back to Capita and their helpful reply was "The task should be set to a user (windows) who has sufficient permissions on the server." The error message in the event log just says "user has insufficient rights to execute scheduled reports" (Event ID is 0) I think it's to do with the local security policy and UAC. Although I have the task set to run with domain admin credentials and also set to run with highest privileges it still says user has insufficient permissions. I've started the autoreports.exe in a cmd window with run as administrator but still get the same error message. Bob
RobertJM Posted October 3, 2013 Posted October 3, 2013 Hi Just picking this up again. I have set the scheduled task to run with domain admin credentials, as the actual domain admin, as the SYSTEM account and as the server local admin account. I have the scheduled task configured for Windows Vista or Windows Server 2008 and have ticked the option to run with highest privileges. The autoreports is configured to run as follows: autoreports.exe /S:misbox /D:sims /U:myname /P:mypassword /R:k:\sims All of these combinations tell me in the Application Event Log on the server that the user has insufficient permission to Execute Scheduled Report(s). I don't know who else has higher permissions over the server than any of these accounts. It's a Windows 2008 R2 server, running SQL2008 the installation of which is on a data partition and not the system partition. Capita's documentation is not up to date (there's a shock) for this environment. It's really puzzling me. Thanks Bob
vikpaw Posted October 3, 2013 Posted October 3, 2013 I vaguely remember that there is a weird permission to allow report scheduling. Or something you have to enable on a server to allow it to happen, but i forget what it was. A quick google mentions log on locally rights, log in as a batch job, log in as a service, all permissions which might be needed. Also is the box a DC? Can you setup a scheduled task to run a regular batch file to dir /b -> test.txt on local drive, but not root, somewhere with permissions. redirecting to a shared drive can be added later. If that works then it's something related to the autoreports.
LosOjos Posted October 4, 2013 Posted October 4, 2013 Daft as it sounds, it could be fallout from the conficker virus (more specifically, an over zealous AV trying to prevent it). I had an issue setting up scheduled reports because the Windows folder permissions were all messed up. You can try googling it or if you hang on a while I'll find the link explaining it (and the solution)
RobertJM Posted October 4, 2013 Posted October 4, 2013 (edited) No I've sorted it I have noticed on page 79 of the Designing and Running Reports Manual there is the following Execute Scheduled Report - users must have sufficient access rights to execute the scheduled report. I have combed through the permissions tree and found the relevant permissions in Core then Home Page then Report Execution Manager and set all. Retried the operation and it's now running the report. Feel daft but ultimately it's sorted so I'm happy. Thanks for all contributions Bob Edited October 4, 2013 by RobertJM 1
vikpaw Posted October 5, 2013 Posted October 5, 2013 Good catch, of course the perms lie there, because you have to update the scheduled reports panel on the homepage where it tells you it ran! Having looked, i have a group with that permission.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now