Jump to content

Recommended Posts

Posted

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.

Posted

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

  • Thanks 1
Posted

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:

Line 113:

Line 114:

">
<%#Eval("Lesson").ToString().Replace("Lesson ", "").Trim() %><%#Eval("Name")%><%#getName(Container.DataItem) %>

Line 115:

Line 116:

 

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

Posted

Stack Trace:

 

 

[ArgumentException: The (&(objectClass=user)(sAMAccountName=)) search filter is invalid.]

System.DirectoryServices.ResultsEnumerator.MoveNext() +434449

System.DirectoryServices.SearchResultCollection.get_InnerList() +282

System.DirectoryServices.SearchResultCollection.get_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__control10(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(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +185

System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +627

System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs 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

Posted
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.
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...