Jump to content

Recommended Posts

Posted

I recently discovered this project, and it looks great, but I have a few questions about setting it up.

 

I'm not very competent in coding/websites, so you'll have to bear with my noobish skills in that respect.

 

The only features I'm interested in from this project are the Booking System, and the Help Desk. We already have solutions in place for emails, remote access and log trackers. I can nobble the pages so they don't display these features that I don't need, but I'm struggling in other areas of the setup.

 

I am currently testing this on my local workstation (administrator computer/user) which is running Windows 7 and IIS 7. (Testing before we implement it on Server 2008R2) The Active Directory Connection is using a working domain admin account.

 

1) I have it setup, but in the ~/setup.aspx page, I cannot remove Resources or Management features without the browser popping up and saying "Internal Server Error". (Happens on Chrome (latest), Firefox 8 and IE9.)

 

2) The Booking System will not display the calendar in the browser, nothing appears at all. It shows the room, but no dates, so I cannot enter a booking.

 

I may add more problems, (more like will!) when I find some, but some help would be great!

Posted
I haven't used the Booking system yet so can really comment on that but no.1 has been seen several times already. If saving the settings and retrying the delete doesn't work then you can go into the HAP\App_data\hapconfig.xml file directly and remove the relevant lines. Refresh the setup page and the entries should be gone.
Posted

Ok, I've worked around 1) by manually editing the hapconfig.xml.

 

Edit; I'm definitely on the right lines! Now need to sort the booking system.

Posted (edited)

I think I'll stick with getting this one setup, just as I'm feeling my way around. The setup age I've sorted now, but I'm having problems with the bookings section. The calendar simply will not show. It will display the room(s) down the left, but no dates.

 

Edit; Just out of curiosity, how do you update to a newer version without losing all your config/personalised code?

Edited by CHiLL
Posted
I think I'll stick with getting this one setup, just as I'm feeling my way around. The setup age I've sorted now, but I'm having problems with the bookings section. The calendar simply will not show. It will display the room(s) down the left, but no dates.

 

Edit; Just out of curiosity, how do you update to a newer version without losing all your config/personalised code?

 

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

Posted (edited)

Oooh, that just makes me feel silly!

 

I will populate the file with lessons tomorrow.

 

Thanks! (may add more questions when i inevitably get stuck tomorrow)

 

Edit; Is this part of the way to link SIMS into it? I know you can, somehow, and it would be amazing if I could. I'm just not that far/advanced in this stuff to understand yet!

Edited by CHiLL
Posted

Having trouble importing from SIMS. I've imported the report, and ran it, and output the file as Timetable.xml into ~/App_Data. It's only produced English rooms, and doesn't know about AD. Any advice?

 

Also, I only want this to run for a tiny amount of bookable rooms we have in the school.

Posted
You may need to edit the report to look for more than just the rooms specified. I think I may of forgotten to prompt at run time on that. HAP+ will attempt to match bookings against users in AD, if it can't it wont import the booking
Posted

You video suggests v7 (I'm on 7.6) will have a conversion thing for SIMS to HAP. How is that coming along?

 

How do I get HAP to understand Week 1 and Week 2 by manually editing it? Is is like SIMS and does HAP understand Day1:1 and Day 2:1 for example?

Posted

I have tired that, but it won't work because of Active Directory names. Is the only way round this manually editing them in? That'd take a while!

 

Does HAP also automatically understand two week timetables?

Posted (edited)

When I import Timetable.xlm (Report generated from SIMS), I get the following error:

 

Server Error in '/HAP' Application.

User cannot be found from Mr T Sellick
Parameter name: MainTeacher

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: User cannot be found from Mr T Sellick
Parameter name: MainTeacher

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: 


[ArgumentOutOfRangeException: User cannot be found from Mr T Sellick
Parameter name: MainTeacher]
  HAP.Web.BookingSystem.admin.Default.importSIMS_Click(Object sender, EventArgs args) +2503
  System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
  System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
  System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
  System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
  System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

 

Does this mean I have to manually enter all the bookings into bookings.xml?

 

I know it says "CAUTION: The Teacher's Name from the SIMS Export (Title Initial Surname) needs to equal the Notes/Display Name field in AD for that user, or the Notes/Display name only has one person with that surname", but how do I get the SIMS report to output what it says in AD?

Edited by CHiLL
Posted
Still having problems finding Mr T Sellick. What is this Notes field in AD, which field is it specifically? (Which tab/field, etc)
Posted

I have put "Mr T Sellick" into the Notes field on the Telephones tab, and I'm still getting "[ArgumentOutOfRangeException: User cannot be found from Mr T Sellick

Parameter name: MainTeacher]".

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