Asp net 1309 ошибка

We run Remote Desktop Services 2016 and have noticed some warnings in the event viewer of our Gateway Web Server.
  • Remove From My Forums
  • Question

  • We run Remote Desktop Services 2016 and have noticed some warnings in the event viewer of our Gateway Web Server.

    Log Name:      Application
    Source:        ASP.NET 4.0.30319.0
    Date:          3/31/2019 3:17:01 PM
    Event ID:      1309
    Task Category: Web Event
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:     
    Description:
    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 3/31/2019 3:17:01 PM 
    Event time (UTC): 3/31/2019 7:17:01 PM 
    Event ID: e81617fac6bc42abb32fa7b69388da07 
    Event sequence: 252 
    Event occurrence: 17 
    Event detail code: 0 
     
    Application information: 
        Application domain: /LM/W3SVC/1/ROOT/RDWeb/Pages-1-131981716874383622 
        Trust level: Full 
        Application Virtual Path: /RDWeb/Pages 
        Application Path: C:WindowsWebRDWebPages 
        Machine name: 
     
    Process information: 
        Process ID: 2568 
        Process name: w3wp.exe 
        Account name: IIS APPPOOLRDWebAccess 
     
    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_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: :443/RDWeb/Pages/en-US/Default.aspx 
        Request path: /RDWeb/Pages/en-US/Default.aspx 
        User host address: 
        User:  
        Is authenticated: False 
        Authentication Type:  
        Thread account name: IIS APPPOOLRDWebAccess 
     
    Thread information: 
        Thread ID: 56 
        Thread account name: IIS APPPOOLRDWebAccess 
        Is impersonating: False 
        Stack trace:    at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext
    objHttpContext)

       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()
     
     
    Custom event details: 

    Event Xml:
    <Event xmlns=»http://schemas.microsoft.com/win/2004/08/events/event»>
      <System>
        <Provider Name=»ASP.NET 4.0.30319.0″ />
        <EventID Qualifiers=»32768″>1309</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime=»2019-03-31T19:17:01.823012500Z» />
        <EventRecordID>54382</EventRecordID>
        <Channel>Application</Channel>
        <Computer></Computer>
        <Security />
      </System>
      <EventData>
        <Data>3005</Data>
        <Data>An unhandled exception has occurred.</Data>
        <Data>3/31/2019 3:17:01 PM</Data>
        <Data>3/31/2019 7:17:01 PM</Data>
        <Data>e81617fac6bc42abb32fa7b69388da07</Data>
        <Data>252</Data>
        <Data>17</Data>
        <Data>0</Data>
        <Data>/LM/W3SVC/1/ROOT/RDWeb/Pages-1-131981716874383622</Data>
        <Data>Full</Data>
        <Data>/RDWeb/Pages</Data>
        <Data>C:WindowsWebRDWebPages</Data>
        <Data></Data>
        <Data>
        </Data>
        <Data>2568</Data>
        <Data>w3wp.exe</Data>
        <Data>IIS APPPOOLRDWebAccess</Data>
        <Data>NullReferenceException</Data>
        <Data>Object reference not set to an instance of an object.
       at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
       at ASP.en_us_default_aspx.&lt;GetAppsAsync&gt;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.&lt;ExecuteTasksAsync&gt;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.&lt;ProcessRequestAsync&gt;d__554.MoveNext()

    </Data>
        <Data>/RDWeb/Pages/en-US/Default.aspx</Data>
        <Data>/RDWeb/Pages/en-US/Default.aspx</Data>
        <Data></Data>
        <Data>
        </Data>
        <Data>False</Data>
        <Data>
        </Data>
        <Data>IIS APPPOOLRDWebAccess</Data>
        <Data>56</Data>
        <Data>IIS APPPOOLRDWebAccess</Data>
        <Data>False</Data>
        <Data>   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext
    objHttpContext)

       at ASP.en_us_default_aspx.&lt;GetAppsAsync&gt;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.&lt;ExecuteTasksAsync&gt;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.&lt;ProcessRequestAsync&gt;d__554.MoveNext()
    </Data>
      </EventData>
    </Event>

User-1197427475 posted

Hi,

I’ve noticed this warning every 25 minutes on my server 2012R2. I do not have any problems with anything, at least I’ve not noticed any, but not sure what is causing it. Can someone help me? Thank you

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 17/03/2021 10:54:31 a.m. 
Event time (UTC): 16/03/2021 9:54:31 p.m. 
Event ID: 13e6455b069b418b8d3036db2df142f6 
Event sequence: 2413 
Event occurrence: 991 
Event detail code: 0 

 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT-3-132599694692667439 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:inetpubwwwroot 
    Machine name: XXXXXX

 
