When I import Timetable.xlm (Report generated from SIMS), I get the following error:
Does this mean I have to manually enter all the bookings into bookings.xml?
Server Error in '/HAP' Application.
User cannot be found from Mr T Sellick
Parameter name: MainTeacher
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: User cannot be found from Mr T Sellick
Parameter name: MainTeacher
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[ArgumentOutOfRangeException: User cannot be found from Mr T Sellick
Parameter name: MainTeacher]
HAP.Web.BookingSystem.admin.Default.importSIMS_Click(Object sender, EventArgs args) +2503
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
I know it says "CAUTION: The Teacher's Name from the SIMS Export (Title Initial Surname) needs to equal the Notes/Display Name field in AD for that user, or the Notes/Display name only has one person with that surname", but how do I get the SIMS report to output what it says in AD?
Set the User's Notes field in AD to Mr Sellick, and see if it imports then
That'd be annoying having to do that to all members of staff! I'll give it a go.
There is no other way of HAP+ knowing what username is associated with a lesson otherwise
Still having problems finding Mr T Sellick. What is this Notes field in AD, which field is it specifically? (Which tab/field, etc)
Telephones Tab, big box down the bottom of that.
HAP+ uses this to mask the teacher's first name, leaving the display name alone
I have put "Mr T Sellick" into the Notes field on the Telephones tab, and I'm still getting "[ArgumentOutOfRangeException: User cannot be found from Mr T Sellick
Parameter name: MainTeacher]".
Ok, now I'm confused. I'll check the code, can you try the attached update
Still having the same issue.
Attached are screenshots.
well this is strange, it should find him :-(
Can you try this version
It's got a different error now:
Can you paste a bit of the XML report that you got from SIMS, just 1 item would be great
Mr T Sellick
Ah, spotted the issue straight away. HAP+ doesn't support letters for the days. It's set to use Mon1:1, or Mon6:1. Will have to have a think on converting it
Are the Day Numbers for you