Cools Posted February 21, 2012 Posted February 21, 2012 Now i have HAP running... Thanks Nick. i'm having a few problems with the Booking System side. 1) i am unable to import the sims-exported room booking XML Server Error in '/hap' Application. -------------------------------------------------------------------------------- Sequence contains no matching element 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.InvalidOperationException: Sequence contains no matching element Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [invalidOperationException: Sequence contains no matching element] System.Linq.Enumerable.Single(IEnumerable`1 source, Func`2 predicate) +4427886 HAP.Web.BookingSystem.admin.Default.importSIMS_Click(Object sender, EventArgs args) in H:\Documents\Visual Studio 2010\Projects\CHS Extranet\HAP.Web\BookingSystem\admin\Default.aspx.cs:205 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3691 2) Removing a booking im getting this error msg.. Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3) Timestamp: Tue, 21 Feb 2012 12:38:09 UTC Message: 'console' is undefined Line: 318 Char: 4 Code: 0 URI: https://epms-web-01/hap/bookingsystem/ Thanks..
nickbro Posted February 21, 2012 Posted February 21, 2012 Looks like the staticbookings.xml has been corrupted, can you replace this with one from the HAP+ Full Install
Cools Posted February 21, 2012 Author Posted February 21, 2012 Done the replacement But No joy still the same error.
nickbro Posted February 21, 2012 Posted February 21, 2012 Can you do some http://www.edugeek.net/forums/home-access-plus/86059-hap-json-debugging.html in Firefox (pref)
Cools Posted February 21, 2012 Author Posted February 21, 2012 Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMWindow.alert] [break On This Error] alert(thrownError); /hap/b...system/ (line 326) GET https://epms-web-01/hap/api/BookingSystem/Initial/21-2-2012/Administrator 200 OK 183ms jquery....min.js (line 6) HeadersResponseJSON Sort by key 0 0 1 1 DELETE https://epms-web-01/hap/api/BookingSystem/Booking/21-2-2012 405 Method Not Allowed 20ms jquery....min.js (line 6) HeadersResponseHTML 405 - HTTP verb used to access this page is not allowed. Server Error 405 - HTTP verb used to access this page is not allowed. The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access. Method Not Allowed /hap/b...system/ (line 323) error /hap/b...system/ (line 324) Object { readyState=4, responseText=" /hap/b...system/ (line 325) Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMWindow.alert] [break On This Error] alert(thrownError);
nickbro Posted February 21, 2012 Posted February 21, 2012 How to enable PUT and DELETE verbs on IIS 7 : The Official Microsoft IIS Site 1
Cools Posted February 21, 2012 Author Posted February 21, 2012 doing this worked for me... on that link you gave me... Remove WebDav from "Modules" and from "Handler Mappings" Modules: WebDAVModule, %windir%\System32\inetsrv\webdav.dll, Native, Inherited Handler Mappings: WebDAV, *, Enabled, Unspecified, WebDAVModule, Inherited Then Restart IIS
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