Darylrese Posted June 26, 2015 Posted June 26, 2015 Hi Guys, I have tried to install HAP V10 a few times now and hit the same problem. Any ideas? Http gives me this error: Server Error in '/hap' Application. ASP.NET routing integration feature requires ASP.NET compatibility. Please see 'http://msdn.microsoft.com/en-us/library/ms731336.aspx' on how to do this. 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: ASP.NET routing integration feature requires ASP.NET compatibility. Please see 'http://msdn.microsoft.com/en-us/library/ms731336.aspx' on how to do this. 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: ASP.NET routing integration feature requires ASP.NET compatibility. Please see 'http://msdn.microsoft.com/en-us/library/ms731336.aspx' on how to do this.] System.ServiceModel.Activation.ServiceRoute.CheckAndCreateRouteString(String routePrefix) +547 System.ServiceModel.Activation.ServiceRoute..ctor(String routePrefix, ServiceHostFactoryBase serviceHostFactory, Type serviceType) +32 HAP.Web.API.APIRoutes.Register(RouteCollection collection) +1681 HAP.Web.Global.Application_Start(Object sender, EventArgs e) +531 [HttpException (0x80004005): ASP.NET routing integration feature requires ASP.NET compatibility. Please see 'http://msdn.microsoft.com/en-us/library/ms731336.aspx' on how to do this.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +588 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +181 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +322 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +452 [HttpException (0x80004005): ASP.NET routing integration feature requires ASP.NET compatibility. Please see 'http://msdn.microsoft.com/en-us/library/ms731336.aspx' on how to do this.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +646 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +778 Https Says page cannot be displayed. Using Server 2012 R2. Many thanks
nickbro Posted June 26, 2015 Posted June 26, 2015 Check you have installed all of the pre-reqs for HAP+
Darylrese Posted June 27, 2015 Author Posted June 27, 2015 Hi Nick, I have indeed! Installed 3 times now and even reformatted server and followed the installation video from scratch but just getting 'page cannot be displayed'
nickbro Posted June 27, 2015 Posted June 27, 2015 Is it IIS8? Have you removed the (remove for IIS8) bits? The error above is a result of not installing the .net 3.5 WCF bits for ASP.net
Darylrese Posted June 27, 2015 Author Posted June 27, 2015 I have indeed. I followed your video on YouTube Yep its IIS 8 and Server 2012 R2 I think it was an issue with the Web.config not being recognised but now I just get 'Page cannot be displayed'
Darylrese Posted June 27, 2015 Author Posted June 27, 2015 The only event I can see is from when I installed it on Friday: Event code: 4011 Event message: An unhandled access exception has occurred. Event time: 26/06/2015 14:55:28 Event time (UTC): 26/06/2015 13:55:28 Event ID: 023aa9b99830483380a02749bc40ce1c Event sequence: 2 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/hap-2-130798005283209394 Trust level: Full Application Virtual Path: /hap Application Path: C:\inetpub\wwwroot\hap\ Machine name: REMOTE1 Process information: Process ID: 964 Process name: w3wp.exe Account name: IIS APPPOOL\HAP Request information: Request URL: http://localhost/hap Request path: /hap User host address: ::1 User: Is authenticated: False Authentication Type: Thread account name: IIS APPPOOL\HAP Custom event details:
nickbro Posted June 27, 2015 Posted June 27, 2015 Ok, that's not going to tell me anything, can you install chrome or firefox on the server and try hap again, they may give more error information. IE tends to hide it
nickbro Posted June 27, 2015 Posted June 27, 2015 Ok, that looks like IIS isn't configured correctly, check the binding information, and the SSL certificate is installed
Darylrese Posted June 27, 2015 Author Posted June 27, 2015 (edited) Ok yep its something to do with binding. I created a new bind and it takes me to a HAP+ setup page but everything has a red X and its not displaying the page I'm expecting. What should the bind information be? Edited June 27, 2015 by Darylrese
nickbro Posted June 27, 2015 Posted June 27, 2015 You need an SSL certificate which matches your external address, e.g. hap.school.lea.sch.uk
Darylrese Posted June 27, 2015 Author Posted June 27, 2015 Perfect. I've created a new bind for https and now HAP+ setup is loading Just need to get around this problem now and should be good to go!
nickbro Posted June 27, 2015 Posted June 27, 2015 That error code is a generic AD permission error, not HAP+ specific, try restarting IIS. Is the server a member server
Darylrese Posted June 27, 2015 Author Posted June 27, 2015 Thanks Nick, really appreciate your help. Just rebooted the server, now get this error:
nickbro Posted June 27, 2015 Posted June 27, 2015 Delete the hapConfig.xml file from the app_data folder
Darylrese Posted June 27, 2015 Author Posted June 27, 2015 Cheers, that worked! Just trying to add Teachers as per your video and won't let me with this error:
nickbro Posted June 27, 2015 Posted June 27, 2015 Unless your using the helpdesk/booking system you don't need to do anything with the OUs
Darylrese Posted June 27, 2015 Author Posted June 27, 2015 Ok thanks, would like to add that later! Nearly there....saved config, made changes to Web.config, logged in with my username password and got this error:
nickbro Posted June 27, 2015 Posted June 27, 2015 Ok, looks like you have deleted a lot of the live tiles from the homepage tab, you may want to delete the config and start again, or check the config has a load of tiles
Darylrese Posted June 27, 2015 Author Posted June 27, 2015 (edited) I managed to edit the hapconfig.xml to remove the broken link and now i'm up and running woohoo!! Edited June 27, 2015 by Darylrese
Darylrese Posted July 1, 2015 Author Posted July 1, 2015 Thanks Nick. May I say what a fantastic system you have made! It looks great! Can anyone point me in the direction of how I now get this onto the internet?
nickbro Posted July 1, 2015 Posted July 1, 2015 Contact your ISP, you will need to get a domain name (can be a sub domain name, hap.school.lea.sch.uk). You will then need either a reverse proxy for that domain or dedicated IP.
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