Process information: 
    Process ID: 12476 
    Process name: w3wp.exe 
    Account name: NT AUTHORITYSYSTEM 

 
Exception information: 
    Exception type: ArgumentNullException 
    Exception message: Value cannot be null.
Parameter name: s
   at System.Convert.FromBase64String(String s)
   at ASP.aspnet_client_supp0rt_aspx.Page_Load()
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 
Request information: 
    Request URL: https://autodiscover.xxxxxxxxx.co.xx:443/aspnet_client/supp0rt.aspx 
    Request path: /aspnet_client/supp0rt.aspx 
    User host address: xxx.xxx.xxx.xxx 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITYSYSTEM 

 
Thread information: 
    Thread ID: 75 
    Thread account name: NT AUTHORITYSYSTEM 
    Is impersonating: False 
    Stack trace:    at System.Convert.FromBase64String(String s)
   at ASP.aspnet_client_supp0rt_aspx.Page_Load()
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 
Custom event details: 
— System 

  — Provider 

   [ Name]  ASP.NET 4.0.30319.0 

 
  — EventID 1309 

   [ Qualifiers]  32768 

 
   Level 3 

 
   Task 3 

 
   Keywords 0x80000000000000 

 
  — TimeCreated 

   [ SystemTime]  2021-03-17T00:54:14.000000000Z 

 
   EventRecordID 21771272 

 
   Channel Application 

 
   Computer XXXXXX.xxxxxx.local 

 
   Security 

— EventData 

   3005 
   An unhandled exception has occurred. 
   17/03/2021 1:54:14 p.m. 
   17/03/2021 12:54:14 a.m. 
   090676a7fdb24ad38e0828ec2a75fb74 
   43 
   8 
   0 
   /LM/W3SVC/1/ROOT-3-132604143497063499 
   Full 
   / 
   C:inetpubwwwrootXXXXX 

    
   12716 
   w3wp.exe 
   NT AUTHORITYSYSTEM 
   ArgumentNullException 
   Value cannot be null. Parameter name: s at System.Convert.FromBase64String(String s) at ASP.aspnet_client_supp0rt_aspx.Page_Load() at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  
   https://autodiscover.xxxxxxx.co.xx:443/aspnet_client/supp0rt.aspx 
   /aspnet_client/supp0rt.aspx 
   159.89.222.138 

    
   False 

    
   NT AUTHORITYSYSTEM 
   25 
   NT AUTHORITYSYSTEM 
   False 
   at System.Convert.FromBase64String(String s) at ASP.aspnet_client_supp0rt_aspx.Page_Load() at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint)  

We run Remote Desktop Services 2016 and have noticed some warnings in the event viewer of our Gateway Web Server.

Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          3/31/2019 3:17:01 PM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:     
Description:
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 3/31/2019 3:17:01 PM 
Event time (UTC): 3/31/2019 7:17:01 PM 
Event ID: e81617fac6bc42abb32fa7b69388da07 
Event sequence: 252 
Event occurrence: 17 
Event detail code: 0 

 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT/RDWeb/Pages-1-131981716874383622 
    Trust level: Full 
    Application Virtual Path: /RDWeb/Pages 
    Application Path: C:WindowsWebRDWebPages 
    Machine name: 

 
Process information: 
    Process ID: 2568 
    Process name: w3wp.exe 
    Account name: IIS APPPOOLRDWebAccess 

 
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_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: :443/RDWeb/Pages/en-US/Default.aspx 
    Request path: /RDWeb/Pages/en-US/Default.aspx 
    User host address: 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: IIS APPPOOLRDWebAccess 

 
Thread information: 
    Thread ID: 56 
    Thread account name: IIS APPPOOLRDWebAccess 
    Is impersonating: False 
    Stack trace:    at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
   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()

 
 
Custom event details: 

