Jump to content

Recommended Posts

Posted

Hello Everyone!

 

We are still having problems with the MyFiles part of HAP. We are wanting to make this live ready for September and would like to use the MyFiles part as it looks quite good. However, the error that we are getting is this:

 

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: 


[No relevant source lines]


Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_rbfku2fz.0.cs    Line: 0 

Stack Trace: 


[NullReferenceException: Object reference not set to an instance of an object.]
  HAP.Web.Configuration.hapConfig.get_Local() +153
  HAP.Web.Controls.LocalResource.get__doc() +154
  HAP.Web.Controls.LocalResource.Render(HtmlTextWriter writer) +56

[ArgumentOutOfRangeException: The string homeaccessplus cannot be found]
  HAP.Web.Controls.LocalResource.Render(HtmlTextWriter writer) +508
  ASP.myfiles_default_aspx.__Render__control3(HtmlTextWriter __w, Control parameterContainer) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_rbfku2fz.0.cs:0
  System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
  System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
  System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +315
  System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48
  System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
  System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
  System.Web.UI.Page.Render(HtmlTextWriter writer) +40
  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5290




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272 

 

This is probably a really simple fix but I have different things - like copying the relevant files from a downloaded copy of the HAP.

 

Thanks in advance.

 

J.Worth.

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