none
ASP.Net issue with RDP Gateway RRS feed

  • Question

  • Hi,

    I've recently built a VM farm that's got a pair of gateways for load balancing RDP requests to 17 VM's - it's been running for a bit over a month now with no issues until this morning.

    Started getting a litany of ASP.Net errors on the gateways when it was responding to login requests.

    ASP.NET 4.0.30319.0, EventID 1309, Category Web Event.

    Any suggestions would be welcomed.

    Exception information: 
        Exception type: NullReferenceException 
        Exception message: Object reference not set to an instance of an object.
       at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
       at ASP.en_gb_default_aspx.<GetAppsAsync>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.UI.PageAsyncTaskManager.<ExecuteTasksAsync>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.UI.Page.<ProcessRequestAsync>d__554.MoveNext()

    Thread information: 
        Thread ID: 51 
        Thread account name: IIS APPPOOL\RDWebAccess 
        Is impersonating: False 
        Stack trace:    at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
       at ASP.en_gb_default_aspx.<GetAppsAsync>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.UI.PageAsyncTaskManager.<ExecuteTasksAsync>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.UI.Page.<ProcessRequestAsync>d__554.MoveNext()


    Tuesday, September 3, 2019 2:54 PM

Answers

  • Hi Matt,

    It generated at login, but users were still able to login and work effectively.

    Turns out there was a failed update for .Net relating to IIS that Windows was trying to rollback from, and the system was chewing on itself.

    Stopped & disabled the gateway services, cleared the offending update from softwaredistribution and restarted the VM. After restart, installed the update manually (apologies, but I can't recall the KB off hand). Restarted again. Then re-enabled the services and started them up.

    Errors stopped generating and everything worked normally.

    Regards,

    • Marked as answer by CCISolitude Friday, November 8, 2019 2:03 PM
    Friday, November 8, 2019 2:03 PM

All replies

  • Hi,

    That isnt much of an error is it haha.  Do users log in and it generates that or can no-one log in when this happens?

    Thanks,

    Matt

    Friday, November 1, 2019 1:38 AM
  • Hi Matt,

    It generated at login, but users were still able to login and work effectively.

    Turns out there was a failed update for .Net relating to IIS that Windows was trying to rollback from, and the system was chewing on itself.

    Stopped & disabled the gateway services, cleared the offending update from softwaredistribution and restarted the VM. After restart, installed the update manually (apologies, but I can't recall the KB off hand). Restarted again. Then re-enabled the services and started them up.

    Errors stopped generating and everything worked normally.

    Regards,

    • Marked as answer by CCISolitude Friday, November 8, 2019 2:03 PM
    Friday, November 8, 2019 2:03 PM