Jump to content

Paul-K

Members
  • Posts

    122
  • Joined

  • Last visited

Everything posted by Paul-K

  1. I have updated to 9.2 and this now works perfectly for <deny roles="%Rolename%" /> and <deny users="%Username%" />. Thanks Nick for the hard work.
  2. Hi Matt, This would be your web domain name you need to verify with them as this is what you will be using to host HAP+ and issue the SSL certificate for.
  3. @beneal Thanks for the suggestion but this is not quite what I was looking for. I was hoping for a view that puts all of the bookings onto one table as it looks now for the day view but listing the bookings for each lesson if possible, unless weekview.aspx already does this and mine just isn't displaying correctly. I have attached what mine looks like
  4. Hi Nick, Would it be possible to add a week view to the booking timetable which would show all bookings that have been made for the week? Possibly the ability to print that timetable. Not sure how viable this would be to implement thought.
  5. Hi Nick, I have tried adding the code to my web.config file and I get the below error in chrome. Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects. IE just don't load the page and firefox shows the error: "The page isn't redirecting properly, Firefox has detected that the server is redirecting the request for this address in a way that will never complete." I have taken off my HTTP redirect in case this was causing a problem but this has not resolved the issue. Any ideas? Also would it be possible to eliminate the unauthorised page so that when a user that is not allowed to access the system using it would just show a message on the homepage like the one shown for incorrect username/password?
  6. Cheers Nick, I will give this a go later. Many thanks, as always
  7. Hi all, Sorry to be a pain but does anyone know if the above is possible as I would like to use HAP+ for staff only and deny access to students and possibly the supply staff account? Many thanks
  8. Hi Nick My domain admins sit in the Users OU created by windows, I have moved one of the accounts into a separate OU that I named Administrators and restarted IIS but this didn't make any difference. I have tested an account that isn't an Admin and HAP+ doesn't error when logging out.
  9. Hi Nick, That makes perfect sense, I didn't consider the idea much I was just thinking that the data would all be central in one DB and possibly quicker to access in the help desk instance if the file grew quite big. No worries and thanks for explaining.
  10. Hi Nick, Just a quick thought for future releases, would it be possible to have an option to allow more information to be saved to the SQL database like the web log can, for example, the booking and help desk, possibly even the HAP+ settings could be stored in a table too. Just an idea as I am not sure how easy this is to implement.
  11. Hi all, Whenever I try to logout from the booking or help desk screens HAP errors as shown below, has anyone else had this issue and managed to resolve it. I am currently using HAP 9.1.0501. [h=1]Server Error in '/hap' Application.[/h][h=2]'userlist' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value[/h]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: 'userlist' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value Source Error: [TABLE=width: 100%] [TR] [TD]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.[/TD] [/TR] [/TABLE] Stack Trace: [TABLE=width: 100%] [TR] [TD] [ArgumentOutOfRangeException: 'userlist' has a SelectedValue which is invalid because it does not exist in the list of items.Parameter name: value] System.Web.UI.WebControls.ListControl.set_SelectedValue(String value) +12499161 HAP.Web.BookingSystem._new.Page_Load(Object sender, EventArgs e) +2330 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178[/TD] [/TR] [/TABLE]
  12. Hi all, Does anyone know if it is possible to deny logons to an Active Directory OU, Group or even a single user so that when they type their logon credentials into HAP it just denies logon with a message, kind of like the message that comes up if a user typed in the wrong username or password. Many thanks
  13. Thanks for that Nick, I now have my school website and applications (phpmyadmin & HAP) setup on one HTTPS site and my school website with a HTTP binding and two folders with HTTP redirects to go to my HTTPS sites. Thanks for your help with this, I hadn't even considered putting folders with redirects. As always your help is spot on.
  14. Sorry I don't quite follow. Are you saying I should setup a new site for HAP all on it's own and add the HTTPS binding and setup a separate site for my school website with the HTTP binding, this would mean that HAP is no longer running as an Application but as a site but would also mean my URL rewrite would no longer work as there is no HTTP binding for it to redirect from.
  15. Hi Nick, I've completely removed IIS and started again, I've put my school website and HAP on the default website, HAP is running as an application as before under the HAP AppPool and the school website is running under the Default AppPool, all permissions are set correctly and all is working apart from services activated still having a red X. I have a HTTP binding with the school website as the Header and a HTTPS binding that is registered to the school website also. If I remove the HTTP binding, services activated works but I need both bindings as the school website runs on HTTP. Is there any way around this? Many thanks for any suggestions you may have
  16. Thanks for the reply Nick, The HAP folder is already an application though, the HAP files are not located in the same directory as my school website but I right clicked on the site and clicked add application and did it that way. Would that make a difference?
  17. Hi All, I have previously setup HAP using IIS 7.5 and it's own sub-domain site to test it our before going live with our school. Now I am trying to set it up again from scratch but as an application onto our school website which runs wordpress. I have setup the HAP application pool, added the https binding and added HAP as an application to our existing website but whenever I browse to the site to setup.aspx all checks are showing a red X. I have checked the IIS AppPool\HAP permissions and they seem correct and have tried opening basestyle.css which opens fine. I have tried accessing /api/test and /api/seup but both are showing 403 - Forbidden I have debuged in firefox and it says: [TABLE=class: spyHeadTable focusRow outerFocusRow] [TR=class: spyRow] [TD=class: spyTitleCol spyCol]GET https://www.website.com/HAP/api/test?1368184982402 [/TD] [TD=class: spyCol] - 403 Forbidden [/TD] [TD=class: spyCol][/TD] [TD=class: spyCol][/TD] [TD=class: spyCol][/TD] [/TR] [/TABLE] [TABLE=class: spyHeadTable focusRow outerFocusRow] [TR=class: spyRow] [TD=class: spyTitleCol spyCol]GET https://www.website.com/HAP/api/setup/help - [/TD] [TD=class: spyCol]403 Forbidden [/TD] [TD=class: spyCol][/TD] [TD=class: spyCol][/TD] [/TR] [/TABLE] I have changed the AppPool that my school website uses and the error in firefox changes to: [TABLE=class: spyHeadTable focusRow outerFocusRow] [TR=class: spyRow] [TD=class: spyTitleCol spyCol]GET https://www.website.com/HAP/api/test?1368184982402 [/TD] [TD=class: spyCol] - 404 Not Found [/TD] [TD=class: spyCol][/TD] [TD=class: spyCol][/TD] [TD=class: spyCol][/TD] [/TR] [/TABLE] [TABLE=class: spyHeadTable focusRow outerFocusRow] [TR=class: spyRow] [TD=class: spyTitleCol spyCol]GET https://www.website.com/HAP/api/setup/help - [/TD] [TD=class: spyCol]404 Not Found [/TD] [TD=class: spyCol][/TD] [TD=class: spyCol][/TD] [/TR] [/TABLE] Thanks for any suggestions in advance.
  18. Hi tj2419, Have you edited the allow roles in the web.config file in the BookingSystem folder as thats what I had to do, change "" to what the OU's are on your network that you would like to have access to the booking system. Hope this helps
  19. Thanks Nick, Your help and expertise are much appreciated.
  20. [TABLE=class: netInfoPostJSONTable] [TR=class: netInfoPostJSONTitle] Below are the response headers, post, response, XML and JSON, I've included everything this time to be sure. Thanks Response Headers [TD="class: netInfoParamName"]Cache-Control [TD="class: netInfoParamValue"]private [TD="class: netInfoParamName"]Content-Length [TD="class: netInfoParamValue"]111 [TD="class: netInfoParamName"]Content-Type [TD="class: netInfoParamValue"]application/xml; charset=utf-8 [TD="class: netInfoParamName"]Date [TD="class: netInfoParamValue"]Wed, 01 May 2013 12:55:22 GMT [TD="class: netInfoParamName"]Server [TD="class: netInfoParamValue"]Microsoft-IIS/7.5 [TD="class: netInfoParamName"]X-AspNet-Version [TD="class: netInfoParamValue"]4.0.30319 [TD="class: netInfoParamName"]X-Powered-By [TD="class: netInfoParamValue"]ASP.NET Request Headers [TD="class: netInfoParamName"]Accept [TD="class: netInfoParamValue"]application/json, text/javascript, */*; q=0.01 [TD="class: netInfoParamName"]Accept-Encoding [TD="class: netInfoParamValue"]gzip, deflate [TD="class: netInfoParamName"]Accept-Language [TD="class: netInfoParamValue"]en-US,en;q=0.5 [TD="class: netInfoParamName"]Content-Length [TD="class: netInfoParamValue"]192 [TD="class: netInfoParamName"]Content-Type [TD="class: netInfoParamValue"]application/json; charset=UTF-8 [TD="class: netInfoParamName"]Cookie [TD="class: netInfoParamValue"]ASP.NET_SessionId=kuhadvdrp5maqd0aviowl0br; .ASPXAUTH=C62FF32D28FE21661510876EB6E8D6B76A6EA11A7D501EC08E3AA1BFCAF7AA756AEF58C8498C4BA04FDD4BF7F7A1DE7B67FE41AC32DF728F607091EA4636CA2ED01367417E54F88B3AA713B08ECF80013A79BC8BC9F34909CF90AB49348126C5B98431CE3D5DE7136D6780E4DBEB58221395F7D7E56FC7D4E9A1B1DE880741BB; token=ApkgHm3ifW2OTZNQvc9Q6waoC1DO7VcO+zEXPOe1aAg= [TD="class: netInfoParamName"]Host [TD="class: netInfoParamValue"]homeaccess.welford.bham.sch.uk [TD="class: netInfoParamName"]Referer [TD="class: netInfoParamValue"]https://homeaccess.welford.bham.sch.uk/setup.aspx [TD="class: netInfoParamName"]User-Agent [TD="class: netInfoParamValue"]Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 [TD="class: netInfoParamName"]X-Requested-With [TD="class: netInfoParamValue"]XMLHttpRequest POST JSON [TD=class: netInfoPostJSONBody] [TABLE=class: domTable] [TD=width: 70%] [TR=class: memberRow userRow] [TD=class: memberHeaderCell] [TD=class: memberLabelCell]drive [TD=class: memberValueCell]"H" [TR=class: memberRow userRow] [TD=class: memberHeaderCell] [TD=class: memberLabelCell]enablemove [TD=class: memberValueCell]false [TR=class: memberRow userRow] [TD=class: memberHeaderCell] [TD=class: memberLabelCell]enablereadto [TD=class: memberValueCell]"All" [TR=class: memberRow userRow] [TD=class: memberHeaderCell] [TD=class: memberLabelCell]enablewriteto [TD=class: memberValueCell]"All" [TR=class: memberRow userRow] [TD=class: memberHeaderCell] [TD=class: memberLabelCell]name [TD=class: memberValueCell]"Home Drive" [TR=class: memberRow userRow] [TD=class: memberHeaderCell] [TD=class: memberLabelCell]origdrive [TD=class: memberValueCell]"H" [TR=class: memberRow userRow] [TD=class: memberHeaderCell] [TD=class: memberLabelCell]origunc [TD=class: memberValueCell]"%homedir% " [TR=class: memberRow userRow] [TD=class: memberHeaderCell] [TD=class: memberLabelCell]unc [TD=class: memberValueCell]"%homedir% " [TR=class: memberRow userRow] [TD=class: memberHeaderCell] [TD=class: memberLabelCell]usagemode [TD=class: memberValueCell]"Quota" [TABLE=class: netInfoPostSourceTable] [TR=class: netInfoPostSourceTitle] [TD=colspan: 2]Source [TD=colspan: 2] { "origdrive": "H", "origunc": "%homedir% ", "drive": "H", "name": "Home Drive", "unc": "%homedir% ", "enablemove": false, "enablereadto": "All", "enablewriteto": "All", "usagemode": "Quota" } Responce {"Message":"The given key was not present in the dictionary.","Detail":null,"FaultType":"KeyNotFoundException"} XML Parsing Error: not well-formedLocation: moz-nullprincipal:{7615691a-6062-43ca-9ae8-a1f93b6d1ee4}Line Number 1, Column 1: {"Message":"The given key was not present in the dictionary.","Detail":null,"Fau...^ JSON [TABLE=class: domTable] [TR=class: memberRow userRow] [TD=class: memberLabelCell]Message [TD=class: memberValueCell]"The given key was not present in the dictionary." [TR=class: memberRow userRow] [TD=class: memberHeaderCell] [TD=class: memberLabelCell]Detail [TD=class: memberValueCell]null [TR=class: memberRow userRow] [TD=class: memberHeaderCell] [TD=class: memberLabelCell]FaultType [TD=class: memberValueCell]"KeyNotFoundException"
  21. Hi Nick, Thanks for the prompt responce, below is the error from firefox as requested: XML Parsing Error: not well-formed Location: moz-nullprincipal:{7615691a-6062-43ca-9ae8-a1f93b6d1ee4} Line Number 1, Column 1: {"Message":"The given key was not present in the dictionary.","Detail":null,"FaultType":"KeyNotFoundException"}
  22. Hi Guys, I seem to have a problem when trying to edit an already mapped home drive, it comes up with "An WCF Error has Occured" in IE9 and "The given key was not present in the dictionary" in chrome, firefox and safari. When trying to edit any other mapped drive it says: "The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter HAP.Web.API:origunc. The InnerException message was 'There was an error deserializing the object of type System.String. Encountered unexpected character 's'.'. Please see InnerException for more details." Any help would be much appreciated
×
×
  • Create New...