-
Posts
351 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by mattgrimley
-
oh fab glad you got there in the end! I honestly dont know what the enablemove means.. i sort of presume it enables the ability to move folders around.. but could be wrong.. im sure its in the documentation somewhere! lol Matt
-
from http://www.edugeek.net/forums/home-access-plus/59485-home-access-plus-50.html
-
well you dont have any lessons defined in there by the look of it.. between and add something like: My booking system section looks like:
-
1> Could you post the "" section from your hapconfig.xml here? We can see if there is something silly in there which is upsetting it.. Also, post the contents of your TermDates.xml file (also in App_Data) and i can compare it to mine.. could be something simple in there which is stopping it from loading up nicely.. Presuming all that seems fine, can you try in some different browsers? and can you let us know the result for each? Sometimes Firefox or Chrome can give a more useful errror which helps the troubleshooting. (there is also an addon for Firefox called "firebug" which Nick may want info from if we fail to get anywhere with the basic config) 2> The updates to the program should never contain the xml files from the App_Data folder, so your configuration will always be retained. It is however very good practice to back up the entire HAP folder prior to each upgrade - just in-case! - I just make a zip file before every upgrade and it has been useful more than once! Matt
-
Hey Michael There was an issue with one of the earlier versions of HAP 7 whereby forward slashes and back slashes were being confused.. Here is my mapping section for the latest version of HAP (which works ) %homedir% \\servername\pupils shared \\servername\teachers shared \\servername\Students Hope it helps
-
But domain users and domain admins are not the same thing.. the "domain users" group has typically very limited access and i would expect any user of the domain to be a member of that group (fundamentally).. As @Davit2005 says we dont know the reasons for it being set up this way, but i would think that is going to be a recurring problem.. (I understand why you wouldnt want outsourced people to have "Domain Admin" rights, but i would think "Domain Users" is fundamental..
-
My quick test shows helpdesk stuff is working properly for me again too. Tried it all on my production server (exact copy of the folders) and whilst the page now refreshes, i still get the "Unauthorised" message popping up when trying to delete stuff. Either way, i care not.. I have no idea what's up with that server, so as soon as i get my SSL cert sorted out for the new one, i'll swap it out. Thanks again for all your persistence! Matt
-
IT'S AALLLLIIIVVEEEE!!! I'll do loads more testing tomorrow, but i just put those updates on and it is booking, refreshing, deleting bookings, refreshing, email invites AND cancellations.. All as expected! Thanks so much for your persistence on this Nick. I will try these updates on my original server too (Despite the JSON stuff not responding as expected, im interested in seeing if that was all related to this!) As i said, i'll put it more thoroughly through its paces tomorrow (i had similar problems with helpdesk etc which should all be related). Cheers again, matt
-
@nickbro It does, yes /hap/bookingsystem/ errors with: Method not found: 'HAP.AD.UserInfo[] HAP.AD.ADUtils.FindUsers(HAP.Web.Configuration.OUVisibility)'. /hap/setup.aspx errors with: Compiler Error Message: CS1061: 'ASP.setup_aspx' does not contain a definition for 'sg_TextChanged' and no extension method 'sg_TextChanged' accepting a first argument of type 'ASP.setup_aspx' could be found (are you missing a using directive or an assembly reference?) Matt
-
Well, my exchange is 2010 single install with SMTP hub relay to county too My current setup (which was what i used prior to v7) is: Address: serverxx.domain.local Port: 25 SSL: No SMTP User: none SMTP Pass: none From (Name): School Tech Support From (Email): [email protected] with that configuration, it does successfully send calendar invites to me - but seems to fail to move on to the next step gracefully. I have tried putting a User/Pass in, but that seems not to work at all.. which i presume is what you were describing above. Do you mean the user specified in the configuration? As i have been using no account, i presume not.. (although i do recieve a calendar request from my own account).. Matt
-
Yay! Welcome back Edugeek! My final update!! On the new server, if i disable my email server in the setup.aspx, the rest of the system appears to function as intended. Items are created (the view is updated live) and deleted happily. Is their much room for mistakes in the SMTP config, bearing in mind that fundamentally, emails were being sent? Cheers, matt
-
Okay, Accepting that there is clearly something wrong with my server that we can't quite pin down, i have set-up a brand new Windows 2008 R2 (x64) server and installed HAP+ with the DLL from this thread. Whilst i am still having a few problems, more of it is now working than it was, including the logging (yay!) I will detail the results of trying to make a booking below (red items are failures, green are successes!): 1> I click on an available slot for my booking and get the "Booking Form" pop-up. I choose a Year and a Subject and click Book and the following happens: --a> An "Internal Server Error" message pop's up in the browser. --b> Fire-bug registers a "POST / 500 Internal Server Error" error --c> The emailed calendar invite IS sent and received fine --d> The display is NOT updated to show the new booking --e> The booking IS in the xml file and refreshing the page displays it. Deleting a booking now works as intended and sends a cancellation email. Whilst i dont appear to have anything written to the event log relating to the specific error, i am getting some other "information" events and 1 "error" event. The Error event looks like: An error occurred in Home Access Plus+ Page: Booking System JSON API System.IndexOutOfRangeException: Index was outside the bounds of the array. at HAP.Web.BookingSystem.iCalGenerator.GenerateCancel(Booking booking, DateTime date, Boolean emailadmins) at HAP.Web.API.BookingSystem.RemoveBooking(String Date, JSONBooking booking) Message: Index was outside the bounds of the array. Stack Trace: at HAP.Web.BookingSystem.iCalGenerator.GenerateCancel(Booking booking, DateTime date, Boolean emailadmins) at HAP.Web.API.BookingSystem.RemoveBooking(String Date, JSONBooking booking) and it comes after an "Information" event which shows: Home Access Plus+ Info Page: Booking System JSON API Asking for an iCan Admin Cancel to be Generated and Sent Cheers in advance! Matt
-
No Nick, I am totally not getting any of those types of messages (even with the last HAP.Web.dll you posted). I don't pretend to understand, but a google of "json post not working iis7" gave me this thread, which "sounded" oh-so-promising, but again nothing.. Some Problem with JSON Is there anything in there? They seem to be almost talking the same thing - with "GET" requests working, but no "POST" etc.. I followed the instructions through in that thread - though adding the mimetype for .json seems irrelevant to HAP as i cant see any .json files.. is that a different "json" or perhaps just not applicable to this? all of the events that i get are file downloads and not one of them mentions JSON Thanks for all your efforts today! Matt
-
I've tried doing all sorts in the booking system - rebooted the server even, but nothing is written to the log. The only items getting written relate to file downloads via the mycomputer.aspx page.
-
Still not playing. The only things being written to the log are file downloads from hap/download. I have tried it both with SMTP Server enabled and disabled..
-
This may be a complete distraction, but some of the odd behaviour i experienced when "creating" tickets (such as the page not refreshing and an "internal server error" pop-up) are solved by disabling the SMTP server. Unfortunately this has no impact on the deletion of a booking which still behaves as described above (with nothing written to the log). I suspect that is a different problem best left to a subsequent thread! Matt
-
Okay, i'm getting some stuff written from the file browser, but nothing is getting written from the errors in bookingsystem.
-
Okay, downloaded "Logging Setup.exe" and run it. It created a "Home Access Plus+" Event Log under "Applications and Services Logs" but it is empty. Do i need to do anything to get it to receive data?
-
FYI (and as a complete aside, not wishing to derail my own thread): That hap.web.dll seems to break file downloads for me. I get a browser message of: Server Error in '/hap2' Application. -------------------------------------------------------------------------------- Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. 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: [securityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.] System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate) +714 System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) +460 System.Diagnostics.EventLog.SourceExists(String source) +22 HAP.Web.Logging.EventViewer.Log(String source, String message, EventLogEntryType type) +37 RangeRequestHandlerBase.LogRequestHttpHeaders(HttpRequest Request) +494 RangeRequestHandlerBase.ProcessRequest(HttpContext context) +182 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237
-
Completed the setup.aspx very smoothly (the changes since the first release of it have made a tremendous difference!). I didnt have to make any manual changes. I had forgotton to alter the bookingsystem/web.config file - it still had CHS Staff - but even with that changed back to Staff (which is what mine is) it still errors. I am getting this issue with all user accounts including my own, which is a member of domain admins. The web.config file looks like this now:
-
I have just set-up a completely new install on the same server in the folder HAP2 with the AppPool "HAP2". Set it up from scratch without any imported data and getting the same problem
-
Permissions on c:\inetpub\wwwroot\hap: SYSTEM - Full Control Domain Admins - Full Control IIS AppPool\HAP - Read & Excecute, List, Read Permissions on c:\inetpub\wwwroot\hap\App_Data SYSTEM - Full Control Domain Admins - Full Control IIS AppPool\HAP - Modify, Read & Execute, List, Read, Write Inheritance from wwwroot is not enabled - so only permissions listed above are inherited through the HAP folder and subs. I reset all permissions and even removed / re-added the IIS AppPool\HAP user permissions (and rebooted the server).. What on earth am i missing?
-
The expanded "response|Text" from the error is: " 401 - Unauthorized: Access is denied due to invalid credentials. Server Error 401 - Unauthorized: Access is denied due to invalid credentials. You do not have permission to view this directory or page using the credentials that you supplied.
-
Okay, i'll focus on the "delete a booking" issue. So, in firefox i get a pop-up box which says "Unauthorised". Firebug shows: DELETE https://portal.freman.org.uk/hap/api/BookingSystem/Booking/2-11-2011 401 Unauthorized 62ms [X] "NetworkError: 401 Unauthorized - https://portal.freman.org.uk/hap/api/BookingSystem/Booking/2-11-2011" Unauthorized /hap/b...system/ (Line 365) error /hap/b...system/ (Line 366) Object { readyState=4, responseText="
