+ Post New Thread
Results 1 to 5 of 5
Home Access Plus+ Thread, Error when try to use HAP+ V8 my files in Projects:; Hi, We are running HAP+ 7.10 and I was looking at switching across to the V8 my files, but for ...
  1. #1

    Join Date
    Nov 2011
    Posts
    15
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Error when try to use HAP+ V8 my files

    Hi,

    We are running HAP+ 7.10 and I was looking at switching across to the V8 my files, but for some reason we get this error when trying to access it:

    Thank you in advance.



    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\Framework\v4.0.30319\Temp orary ASP.NET Files\hap\d9f64370\466c4409\App_Web_iipn2ynp.1.cs Line: 0

    Stack Trace:


    [NullReferenceException: Object reference not set to an instance of an object.]
    HAP.Web.Configuration.hapConfig.get_Local() +66
    HAP.Web.Controls.LocalResource.get__doc() +213
    HAP.Web.Controls.LocalResource.Render(HtmlTextWrit er writer) +44

    [ArgumentOutOfRangeException: The string homeaccessplus cannot be found]
    HAP.Web.Controls.LocalResource.Render(HtmlTextWrit er writer) +213
    System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    ASP.myfiles_default_aspx.__Render__control3(HtmlTe xtWriter __w, Control parameterContainer) in c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\hap\d9f64370\466c4409\App_Web_iipn2ynp.1.cs: 0
    System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +109
    System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +208
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter writer) +173
    System.Web.UI.HtmlControls.HtmlContainerControl.Re nder(HtmlTextWriter writer) +31
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output) +53
    System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.HtmlControls.HtmlForm.RenderControl( HtmlTextWriter writer) +40
    System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +8
    System.Web.UI.Page.Render(HtmlTextWriter writer) +29
    System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060




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

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    add to the hapConfig.xml (2nd line):

    Code:
    local="en-gb"

  3. #3

    Join Date
    Nov 2011
    Posts
    15
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi Nick,

    Thanks for you quick response, but I am getting the below error. This is how the 2nd line now looks as well- <hapConfig version="7.10.228.1000" firstrun="False" local="en-gb">

    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\Framework\v4.0.30319\Temp orary ASP.NET Files\hap\d9f64370\466c4409\App_Web_iipn2ynp.1.cs Line: 0

    Stack Trace:


    [NullReferenceException: Object reference not set to an instance of an object.]
    HAP.Web.Controls.WrappedLocalResource.RenderAttrib utes(HtmlTextWriter writer) +304

    [IndexOutOfRangeException: The String 'myfiles/zip/question1' cannot be found]
    HAP.Web.Controls.WrappedLocalResource.RenderAttrib utes(HtmlTextWriter writer) +445
    System.Web.UI.HtmlControls.HtmlControl.RenderBegin Tag(HtmlTextWriter writer) +42
    System.Web.UI.HtmlControls.HtmlContainerControl.Re nder(HtmlTextWriter writer) +19
    System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    ASP.myfiles_default_aspx.__Render__control3(HtmlTe xtWriter __w, Control parameterContainer) in c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\hap\d9f64370\466c4409\App_Web_iipn2ynp.1.cs: 0
    System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +109
    System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +208
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter writer) +173
    System.Web.UI.HtmlControls.HtmlContainerControl.Re nder(HtmlTextWriter writer) +31
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output) +53
    System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.HtmlControls.HtmlForm.RenderControl( HtmlTextWriter writer) +40
    System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +8
    System.Web.UI.Page.Render(HtmlTextWriter writer) +29
    System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060

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

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Your local string files are out of date, please update them from the main release (App_LocalResources)

  5. #5

    Join Date
    Nov 2011
    Posts
    15
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thats sorted it.

    Thanks nick, thought i'd already done that as I read it in another post but obviously I hadn't.

    Thanks again.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 27th February 2012, 11:44 AM
  2. [HAP+][v8] My Files
    By nickbro in forum Home Access Plus+
    Replies: 66
    Last Post: 26th February 2012, 05:01 PM
  3. Error when trying to update driver
    By ChrisH in forum Promethean Direct Support
    Replies: 11
    Last Post: 16th November 2009, 02:59 PM
  4. Error when trying to plat Flash in Boardworks.
    By Kyle in forum Educational Software
    Replies: 1
    Last Post: 6th February 2008, 11:25 AM
  5. Error when trying to deploy XP via BDD
    By Gatt in forum Windows
    Replies: 0
    Last Post: 24th January 2008, 12:04 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •