mattianuk Posted September 14, 2012 Posted September 14, 2012 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?!
nickbro Posted September 14, 2012 Posted September 14, 2012 Can you paste the contents of ~/app_Data/termdates.xml The admin password is cleared on a save for security reasons.
nickbro Posted September 14, 2012 Posted September 14, 2012 O, change the dates to 2013 for the last term, that's the issue Plus you have a half term in 2010
mattianuk Posted September 14, 2012 Author Posted September 14, 2012 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.
mattianuk Posted September 14, 2012 Author Posted September 14, 2012 (edited) 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(TKey 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.OnDayRender(TableCell cell, CalendarDay day) +1689 System.Web.UI.WebControls.Calendar.RenderDays(HtmlTextWriter writer, DateTime firstDay, DateTime visibleDate, CalendarSelectionMode selectionMode, Boolean buttonsActive, Boolean useAccessibleHeader) +3006 System.Web.UI.WebControls.Calendar.Render(HtmlTextWriter writer) +2165 HAP.Web.BookingSystem.BigBookingCalendar.Render(HtmlTextWriter html) +121 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +315 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter 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 Edited September 14, 2012 by mattianuk
nickbro Posted September 14, 2012 Posted September 14, 2012 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now