+ Post New Thread
Page 2 of 9 FirstFirst 123456 ... LastLast
Results 16 to 30 of 135
Home Access Plus+ Thread, Basic Help Needed! in Projects:; When I import Timetable.xlm (Report generated from SIMS), I get the following error: Code: Server Error in '/HAP' Application. User ...
  1. #16

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    When I import Timetable.xlm (Report generated from SIMS), I get the following error:

    Code:
    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
    
    Source Error: 
    
    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.
    
    Stack Trace: 
    
    
    [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
    Does this mean I have to manually enter all the bookings into bookings.xml?

    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?
    Last edited by CHiLL; 19th November 2011 at 04:17 PM.

  2. #17
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Set the User's Notes field in AD to Mr Sellick, and see if it imports then

  3. #18

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    That'd be annoying having to do that to all members of staff! I'll give it a go.

  4. #19
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    There is no other way of HAP+ knowing what username is associated with a lesson otherwise

  5. #20

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Still having problems finding Mr T Sellick. What is this Notes field in AD, which field is it specifically? (Which tab/field, etc)

  6. #21
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Telephones Tab, big box down the bottom of that.

    HAP+ uses this to mask the teacher's first name, leaving the display name alone

  7. #22

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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]".

  8. #23
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Ok, now I'm confused. I'll check the code, can you try the attached update

  9. #24

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Still having the same issue.

    Attached are screenshots.
    Attached Thumbnails Attached Thumbnails Basic Help Needed!-hap.png   Basic Help Needed!-ad.png  

  10. #25
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    well this is strange, it should find him :-(

    Can you try this version

  11. #26

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    It's got a different error now:
    Attached Thumbnails Attached Thumbnails Basic Help Needed!-hap.png  

  12. #27
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Can you paste a bit of the XML report that you got from SIMS, just 1 item would be great

  13. #28

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Code:
    <?xml version="1.0" standalone="yes"?>
    <SuperStarReport>
      <Record>
        <Name>BS1</Name>
        <MainTeacher>Mr T Sellick</MainTeacher>
        <Description>Media</Description>
        <Name1>MonA:1</Name1>
        <YearGroup>Year 12</YearGroup>
      </Record>

  14. #29
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    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

  15. #30
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Are the Day Numbers for you

    MonA
    TueA
    WedA
    ...FriB

    or

    MonA
    TueB

SHARE:
+ Post New Thread
Page 2 of 9 FirstFirst 123456 ... LastLast

Similar Threads

  1. I need basic help with Thinstaion hard disk deployments.
    By snsweigel in forum Thin Client and Virtual Machines
    Replies: 9
    Last Post: 4th March 2008, 07:44 PM
  2. Replies: 8
    Last Post: 22nd February 2008, 12:34 PM
  3. Help! Need a BIOS re-flashed
    By ajbritton in forum Hardware
    Replies: 2
    Last Post: 28th December 2006, 12:16 PM
  4. Help needed to reconfig my DC's
    By tosca925 in forum Windows
    Replies: 16
    Last Post: 20th November 2006, 10:45 PM
  5. Help needed creating a DMZ
    By pooley in forum Wireless Networks
    Replies: 12
    Last Post: 11th January 2006, 10:42 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •