Jump to content

Recommended Posts

Posted

Hi,

 

We have recently upgraded to HAP+ 7.10 from 7.9 and have found that the bookings are not displaying (see attachment). bookingsystem7.10.jpg

 

It displayed fine under 7.9.

 

Does anyone know hoe to resolve this issue?

 

Many thanks

 

James

  • 3 weeks later...
Posted

how do you fix this thanks

 

Hi,

 

We have recently upgraded to HAP+ 7.10 from 7.9 and have found that the bookings are not displaying (see attachment). [ATTACH=CONFIG]13817[/ATTACH]

 

It displayed fine under 7.9.

 

Does anyone know hoe to resolve this issue?

 

Many thanks

 

James

Posted

Hi @victory2012

 

Can you confirm what browser you are using - is it the same in IE and Chrome for example?

Can you also load in IE 9 and check the "Browser Mode" and the "Document Mode" in the debug window (press F12) If they are any lower than "IE9 Compat" and "IE 9 Standards" you may need to edit the masterpage.master (instructions Here http://www.edugeek.net/forums/home-access-plus/95449-hap-booking-system-sizing-issue.html#post830728)

Failing that, you will need to install Firefox and Firebug.. and get some more diagnostics :)

 

Matt

Posted

Matt

 

Thanks for quick reply

 

have checked and "IE9 Compat" and "IE 9 Standards" are both set

 

am getting these errors

 

HTML1115: X-UA-Compatible META tag ('IE=edge') ignored because document mode is already finalized.

bookingsystem

SCRIPT5009: 'Array' is undefined

WebResource.axd?d=fk_EuzysEQEqcqBXlYc-kg2&t=634732000501174522, line 45 character 1

SCRIPT5009: 'Array' is undefined

ScriptResource.axd?d=RWwZhyL6ssgSuNEraDvQX3kFVrVapuzvY82hBBypYOTSUeGbzMK2cEnrXyjynZq-0&t=ffffffff823b7694, line 28 character 9

SCRIPT5009: 'Error' is undefined

OverviewCalendar.aspx, line 42 character 34

SCRIPT5009: 'Type' is undefined

ScriptResource.axd?d=RWwZhyL6ssgSuNEraDvQX3kFVrVapuzvY82hBBypYOT5FQsnNARhIgJow1yUbqsQNSWT7EFL4L2wyPpdqmpVsw2&t=ffffffff823b7694, line 10 character 1

SCRIPT5009: 'Sys' is undefined

OverviewCalendar.aspx, line 54 character 1

SCRIPT5009: 'Sys' is undefined

OverviewCalendar.aspx, line 72 character 106

 

Tried Sizing issue fix which didnt do anything

 

 

Thanks

 

Hi @victory2012

 

Can you confirm what browser you are using - is it the same in IE and Chrome for example?

Can you also load in IE 9 and check the "Browser Mode" and the "Document Mode" in the debug window (press F12) If they are any lower than "IE9 Compat" and "IE 9 Standards" you may need to edit the masterpage.master (instructions Here http://www.edugeek.net/forums/home-access-plus/95449-hap-booking-system-sizing-issue.html#post830728)

Failing that, you will need to install Firefox and Firebug.. and get some more diagnostics :)

 

Matt

Posted

Hi again mate,

 

I'm likely to get a little out of my depth beyond this "Browser Mode" issue, but im not entirely satisfied that we have eliminated it.. Sorry if i am repeating or patronising, i just want to be sure we have tried the same thing before i let someone else troubleshoot a different bit..

 

First off, the errors you posted are largely normal. I get all the same errors with the exception of the first line:

HTML1115: X-UA-Compatible META tag ('IE=edge') ignored because document mode is already finalized.

 

I think that first line is indicating the problem. I think that means that it is ignoring the bit of code telling it to run in IE9/IE9 Stds because it comes too late in the configuration (which is fixed by my info in the other thread). I dont know if that would work as IE caches some elements of code when loading the booking system (when my system was playing up we would get spurious bits of data displayed even though they werent written back to the server).

 

So.. if you have made the change as per the other thread i linked above, when you first connect in to HAP (Having closed and re-opened the browser if necessary to create a clean new session), viewing the debug info in IE9 should display "Browser Mode: IE9 and Document Mode: IE9 Standards". You should not need to change it from there at all. If it shows anything else, it is likely that the change i recommended above hasn't saved for some reason, so double check it.

 

I found that largely the site worked in Firefox and Chrome, but not in IE9 (although my issues were only present inside my LAN, it worked okay from home).

 

Post back to clarify and if you are still having issues, perhaps @nickbro can offer a little more advanced guidance :)

 

Matt

Posted
Just to note, I found this issue across all browser. I still havn't found a fix but am happy enough with 7.9 for now. I guess V8 is not far off so I don't mind hanging on for that.
Posted

Matt

 

Thanks for you reply - have tried again to no avail - i just cannot get this working , its shame because i really want to use the room booking its main reason i installed it, previously used v6 in last school and worked well - , i hope someone else has some suggestions as im at a loss...

Posted
We use 7.10 of everything else but then I downloaded the 7.9 full install and replace the 7.10 booking system folder with the 7.9 version and that seems okay

 

Just tried this still getting the error very strange - ive even tried a new server and installed from scratch same thing?

Posted
With the static bookings page, can you replace the ~/bookingsystem/admin/default.aspx with the new one available on source control: Home Access Plus&#43

 

thanks nick but now get error

 

The type specified in the TypeName property of ObjectDataSource 'termdatesDataSource' could not be found.

Posted
Open that page in notepad, go to each line it throws an error for and change HAP.BookingSystem to HAP.Data.BookingSystem

 

thanks nick - have done that now and when i try delete a static booking an error comes up again

 

Server Error in '/HAP' Application.

--------------------------------------------------------------------------------

 

Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

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: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

 

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: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index]

System.Collections.ArrayList.get_Item(Int32 index) +9373696

System.Collections.Specialized.OrderedDictionary.get_Item(Int32 index) +59

HAP.Web.BookingSystem.admin.Default.ListView1_ItemDeleting(Object sender, ListViewDeleteEventArgs e) +74

System.Web.UI.WebControls.ListView.OnItemDeleting(ListViewDeleteEventArgs e) +116

System.Web.UI.WebControls.ListView.HandleDelete(ListViewItem item, Int32 itemIndex) +590

System.Web.UI.WebControls.ListView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +572

System.Web.UI.WebControls.ListView.OnBubbleEvent(Object source, EventArgs e) +233

System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37

System.Web.UI.WebControls.ListViewDataItem.OnBubbleEvent(Object source, EventArgs e) +112

System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37

System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +125

System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +167

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

 

 

 

 

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Posted
You need to add some rooms, or some lessons, that's what that error is about

 

 

nick i do have 2 rooms and 3 lessons when i try delete a static booking i get that error i cant delete any static bookings, also do you have any idea on my other issue with being unable to see the calender or book rooms.

 

1.jpg2.jpg

Posted
Ok, you can delete the room manually from the staticbookings.xml file in the app_data folder

 

Thanks nick that worked

 

Ive actually figured out why my other issue is happening its seems to work in when using https everything works as it should, i would rather not use https internally so would like to use http do you have any idea why i am getting the errors displaying the booking system in http??

 

Thanks

Posted

Hi Nick

 

would you be able to tell me why the booking system doesnt load correctly unless i use https, internally i would like to use http so any assistance would be most helpful

 

Thanks

Posted
HAP+ needs HTTPS for the WCF Services to work correctly, thus why when on a http connection, the setup page will show a red cross for services activated

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