Event ID 1309 ASP.NET Unhandled exception RDWeb

Gary Rae 5 Reputation points
2024-05-15T09:12:35.97+00:00

I have deployed Remote desktop connection brokers in high availability and installed remote desktop web access. I am getting Event ID 1309 ASP.NET 4:.0.30319.0 logged every time the web site is accessed. The following details are in the log. How can i fix this issue?

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 15/05/2024 09:35:33

Event time (UTC): 15/05/2024 08:35:33

Event ID: f690d2e857e440a99b57633b1fd66286

Event sequence: 1237026

Event occurrence: 12377

Event detail code: 0

Application information:

Application domain: /LM/W3SVC/1/ROOT/RDWeb/Pages-3-133588130856681481 

Trust level: Full 

Application Virtual Path: /RDWeb/Pages 

Application Path: C:\WINDOWS\Web\RDWeb\Pages\ 

Machine name: HGB01RDCB1000 
```Process information: 

Process ID: 8544

Process name: w3wp.exe

Account name: IIS APPPOOL\RDWebAccess


Exception type: NullReferenceException

Exception message: Object reference not set to an instance of an object.


   at ASP.en_us_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()

 

 

Request information: 

Request URL: https://the.sitename.com:443/RDWeb/Pages/en-US/Default.aspx

Request path: /RDWeb/Pages/en-US/Default.aspx

User host address: 10.10.48.249

User:

Is authenticated: False

Authentication Type:

Thread account name: IIS APPPOOL\RDWebAccess


Thread ID: 74

Thread account name: IIS APPPOOL\RDWebAccess

Is impersonating: False

Stack trace: at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)


--- 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()

 

 

Custom event details: 

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,773 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Karlie Weng 19,251 Reputation points Microsoft External Staff
    2024-05-17T01:13:35.8166667+00:00

     

    Hello,

    To address the issue, consider installing the .NET patch on your PC. You can download the package from this link:https://dotnet.microsoft.com/en-us/download/dotnet-framework


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Renato Moscardini 0 Reputation points
    2024-08-18T15:45:43.1333333+00:00

    Some news? I have exactly the same issue. The patch did not solve anything.

    0 comments No comments

  3. Chris Rhodes 0 Reputation points
    2024-10-11T20:00:01.29+00:00

    I recycled the RDWeb app pool and users were able to login to RDS sessions. The patch did nothing


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.