+ Post New Thread
Results 1 to 7 of 7
Home Access Plus+ Thread, Booking System Issues in Projects:; Hi I am trying to get the booking system up and working using the latest V8 release. When staff are ...
  1. #1

    Join Date
    Apr 2012
    Posts
    413
    Thank Post
    39
    Thanked 35 Times in 28 Posts
    Rep Power
    15

    Booking System Issues

    Hi

    I am trying to get the booking system up and working using the latest V8 release.

    When staff are going to the booking system - it is saying:
    You are current outside of the set terms, please get an Admin to set the new year terms

    Yet the dates have all been set correctly?

    A similar issue:

    On entering my password into the setup page for the domain admin, the green tick appears and I can browse AD for groups, but on saving unless I put the password in it wont let me browse.

    its like it is not accepting some entries to the database?!

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,477
    Thank Post
    37
    Thanked 485 Times in 417 Posts
    Rep Power
    109
    Can you paste the contents of ~/app_Data/termdates.xml

    The admin password is cleared on a save for security reasons.

  3. #3

    Join Date
    Apr 2012
    Posts
    413
    Thank Post
    39
    Thanked 35 Times in 28 Posts
    Rep Power
    15
    Thanks Nick

    <?xml version="1.0" encoding="utf-8" ?>
    - <Terms>
    - <Term name="Autum" startDate="05/09/2012" endDate="18/12/2012" startWeekNum="1">
    <HalfTerm startDate="26/10/2012" endDate="30/10/2012" />
    </Term>
    - <Term name="Spring" startDate="04/01/2012" endDate="26/03/2012" startWeekNum="1">
    <HalfTerm startDate="15/02/2010" endDate="19/02/2010" />
    </Term>
    - <Term name="Summer" startDate="12/04/2012" endDate="16/07/2012" startWeekNum="1">
    <HalfTerm startDate="31/05/2012" endDate="04/06/2012" />
    </Term>
    </Terms>

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,477
    Thank Post
    37
    Thanked 485 Times in 417 Posts
    Rep Power
    109
    O, change the dates to 2013 for the last term, that's the issue

    Plus you have a half term in 2010

  5. #5

    Join Date
    Apr 2012
    Posts
    413
    Thank Post
    39
    Thanked 35 Times in 28 Posts
    Rep Power
    15
    Saw that, changed it, still didnt work - so did a complete reinstall again, and now working ta.

    Still odd that I can only use the AD search when I have put a password into the AD setup password bit - it doesnt seem to use the stored one? When I click save, I cant use it again. More of an annoyance then anything else.

  6. #6

    Join Date
    Apr 2012
    Posts
    413
    Thank Post
    39
    Thanked 35 Times in 28 Posts
    Rep Power
    15
    Also I have a further error

    When any user, including a domain admin views the room booking page - I get several red errors all saying:

    An item with the same key has already been added.
    This error has been logged on the server's event log

    More info:

    [ArgumentException: An item with the same key has already been added.]
    System.Collections.Generic.Dictionary`2.Insert(TKe y key, TValue value, Boolean add) +863
    HAP.BookingSystem.BookingSystem.get_StaticBookings () +481
    HAP.BookingSystem.BookingSystem.isStatic(String room, String lesson) +645
    HAP.Web.BookingSystem.BigBookingCalendar.OnDayRend er(TableCell cell, CalendarDay day) +1689
    System.Web.UI.WebControls.Calendar.RenderDays(Html TextWriter writer, DateTime firstDay, DateTime visibleDate, CalendarSelectionMode selectionMode, Boolean buttonsActive, Boolean useAccessibleHeader) +3006
    System.Web.UI.WebControls.Calendar.Render(HtmlText Writer writer) +2165
    HAP.Web.BookingSystem.BigBookingCalendar.Render(Ht mlTextWriter html) +121
    System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +246
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter writer) +315
    System.Web.UI.HtmlControls.HtmlContainerControl.Re nder(HtmlTextWriter writer) +48
    System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +246
    System.Web.UI.Page.Render(HtmlTextWriter writer) +40
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5290
    Ive been through the XML files looking for duplicate entries, but cannot find any - any ideas where/what to look for? Getting so close to getting this live tonight

    EDIT - Fixed it, duplicate static booking. Just needed to look harder. D'oh
    Last edited by mattianuk; 14th September 2012 at 03:07 PM.

  7. #7
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,477
    Thank Post
    37
    Thanked 485 Times in 417 Posts
    Rep Power
    109
    The key is made up of Resource Name, Lesson Name and Day. Each trio needs to be unique. There has to be a duplicate somewhere in your file. Ok didnt' see you'd sorted it.

    For security reasons I didn't want it to use the stored password. It's just and added bit of security I felt was needed.

SHARE:
+ Post New Thread

Similar Threads

  1. HAP+ booking system sizing issue
    By jamesgriffiths in forum Home Access Plus+
    Replies: 6
    Last Post: 21st May 2012, 03:47 PM
  2. Home Access Plus+ V7 Booking System Issues
    By wdwm in forum Home Access Plus+
    Replies: 20
    Last Post: 24th September 2011, 08:23 PM
  3. Online Resource Booking System
    By SimpleSi in forum Web Development
    Replies: 14
    Last Post: 29th October 2008, 08:34 PM
  4. pc booking systems including my-pc
    By in forum Network and Classroom Management
    Replies: 8
    Last Post: 9th March 2007, 07:28 PM
  5. Online Booking System
    By imullings in forum Educational Software
    Replies: 2
    Last Post: 5th September 2006, 08:10 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
  •