robk Posted February 27, 2012 Posted February 27, 2012 We have HAP 7.9 running for remote file access, which seems to be working we for the end user, but we are getting strings of Error 500 messages logged in the IIS logs. Any ideas as to how to diagnose what is the cause of this. The server is running with HTTPS enabled etc, on Windows 2008 R2 Standard edition, .Net 4 and IIS 7.5. The path with the 500 errors appears to be /hap/api/js Regards Robk
nickbro Posted February 27, 2012 Posted February 27, 2012 Hmm odd. What happens when you visit /hap/api/js
robk Posted February 28, 2012 Author Posted February 28, 2012 Gives an error page. Should hap/api/js physically exist? Will copy paste error when back on a pc.
nickbro Posted February 28, 2012 Posted February 28, 2012 In the browser, it doesn't exist physically, but should in the code
robk Posted February 28, 2012 Author Posted February 28, 2012 Ok if I navigate to /hap/api/js I get the following Server Error in '/HAP' Application. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. 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.NullReferenceException: Object reference not set to an instance of an object. 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: [NullReferenceException: Object reference not set to an instance of an object.] HAP.Web.Configuration.hapConfig.get_Local() +153 HAP.Web.API.JS.get__locals() +154 HAP.Web.API.JS.ProcessRequest(HttpContext context) +524 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +624 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +269
nickbro Posted February 28, 2012 Posted February 28, 2012 Ok can you add local="en-GB"to your hapconfig.xml file (2nd line)
robk Posted February 28, 2012 Author Posted February 28, 2012 Thanks Nick, Just added that and our event log looks much happier! Will keep an eye open for any reoccurance.
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