Event Xml:
<Event xmlns=»http://schemas.microsoft.com/win/2004/08/events/event»>
  <System>
    <Provider Name=»ASP.NET 4.0.30319.0″ />
    <EventID Qualifiers=»32768″>1309</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime=»2019-03-31T19:17:01.823012500Z» />
    <EventRecordID>54382</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>3/31/2019 3:17:01 PM</Data>
    <Data>3/31/2019 7:17:01 PM</Data>
    <Data>e81617fac6bc42abb32fa7b69388da07</Data>
    <Data>252</Data>
    <Data>17</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/1/ROOT/RDWeb/Pages-1-131981716874383622</Data>
    <Data>Full</Data>
    <Data>/RDWeb/Pages</Data>
    <Data>C:WindowsWebRDWebPages</Data>
    <Data></Data>
    <Data>
    </Data>
    <Data>2568</Data>
    <Data>w3wp.exe</Data>
    <Data>IIS APPPOOLRDWebAccess</Data>
    <Data>NullReferenceException</Data>
    <Data>Object reference not set to an instance of an object.
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
   at ASP.en_us_default_aspx.&lt;GetAppsAsync&gt;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.&lt;ExecuteTasksAsync&gt;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.&lt;ProcessRequestAsync&gt;d__554.MoveNext()

</Data>
    <Data>/RDWeb/Pages/en-US/Default.aspx</Data>
    <Data>/RDWeb/Pages/en-US/Default.aspx</Data>
    <Data></Data>
    <Data>
    </Data>
    <Data>False</Data>
    <Data>
    </Data>
    <Data>IIS APPPOOLRDWebAccess</Data>
    <Data>56</Data>
    <Data>IIS APPPOOLRDWebAccess</Data>
    <Data>False</Data>
    <Data>   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
   at ASP.en_us_default_aspx.&lt;GetAppsAsync&gt;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.&lt;ExecuteTasksAsync&gt;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.&lt;ProcessRequestAsync&gt;d__554.MoveNext()
</Data>
  </EventData>
</Event>

We run Remote Desktop Services 2016 and have noticed some warnings in the event viewer of our Gateway Web Server.

Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          3/31/2019 3:17:01 PM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:     
Description:
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 3/31/2019 3:17:01 PM 
Event time (UTC): 3/31/2019 7:17:01 PM 
Event ID: e81617fac6bc42abb32fa7b69388da07 
Event sequence: 252 
Event occurrence: 17 
Event detail code: 0 

 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT/RDWeb/Pages-1-131981716874383622 
    Trust level: Full 
    Application Virtual Path: /RDWeb/Pages 
    Application Path: C:WindowsWebRDWebPages 
    Machine name: 

 
Process information: 
    Process ID: 2568 
    Process name: w3wp.exe 
    Account name: IIS APPPOOLRDWebAccess 

 
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_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: :443/RDWeb/Pages/en-US/Default.aspx 
    Request path: /RDWeb/Pages/en-US/Default.aspx 
    User host address: 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: IIS APPPOOLRDWebAccess 

 
Thread information: 
    Thread ID: 56 
    Thread account name: IIS APPPOOLRDWebAccess 
    Is impersonating: False 
    Stack trace:    at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
   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()

 
 
Custom event details: 

Event Xml:
<Event xmlns=»http://schemas.microsoft.com/win/2004/08/events/event»>
  <System>
    <Provider Name=»ASP.NET 4.0.30319.0″ />
    <EventID Qualifiers=»32768″>1309</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime=»2019-03-31T19:17:01.823012500Z» />
    <EventRecordID>54382</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>3/31/2019 3:17:01 PM</Data>
    <Data>3/31/2019 7:17:01 PM</Data>
    <Data>e81617fac6bc42abb32fa7b69388da07</Data>
    <Data>252</Data>
    <Data>17</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/1/ROOT/RDWeb/Pages-1-131981716874383622</Data>
    <Data>Full</Data>
    <Data>/RDWeb/Pages</Data>
    <Data>C:WindowsWebRDWebPages</Data>
    <Data></Data>
    <Data>
    </Data>
    <Data>2568</Data>
    <Data>w3wp.exe</Data>
    <Data>IIS APPPOOLRDWebAccess</Data>
    <Data>NullReferenceException</Data>
    <Data>Object reference not set to an instance of an object.
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
   at ASP.en_us_default_aspx.&lt;GetAppsAsync&gt;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.&lt;ExecuteTasksAsync&gt;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.&lt;ProcessRequestAsync&gt;d__554.MoveNext()

