+ Post New Thread
Results 1 to 7 of 7
Home Access Plus+ Thread, Hap live tiles in Projects:; Hi Getting an error with the live tiles, I've added the line in mention in the documentation. Any advice? Everything ...
  1. #1
    ful56_uk's Avatar
    Join Date
    Mar 2008
    Location
    Essex
    Posts
    562
    Thank Post
    105
    Thanked 25 Times in 22 Posts
    Rep Power
    19

    Hap live tiles

    Hi

    Getting an error with the live tiles, I've added the line in mention in the documentation. Any advice?

    Everything else works fine in hap, when I remove the line from the config file the system fine.

    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.Link..ctor(XmlNode node) +505
    HAP.Web.Configuration.LinkGroup..ctor(XmlDocument& doc, String Name) +665
    HAP.Web.Configuration.LinkGroups..ctor(XmlDocument & doc) +417
    HAP.Web.Default.Page_Load(Object sender, EventArgs e) +235
    System.Web.UI.Control.LoadRecursive() +70
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3177

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

  2. #2
    ful56_uk's Avatar
    Join Date
    Mar 2008
    Location
    Essex
    Posts
    562
    Thank Post
    105
    Thanked 25 Times in 22 Posts
    Rep Power
    19
    This is the line I've added

    <Link name="calendar" showto="Inherit" description="test" url="https://mail.server.com/owa" icon="~/images/icons/metro/applications/calendar.png" target="" type="exchange.appointments" />

    Also

    <SMTP server="mail.server.com" port="25" enabled="True" ssl="False" from="Hap Server" fromaddress="hap@domain.com" user="" exchange="https://mail.server.com/ews/exchange.asmx" impersonationdomain="Domain" impersonationuser="hap" password="" impersonationpassword="qmx9qn33iUNvYjahdiGIrg==" />

  3. #3
    ful56_uk's Avatar
    Join Date
    Mar 2008
    Location
    Essex
    Posts
    562
    Thank Post
    105
    Thanked 25 Times in 22 Posts
    Rep Power
    19
    This is the event log

    An error occurred in Home Access Plus+

    Page: /HAP/

    Message
    Exception of type 'System.Web.HttpUnhandledException' was thrown.

    Source
    System.Web

    Target site
    Boolean HandleError(System.Exception)

    Stack trace
    at System.Web.UI.Page.HandleError(Exception e)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Te mporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_mosfv4dg.3.cs: line 0
    at System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()
    at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously)

    ToString()

    System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at HAP.Web.Configuration.Link..ctor(XmlNode node)
    at HAP.Web.Configuration.LinkGroup..ctor(XmlDocument& doc, String Name)
    at HAP.Web.Configuration.LinkGroups..ctor(XmlDocument & doc)
    at HAP.Web.Default.Page_Load(Object sender, EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.HandleError(Exception e)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Te mporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_mosfv4dg.3.cs: line 0
    at System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,561
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    Best place is to create the calendar tile from the hapConfig page, not direct in the xml file, then add type="exchange.appointments" to the xml

  5. #5
    ful56_uk's Avatar
    Join Date
    Mar 2008
    Location
    Essex
    Posts
    562
    Thank Post
    105
    Thanked 25 Times in 22 Posts
    Rep Power
    19
    ok, do you still have to set the ews url and impersonation user?

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,561
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    yes, that's in the SMTP section

  7. #7
    ful56_uk's Avatar
    Join Date
    Mar 2008
    Location
    Essex
    Posts
    562
    Thank Post
    105
    Thanked 25 Times in 22 Posts
    Rep Power
    19
    brilliant thanks, all working now

SHARE:
+ Post New Thread

Similar Threads

  1. Connect live tile to Office 365
    By dezt in forum Home Access Plus+
    Replies: 17
    Last Post: 27th May 2013, 07:34 PM
  2. Windows 8 Live Tile
    By liveman2 in forum Windows 8
    Replies: 1
    Last Post: 14th April 2013, 12:12 PM
  3. Replies: 16
    Last Post: 10th April 2013, 09:44 PM
  4. HAP+8.1 Menu Bar Tiles + Live Tiles
    By simonmerry in forum Home Access Plus+
    Replies: 3
    Last Post: 13th November 2012, 09:24 AM
  5. [HAP+][v8] - Live Tiles
    By nickbro in forum Home Access Plus+
    Replies: 80
    Last Post: 2nd September 2012, 05:35 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
  •