+ Post New Thread
Results 1 to 8 of 8
Home Access Plus+ Thread, Auto Displaying Bookings in Projects:; Hi everyone, I would like to show information from the booking system on our digital signage but I am unsure ...
  1. #1

    Join Date
    Feb 2008
    Location
    South East Kent
    Posts
    46
    Thank Post
    13
    Thanked 7 Times in 4 Posts
    Rep Power
    14

    Question Auto Displaying Bookings

    Hi everyone,

    I would like to show information from the booking system on our digital signage but I am unsure how to proceed. I would like to pass the url of the booking system straight to our staffroom display screen but of course this would just sit at the login page instead of showing the bookings. Is there a simple way to achieve this?

    Thanks in advance.

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    The url is /hap/bookingsystem/%resource%/display

    You can also do 2 rooms with /hap/bookingsystem/%resource%_%resource%/display, if you edit the ~/bookingsystem/display.aspx file.

    The %resource% is case sensitive

  3. Thanks to nickbro from:

    Squelch (11th September 2013)

  4. #3

    Join Date
    Feb 2008
    Location
    South East Kent
    Posts
    46
    Thank Post
    13
    Thanked 7 Times in 4 Posts
    Rep Power
    14
    Thanks Nick, that works.

  5. #4

    Join Date
    Feb 2008
    Location
    South East Kent
    Posts
    46
    Thank Post
    13
    Thanked 7 Times in 4 Posts
    Rep Power
    14
    Ah, it *was* working...

    When I try to view "IT Suite 2" I get this:

    Server Error in '/HAP' Application.

    The (&(objectClass=user)(sAMAccountName=)) search filter is invalid.

    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.ArgumentException: The (&(objectClass=user)(sAMAccountName=)) search filter is invalid.

    Source Error:


    Line 112: <h1 style="text-align: center;"><asp:Literal runat="server" ID="roomlabel" /></h1>
    Line 113: <div>
    Line 114: <table><asp:Repeater runat="server"><ItemTemplate><tr id="<%#Eval("Lesson").ToString().Replace(" ", "").ToLower().Trim() %>"><td class="lesson"><%#Eval("Lesson").ToString().Replac e("Lesson ", "").Trim() %></td><td><span><%#Eval("Name")%></span><%#getName(Container.DataItem) %></td></tr></ItemTemplate></asp:Repeater></table>
    Line 115: </div>
    Line 116: <button style="position: absolute; bottom: 0; right: 0; z-index: 1001" onclick="doRefresh(); return false;">Refresh</button>

    Source File: c:\inetpub\wwwroot\HAP\BookingSystem\Display.aspx Line: 114

  6. #5

    Join Date
    Feb 2008
    Location
    South East Kent
    Posts
    46
    Thank Post
    13
    Thanked 7 Times in 4 Posts
    Rep Power
    14
    Stack Trace:


    [ArgumentException: The (&(objectClass=user)(sAMAccountName=)) search filter is invalid.]
    System.DirectoryServices.ResultsEnumerator.MoveNex t() +434449
    System.DirectoryServices.SearchResultCollection.ge t_InnerList() +282
    System.DirectoryServices.SearchResultCollection.ge t_Count() +9
    HAP.AD.ADUtils.FindUserInfos(String query) +1136

    [Exception: (&(objectClass=user)(sAMAccountName=))]
    HAP.AD.ADUtils.FindUserInfos(String query) +1596
    HAP.BookingSystem.Booking.get_User() +200
    HAP.Web.BookingSystem.Display.getName(Object o) +95
    ASP.bookingsystem_display_aspx.__DataBind__control 10(Object sender, EventArgs e) in c:\inetpub\wwwroot\HAP\BookingSystem\Display.aspx: 114
    System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +304
    System.Web.UI.Control.DataBindChildren() +11526967
    System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321
    System.Web.UI.WebControls.Repeater.CreateItem(Int3 2 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +185
    System.Web.UI.WebControls.Repeater.CreateControlHi erarchy(Boolean useDataSource) +627
    System.Web.UI.WebControls.Repeater.OnDataBinding(E ventArgs e) +167
    HAP.Web.BookingSystem.Display.Page_Load(Object sender, EventArgs e) +1973
    System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +25
    System.Web.UI.Control.LoadRecursive() +71
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064

  7. #6

    Join Date
    Feb 2008
    Location
    South East Kent
    Posts
    46
    Thank Post
    13
    Thanked 7 Times in 4 Posts
    Rep Power
    14
    If I try to view other resources in the booking system, i.e. "IT Suite 3" or "Minibus1" it displays correctly, it's just it suite 2 that errors.

  8. #7

    Join Date
    Feb 2008
    Location
    South East Kent
    Posts
    46
    Thank Post
    13
    Thanked 7 Times in 4 Posts
    Rep Power
    14
    Nevermind, I found the answer myself. I had made static bookings for a user and needed to add the user in the AD part of the setup. The error seems to be the booking system saying it cannot find the specified user.

  9. #8
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Yep, error is AD related.

    You can use the Notes field in AD to say Mr N Brown instead of Nick Brown if you want

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 13
    Last Post: 30th January 2013, 10:51 AM
  2. sunray 3i -display auto resolution problem
    By bentech4u in forum Thin Client and Virtual Machines
    Replies: 1
    Last Post: 20th June 2012, 03:30 PM
  3. Booking system calender not displaying in version 7.10
    By jamesgriffiths in forum Home Access Plus+
    Replies: 21
    Last Post: 27th May 2012, 03:26 PM
  4. Replies: 1
    Last Post: 12th February 2010, 05:15 PM
  5. A Good Free Online PHP Book
    By Diello in forum Coding
    Replies: 1
    Last Post: 22nd June 2005, 10:05 AM

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
  •