+ Post New Thread
Page 4 of 4 FirstFirst 1234
Results 46 to 55 of 55
Home Access Plus+ Thread, [v7.5] Booking System Updates in Projects:; Originally Posted by CountNZ Take the spaces out of the resource names It worked for me Worked for me too. ...
  1. #46
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    55
    Quote Originally Posted by CountNZ View Post
    Take the spaces out of the resource names

    It worked for me
    Worked for me too. Can't use any spaces or space substitutes (%20 or   both make it display blanks).

  2. #47

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,675
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    Quote Originally Posted by CountNZ View Post
    Hi Nick

    Have been away for a few days so back to looking at the booking system.

    I changed the mid term dates to Saturdays and added the two dlls from bin.zip and restarted iis.

    Also had a poke around to see why the resources were not showing as free (ie just white space where
    it should be a grey square saying Free/not booked and realised that the resources that were blank
    had spaces in the name so I took out spaces in the rersource name and they all show now. great!
    interesting that you can have a space in the lesson name? but not the resource name.



    ie var user = { username: 'HS', isAdminOf: [ 'LC1-30', 'LC2', 'LC3', 'T9Classroom-15', 'B1Classroom-15',
    'SciencePOD-18', 'C1Classroom-30', 'ScienceLaptops-8', 'Minibus1', 'Minibus2' ], isBSAdmin: true, minDate:
    new Date(2011, 9, 25), maxDate: new Date(2011, 9, 7), maxBookings: -1 };

    still unable to expand the small calendar and still showing the same maxdate on my logon also the
    overview shows this error

    Attachment 11792

    tried logging on as a normal teacher and was able to expand the small calendar andd the pages source shows
    the correct maxdate

    var user = { username: 'hs2', isAdminOf: [ ], isBSAdmin: false, minDate: new Date(2011, 9, 25),
    maxDate: new Date(2011, 10, 27), maxBookings: 5 };

    Attachment 11793

    however still the same error page when trying to get the overview

    Thanks for your time on this

    Dave
    Any chance of copying your term dates file again, and in the overview calendar, can you copy and paste the text here please.

  3. #48

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,675
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    Hi all,

    For those of you looking for the SIMS.net Import functionality working in v7.5, sorry, but this will now be shipping in v7.6. I've just coded the routines to translate the SIMS SuperStartReport into a Static Bookings File.

    Notes of caution:

    Users in AD should have their Display Names/Notes match what is in SIMS in the Format of Mr A Teacher. The system will first attempt to fild the user my looking for that whole expression, if that fails it will look to see if there is only one user with that surname. Looking up users is defined via the AD step in the HAP Configuration, and will only look at OUs which have not been set to ignore.

    If you need this functionality ASAP, you can download the latest source code release from codeplex and compile it in Visual Studio. v7.6 is expected out soon
    Last edited by nickbro; 25th October 2011 at 10:31 PM.

  4. #49

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,675
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    @CountNZ

    Can you try the attached dll please and report back if it allows you to now use the date picker calendar

  5. #50

    Join Date
    Sep 2011
    Location
    Christchurch,NewZealand
    Posts
    16
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by nickbro View Post
    Any chance of copying your term dates file again, and in the overview calendar, can you copy and paste the text here please.
    Termdates.xml
    <?xml version="1.0" encoding="utf-8"?>
    <Terms>
    <Term name="Term 1" startDate="31/01/2011" endDate="15/04/2011" startWeekNum="1">
    <HalfTerm startDate="05/02/2011" endDate="05/02/2011" />
    </Term>
    <Term name="Term 2" startDate="02/05/2011" endDate="15/07/2011" startWeekNum="1">
    <HalfTerm startDate="21/05/2011" endDate="21/05/2011" />
    </Term>
    <Term name="Term 3" startDate="01/08/2011" endDate="07/10/2011" startWeekNum="1">
    <HalfTerm startDate="17/09/2011" endDate="17/09/2011" />
    </Term>
    <Term name="Term 4" startDate="24/10/2011" endDate="13/12/2011" startWeekNum="1">
    <HalfTerm startDate="12/11/2011" endDate="12/11/2011" />
    </Term>
    </Terms>

    Overview Calendar error

    Server Error in '/hap' Application.
    --------------------------------------------------------------------------------

    Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    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: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index

    Source Error:


    Line 16: <asp:UpdatePanel runat="server">
    Line 17: <ContentTemplate>
    Line 18: <hap:BigBookingCalendar ID="OverviewCal" CssClass="OverviewCal" runat="server" FirstDayOfWeek="Monday" NextPrevFormat="ShortMonth" BackColor="Transparent" BorderColor="#d9d9d9" BorderWidth="0" CellPadding="4" DayNameFormat="Short" Font-Size="10pt" Width="100%" SelectionMode="None">
    Line 19: <SelectedDayStyle BackColor="#6d051f" CssClass="Day SelDay" Font-Bold="True" ForeColor="White" />
    Line 20: <DayStyle CssClass="Day" />


    Source File: c:\Inetpub\wwwroot\hap\BookingSystem\OverviewCalen dar.aspx Line: 18

    Stack Trace:


    [ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index]
    System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n() +72
    HAP.Web.BookingSystem.BigBookingCalendar..ctor() in N:\Visual Studio 2010\Projects\CHS Extranet\HAP.Web\BookingSystem\BigBookingCalendar. cs:18
    ASP.bookingsystem_overviewcalendar_aspx.__BuildCon trolOverviewCal() in c:\Inetpub\wwwroot\hap\BookingSystem\OverviewCalen dar.aspx:18
    ASP.bookingsystem_overviewcalendar_aspx.__BuildCon trol__control7(Control __ctrl) in c:\Inetpub\wwwroot\hap\BookingSystem\OverviewCalen dar.aspx:16
    System.Web.UI.CompiledTemplateBuilder.InstantiateI n(Control container) +12
    System.Web.UI.UpdatePanel.CreateContents() +65
    System.Web.UI.UpdatePanel.set_ContentTemplate(ITem plate value) +53
    ASP.bookingsystem_overviewcalendar_aspx.__BuildCon trol__control6() in c:\Inetpub\wwwroot\hap\BookingSystem\OverviewCalen dar.aspx:16
    ASP.bookingsystem_overviewcalendar_aspx.__BuildCon trolform1() in c:\Inetpub\wwwroot\hap\BookingSystem\OverviewCalen dar.aspx:13
    ASP.bookingsystem_overviewcalendar_aspx.__BuildCon trolTree(bookingsystem_overviewcalendar_aspx __ctrl) in c:\Inetpub\wwwroot\hap\BookingSystem\OverviewCalen dar.aspx:1
    ASP.bookingsystem_overviewcalendar_aspx.FrameworkI nitialize() in c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\hap\84de08c5\70e6ba5a\App_Web_l4uf03fz.4.cs: 0
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +54
    System.Web.UI.Page.ProcessRequest() +78
    System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +21
    System.Web.UI.Page.ProcessRequest(HttpContext context) +49
    ASP.bookingsystem_overviewcalendar_aspx.ProcessReq uest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\hap\84de08c5\70e6ba5a\App_Web_l4uf03fz.4.cs: 0
    System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +100
    System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +75




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237

  6. #51

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,675
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    Have you tried my DLL attached above?

  7. #52

    Join Date
    Sep 2011
    Location
    Christchurch,NewZealand
    Posts
    16
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    yes I have tried the two dlls

  8. #53

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,675
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    Did it fix anything?

  9. Thanks to nickbro from:

    CountNZ (27th October 2011)

  10. #54

    Join Date
    Sep 2011
    Location
    Christchurch,NewZealand
    Posts
    16
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Sorry Nick I thought you were meaning the forst bin.zip with two dlls, Have just tried the second HAPweb.dll and now the over view calendar and the samll calendar are both working fine.


    Thanks so much

    Cheers Dave

  11. #55

    Join Date
    Sep 2011
    Location
    Christchurch,NewZealand
    Posts
    16
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by CountNZ View Post
    Sorry Nick I thought you were meaning the forst bin.zip with two dlls, Have just tried the second HAPweb.dll and now the over view calendar and the samll calendar are both working fine.


    Thanks so much

    Cheers Dave

    Yes all working now samll and large calendars too

    Thanks again Dave



SHARE:
+ Post New Thread
Page 4 of 4 FirstFirst 1234

Similar Threads

  1. [v7.5] Booking System Update
    By nickbro in forum Home Access Plus+
    Replies: 4
    Last Post: 25th September 2011, 04:48 PM
  2. Home Access Plus+ V7 Booking System Issues
    By wdwm in forum Home Access Plus+
    Replies: 20
    Last Post: 24th September 2011, 09:23 PM
  3. Online Resource Booking System
    By SimpleSi in forum Web Development
    Replies: 14
    Last Post: 29th October 2008, 09:34 PM
  4. Online Parental Booking System
    By robknowles in forum MIS Systems
    Replies: 4
    Last Post: 3rd July 2007, 08:52 PM
  5. Online Booking System
    By imullings in forum Educational Software
    Replies: 2
    Last Post: 5th September 2006, 09: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
  •