Paul-K Posted August 15, 2013 Posted August 15, 2013 Hi all, Is anyone able to help, since updating to HAP+ 9.4 I am no longer able to delete bookings or book using the quantity item to book less than the whole set. I have attached a screen shot showing the error but as the screen refreshes when you try and remove a booking it's very hard to catch.
nickbro Posted August 15, 2013 Posted August 15, 2013 On Firebug, click the persist button, it will make the events visible, then look at the console tab for any javascript errors. What resource type is the resource you are trying to use? Any errors in the event log on the server?
Paul-K Posted August 16, 2013 Author Posted August 16, 2013 Hi Nick, there are lots of errors on the server for HAP, it seems to be throwing them quite frequently, not sure why but one error that appears is: An error occurred in Home Access Plus+ Page: /hap/bookingsystem/ Message Exception of type 'System.Web.HttpUnhandledException' was thrown. Source System.Web Target site Boolean HandleError(System.Exception) Stack trace at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.bookingsystem_default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_x1ih4gpc.4.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ToString() System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentOutOfRangeException: 'userlist' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value at System.Web.UI.WebControls.ListControl.set_SelectedValue(String value) at HAP.Web.BookingSystem._new.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.bookingsystem_default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_x1ih4gpc.4.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) and another is: An error occurred in Home Access Plus+ Page: HAP.Web.API.MyPic Creating Directory Search and Searching for then current user Using filter: (&(objectClass=user) (sAMAccountName="username goes here")) Found 1 results, processing 1st result Found 0 thumnbnailPhotos I am using equipment and laptops as my resource types, the image attached shows the firebug info, it seems to mention line 6 in the jquery.min.js file.
nickbro Posted August 16, 2013 Posted August 16, 2013 try removing webdav The first error is because the user isn't in the user lists for the booking system (check the AD tab of hapConfig) The second error is about the my picture handler, and can be surpressed from the hapConfig.xml file
Paul-K Posted August 16, 2013 Author Posted August 16, 2013 Hi Nick, Thanks for your suggestions, I have disabled webdav on the default site which allows bookings and the helpdesk to function correctly again apart from booking using quantities, however I use webdav to allow our ipad users to drop files from our ipads to a drive on our curric server. Is there any possible way to use the two together on the same site? (http://www.school.bham.sch.uk/hap & http://www.school.bham.sch.uk/webdav). I have removed photohandler="" from the hapconfig.xml file but the error below still appears: An error occurred in Home Access Plus+ Page: HAP.Web.API.MyPic Creating Directory Search and Searching for then current user Using filter: (&(objectClass=user) (sAMAccountName="username goes here")) Found 1 results, processing 1st result Found 0 thumnbnailPhotos
nickbro Posted August 17, 2013 Posted August 17, 2013 You should be able, in IIS, disable web dav for the HAP application only. As for the MyPic error see http://www.edugeek.net/forums/home-access-plus/109215-hap-error-event-log-user-picture-how-can-we-stop-logging.html#post1015390
Paul-K Posted August 17, 2013 Author Posted August 17, 2013 How do you disable webdav on the HAP application only, I thougt it could only be disabled or enabled at site level. In IIS 7.5 there are no options that I can find to disable it when you click on the HAP application and drill down into the WebDAV Authoring Rules as shown in the picture below. Is there some code that could be added to the web.config or application.host file that would work? Thanks for the tip about the MyPic error, it worked perfectly.
Paul-K Posted August 17, 2013 Author Posted August 17, 2013 WebDAV has already been removed from the HTTP Modules section on the HAP+ application. Would there be anywhere else to remove it from as the two still won't function together? Any suggestions to get these two working together are greatly appreciated.
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