</Data>
    <Data>/RDWeb/Pages/en-US/Default.aspx</Data>
    <Data>/RDWeb/Pages/en-US/Default.aspx</Data>
    <Data></Data>
    <Data>
    </Data>
    <Data>False</Data>
    <Data>
    </Data>
    <Data>IIS APPPOOLRDWebAccess</Data>
    <Data>56</Data>
    <Data>IIS APPPOOLRDWebAccess</Data>
    <Data>False</Data>
    <Data>   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
   at ASP.en_us_default_aspx.&lt;GetAppsAsync&gt;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.&lt;ExecuteTasksAsync&gt;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.&lt;ProcessRequestAsync&gt;d__554.MoveNext()
</Data>
  </EventData>
</Event>

I was helping a good friend of mine recently with his Exchange 2013 server. When he logged into Outlook Web App he would get the “Something went wrong” internal server error.

Exchange 2013 Something Went Wrong Internal Server Error 500

Unfortunately, this is an incredibly generic error that can be caused by a variety of different problems. We decided to hit the Event Logs. Almost instantly we ran across several occurrences of this error.

ASP.NET Event ID 1309 Event Code 3005
Event code: 3005
 Event message: An unhandled exception has occurred.
 Event time: 6/1/2015 7:00:00 PM
 Event time (UTC): 6/1/2015 11:00:00 PM
 Event ID: 4d1bb9b639774fd689f5b1eeec309375
 Event sequence: 2
 Event occurrence: 1
 Event detail code: 0

Sadly, ASP.NET Event ID 1309 is a very generic message. In fact, Event Code 3005 could be caused by any number of possibilities. Ruling the Event Code out we examined the rest of the error. We quickly found our answer in the Exception Message. I’ve highlighted the section below.

Tip: Exchange MVP Jeff Guillet identifies another cause of Code 3005 in this article.

Application information:
 Application domain: /LM/W3SVC/2/ROOT/owa
 Trust level: Full
 Application Virtual Path: /owa
 Application Path: E:Program FilesMicrosoftExchange ServerV15ClientAccessowa
 Machine name: EX13-01

Process information:
 Process ID: 15216
 Process name: w3wp.exe
 Account name: NT AUTHORITYSYSTEM

Exception information:
 Exception type: HttpException
  Exception message: The file or directory is corrupted and unreadable. 

...edited for brevity...

The file or directory is corrupted and unreadable.

...edited for brevity...

Request information:
 Request URL: https://ex13-01.skaro.local:444/owa/
 Request path: /owa/
 User host address: fe80::31fa:8d7a:8000:d1d3
 User:
 Is authenticated: False
 Authentication Type:
 Thread account name: NT AUTHORITYSYSTEM

...edited for brevity...

So, we had corruption. Not good!

However, the corruption was not located in the Application Path listed in the error above. But instead in the .NET caches located under the Windows folder. Thankfully the fix is quite simple.

Warning: You will need to schedule downtime for this server as the remediation requires you to stop the WWW Publishing Service

Fix the Corruption

Navigate to the following folder on your Exchange server.

C:WindowsMicrosoft.NETFramework64v4.0.30319Temporary ASP.NET Files

ASP.NET Event ID 1309 Event Code 3005

All files located in this folder are cached .NET files. For our particular issue, the corruption was one folder deeper — OWA.

Go to Start >> Administrative Tools >> Services. From the Services MMC, right-click the WWW Publishing Service and select Stop from the context menu.

Stop WWW Publishing Service

Once stopped, delete all files located under the OWA subfolder. Don’t worry, the next time you log into OWA these files are regenerated.

Delete ASP.NET Temporary Files

Restart the WWW Publishing Service.

Once we did this we were able to log into Outlook Web App successfully.

Not finished yet

If you do run into this problem (and hopefully this fixes it) there is still one important question to ask; what caused your corruption in the first place?

For us, it was a storage problem. But any time you encounter any kind of corruption it’s always best to perform a root cause analysis. Check your logs. Use the tools from your hardware vendor. Be sure to find the cause before it becomes a much bigger problem — like data loss.

How about you? Have you experienced the dreaded ASP.NET 1309? What was your exception message and fix? Drop a comment below.

Print Friendly, PDF & Email

Gareth is an Microsoft MVP specializing in Exchange and Office 365. Gareth also contributes to the Office 365 for IT Pros book, which is updated monthly with new content. Find Gareth on LinkedIn, Twitter, or, Facebook.

Reader Interactions

Понравилась статья? Поделить с друзьями:
  • Asp mvc error 500
  • Asmmap64 sys как исправить ошибку
  • Asmb8 ikvm java error
  • Asm syntax error
  • Asko ошибка f10 посудомойка