Jump to content

Recommended Posts

Posted

I have spent countless hours reading through various guides, handouts, snippets and forum threads, but I am still getting nowhere with this!

 

I cannot get any scheduled reports to run.

I believe that all accounts being used have the correct permissions and that the commands in the scheduler are correct. I am not getting any error messages when it runs but no reports either.

 

HELP!!

Posted (edited)

if you open a command prompt as the user you are running the scheduled task as, and run C:\Program Files\Microsoft SQL Server\MSSQL11.SIMS2012\MSSQL\Binn\AutoReports.exe

(taking in to account your setup for file location), does it say it is the version matching your version of SIMS?

If so then run the same with the arguments

 /S:Servername\SQLinstance /D:Databse /U:SIMSUser /P:Password 

(altered for your setup) Do you get any errors?

Edited by Esteban_Child_of_the_Sun
Posted
I had this issue not so long ago. The issue was access in the Binn (Microsoft SQL Server) folder. Emmanuel from Capita recommended having access to all of the C:\. Once enabled, I used the scheduled task with the argument. And this worked.
Posted

OK, Esteban - I have checked the command prompt in the scheduled task and is the same as you have - no error report, but still no reports either

 

CJLane - have tried this as well and still nothing. My user account has full control permissions to the drive containing the binn folder

 

???????

Posted

the first thing to look for, is in the Binn folder, is there a connect.ini file with a modification of the time you ran the command? If so does it have the correct information in it? (Mine looks like this)

[sIMSConnection]
ServerName=MIS-Server\SIMS2012
DatabaseName=SIMS
ServerType=SIMSSQL
[Reports]
Timeout=300
MaxNumberOfTableJoins=1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...