Currently, within Alfie you are unable to log into an area where you can view the imported data. The easiest way to ensure that your data has been synchronised successfully is to check the logs in SIMS-Sync.

After you have performed a Run Now, or a Scheduled Task has run go to the Log tab in SIMS-Sync.

SIMS-Sync log

The SIMS-Sync log shows you connection details. A successfully connected SIMS-Sync should have the following successful calls:

11/10/2013 10:02 AM - Proxy Settings Test Succeeded
11/10/2013 10:02 AM - Testing YOUR SCHOOL NAME
11/10/2013 10:02 AM - Successfully connected to SIMS
11/10/2013 10:02 AM - GetSchoolName succeeded - return=YOUR SCHOOL NAME
11/10/2013 10:02 AM - Login to Alfie was successful!
11/10/2013 10:02 AM - Checking Last Run For YOUR SCHOOL NAME

If you receive any errors in this log please check the Proxy details and School details. You should have a Green Icon under the Status.

AlfieMain log
The AlfieMain log will show you details of the tasks being performed to synchronise the data.

For every Run there will be a STUD, STAFF, EMAIL, GROUPS, SUPERVISORS, MEMBERS and PULL (this is related to SIMS-Sync AM and is only performed if you have this set up).

Each task runs one after another. For a successful sync, all tasks should be followed by a succeeded and Task Completed. This is illustrated by the STUD section highlighted in red below.

A full successful log should look like this (on first run you will also have additional STAFFMAP and STUDMAP):

16/09/2013 01:14 - Performing scheduled tasks for YOUR SCHOOL NAME 16/09/2013 01:14:01
16/09/2013 01:14 - JobList returned = <Jobs><Job><Type>STUD</Type><EffectiveDate>15/09/2013 01:22:02</EffectiveDate></Job><Job><Type>STAFF</Type><EffectiveDate>15/09/2013 01:22:16</EffectiveDate></Job><Job><Type>EMAIL</Type><EffectiveDate>15/09/2013 01:22:53</EffectiveDate></Job><Job><Type>GROUPS</Type><EffectiveDate>15/09/2013 01:23:05</EffectiveDate></Job><Job><Type>SUPERVISORS</Type><EffectiveDate>15/09/2013 01:24:06</EffectiveDate></Job><Job><Type>MEMBERS</Type><EffectiveDate>15/09/2013 01:49:18</EffectiveDate></Job><Job><Type>PULL</Type><EffectiveDate>01/01/1900 12:00:00</EffectiveDate></Job></Jobs>
16/09/2013 01:14 - ExecuteJobs
16/09/2013 01:14 - SIMSlogin
16/09/2013 01:14 - LoadSIMSReport
16/09/2013 01:14 - Looping Through JobsList
16/09/2013 01:14 - Executing Job STUD
16/09/2013 01:14 - Report Import: Import successful
16/09/2013 01:14 - Report Execution: Running - FreeMeals
16/09/2013 01:16 - Report Execution: Completed - Success!
16/09/2013 01:24 - GetStud.php call succeeded
16/09/2013 01:24 - Task Completed
16/09/2013 01:24 - Executing Job STAFF
16/09/2013 01:24 - GetStaff.php call succeeded
16/09/2013 01:24 - Task Completed
16/09/2013 01:24 - Executing Job EMAIL
16/09/2013 01:24 - Warning - some of these teachers have no work emails set, so their personal emails will be used. Please make sure all teachers in SIMS have work emails set.
16/09/2013 01:24 - GetEmail.php call succeeded
16/09/2013 01:24 - Task Completed
16/09/2013 01:24 - Executing Job GROUPS
16/09/2013 01:24 - Report Import: Import successful
16/09/2013 01:24 - Report Execution: Running - AlfieClassSubject2
16/09/2013 01:24 - Report Execution: Completed - Success!
16/09/2013 01:25 - GetGroups.php call succeeded
16/09/2013 01:25 - Task Completed
16/09/2013 01:25 - Executing Job SUPERVISORS
16/09/2013 01:25 - GetSupervisors.php call succeeded
16/09/2013 01:25 - Task Completed
16/09/2013 01:25 - Executing Job MEMBERS
16/09/2013 01:59 - GetMembers.php call succeeded - OK
16/09/2013 01:59 - Task Completed
16/09/2013 01:59 - Executing Job PULL
16/09/2013 01:59 - Task Completed
16/09/2013 01:59 - Jobs completed now Logout
16/09/2013 01:59 - Run Now completed with version 3.0
16/09/2013 01:59 - SIMSlogout
16/09/2013 01:59 - Tasks completed for YOUR SCHOOL NAME 16/09/2013 01:59:57

If you receive any Error messages something went wrong.

Fix Error messages in the AlfieMain log?
There are several reasons why you may get Error messages when running SIMS-Sync.

SIMS Permissions
By far the most common reason is permissions issues with the SIMS Account used when setting up the school details.

The Error message may look something like this: 10/10/2013 10:30 - Unhandled Exception in Student request:System.Xml.XmlException: Root element is missing.
  at System.Xml.XmlTextReaderImpl.Throw(Exception e)
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
  at System.Xml.XmlTextReaderImpl.Read()
  at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
  at System.Xml.XmlDocument.Load(XmlReader reader)
  at System.Xml.XmlDocument.LoadXml(String xml)
  at System.Xml.XmlDocument.set_InnerXml(String value)
  at AlfieFunctions.students.doJob(AlfieWebInterface aWI)
OR 10/10/2013 10:33 - Report Import: Import failed - Command Line Report Importing Utility
Copyright c Capita Business Services Ltd 1984-2013. All rights reserved.
Logging into to as user AlfieAlfie
Locating Report Definition C:\Program Files (x86)\SIMS-Sync\AlfieClassSubject2.RptDef
Report Definition found.
Importing Report Definition C:\Program Files (x86)\SIMS-Sync\AlfieClassSubject2.RptDef
Could not Import: AlfieClassSubject2
Both of these errors are related to SIMS account permissions. You must ensure that the SIMS account you are using has the following Groups associated to it:
  • Assessment Co-Ordinator
  • Curricular Manager
  • School Administrator
  • Third Party Reporting
  • TP Super User

Alfie URL call Failed
When running a Scheduled Task you may see the Error message Alfie URL call failed.

If you see this Error it is because the Proxy settings you are using cannot connect SIMS-Sync to the Internet.

If you have used Auto-Detect on the Proxy Settings tab, please set this to Manual and enter your Proxy Details; click Test to ensure the details are correct.

NB: Auto-Detect attempts to pick up your Proxy Settings automatically via Internet Explorer. When running a scheduled task, the Auto-Detection can sometimes fail due to permissions and this will cause the connection for SIMS-Sync to fail. By inputting the details manually, SIMS-Sync will be able to connect every time.

NB: If your school has a log in system for the internet (beyond Proxy Settings), you may need to request that and can be accessed without needing a Username and Password (for example, the Leeds Learning Net environment). If you are still experiencing Error messages then please send a copy of both logs to