Lemonde
  • Lemonde
  • 100% (Exalted)
  • Advanced Member Topic Starter
6 years ago
Server is a Windows 2012 R2 RDS host server running various desktop apps.

We are seeing the following:

Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 02/01/2018 19:34:37
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: %COMPUTERNAME%.domain.suffix
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 02/01/2018 19:34:37
Event time (UTC): 02/01/2018 19:34:37
Event ID: a3fd55700b164fbd8ddc35ab346b24bb
Event sequence: 633
Event occurrence: 5
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/ROOT/RDWeb/Pages-1-131569377198922071
Trust level: Full
Application Virtual Path: /RDWeb/Pages
Application Path: C:\Windows\Web\RDWeb\Pages\
Machine name: %COMPUTERNAME%

Process information:
Process ID: 5380
Process name: w3wp.exe
Account name: IIS APPPOOL\RDWebAccess

Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.PrepareRdpFile(String& rdp_contents, String fileExtension, String ts_name, String alias, String& rdp_file_url, String& rdp_file_name, DateTime requestTime)
at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.ProcessPublishedApp(String alias, String name, String resourceFile, String fileExtension, Byte[] iconContents, UInt32 pceIconSize, Int32 resourceType, FileExtensionInfo[] fileAssociations, String[] folderNames, String securityDescriptor, ArrayList& apps, DateTime requestTime, UInt64 lastUpdateTime)
at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.GetFreshApps(DateTime requestTime)
at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.OnCacheItemRemoved(String key, Object value, CacheItemRemovedReason removedReason)
at System.Web.Caching.CacheEntry.CallCacheItemRemovedCallback(CacheItemRemovedCallback callback, CacheItemRemovedReason reason)



Request information:
Request URL:
Request path:
User host address:
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\RDWebAccess

Thread information:
Thread ID: 815
Thread account name: IIS APPPOOL\RDWebAccess
Is impersonating: False
Stack trace: at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.PrepareRdpFile(String& rdp_contents, String fileExtension, String ts_name, String alias, String& rdp_file_url, String& rdp_file_name, DateTime requestTime)
at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.ProcessPublishedApp(String alias, String name, String resourceFile, String fileExtension, Byte[] iconContents, UInt32 pceIconSize, Int32 resourceType, FileExtensionInfo[] fileAssociations, String[] folderNames, String securityDescriptor, ArrayList& apps, DateTime requestTime, UInt64 lastUpdateTime)
at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.GetFreshApps(DateTime requestTime)
at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.OnCacheItemRemoved(String key, Object value, CacheItemRemovedReason removedReason)
at System.Web.Caching.CacheEntry.CallCacheItemRemovedCallback(CacheItemRemovedCallback callback, CacheItemRemovedReason reason)


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="2018-01-02T19:34:37.000000000Z" />
    <EventRecordID>63443</EventRecordID>
    <Channel>Application</Channel>
    <Computer>%COMPUTERNAME%.domain.suffix</Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>02/01/2018 19:34:37</Data>
    <Data>02/01/2018 19:34:37</Data>
    <Data>a3fd55700b164fbd8ddc35ab346b24bb</Data>
    <Data>633</Data>
    <Data>5</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/1/ROOT/RDWeb/Pages-1-131569377198922071</Data>
    <Data>Full</Data>
    <Data>/RDWeb/Pages</Data>
    <Data>C:\Windows\Web\RDWeb\Pages\</Data>
    <Data>%COMPUTERNAME%</Data>
    <Data>
    </Data>
    <Data>5380</Data>
    <Data>w3wp.exe</Data>
    <Data>IIS APPPOOL\RDWebAccess</Data>
    <Data>NullReferenceException</Data>
    <Data>Object reference not set to an instance of an object.
   at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.PrepareRdpFile(String&amp; rdp_contents, String fileExtension, String ts_name, String alias, String&amp; rdp_file_url, String&amp; rdp_file_name, DateTime requestTime)
   at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.ProcessPublishedApp(String alias, String name, String resourceFile, String fileExtension, Byte[] iconContents, UInt32 pceIconSize, Int32 resourceType, FileExtensionInfo[] fileAssociations, String[] folderNames, String securityDescriptor, ArrayList&amp; apps, DateTime requestTime, UInt64 lastUpdateTime)
   at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.GetFreshApps(DateTime requestTime)
   at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.OnCacheItemRemoved(String key, Object value, CacheItemRemovedReason removedReason)
   at System.Web.Caching.CacheEntry.CallCacheItemRemovedCallback(CacheItemRemovedCallback callback, CacheItemRemovedReason reason)

</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>False</Data>
    <Data>
    </Data>
    <Data>IIS APPPOOL\RDWebAccess</Data>
    <Data>815</Data>
    <Data>IIS APPPOOL\RDWebAccess</Data>
    <Data>False</Data>
    <Data>   at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.PrepareRdpFile(String&amp; rdp_contents, String fileExtension, String ts_name, String alias, String&amp; rdp_file_url, String&amp; rdp_file_name, DateTime requestTime)
   at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.ProcessPublishedApp(String alias, String name, String resourceFile, String fileExtension, Byte[] iconContents, UInt32 pceIconSize, Int32 resourceType, FileExtensionInfo[] fileAssociations, String[] folderNames, String securityDescriptor, ArrayList&amp; apps, DateTime requestTime, UInt64 lastUpdateTime)
   at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.GetFreshApps(DateTime requestTime)
   at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.OnCacheItemRemoved(String key, Object value, CacheItemRemovedReason removedReason)
   at System.Web.Caching.CacheEntry.CallCacheItemRemovedCallback(CacheItemRemovedCallback callback, CacheItemRemovedReason reason)
</Data>
  </EventData>
</Event>

Sponsor

Want to thank us? Use: Patreon or PayPal or Bitcoins: bc1q4whppe29dw77rm4kv4pln0gqae4yjnxly0dny0hky6yhnafukzjsyrsqhk

All opinions expressed within these pages are sent in by members of the public or by our staff in their spare time, and as such do not represent any opinion held by sircles.net Ltd or their partners.


sirclesadmin
6 months ago
Ok you're having an error thrown due to RDWeb extension on IIS

Have you got an application available on Remote Desktop Apps that has been uninstalled or removed?

Has it been moved to another drive?

Check all the apps and machines available on RDWeb and make sure they are all present and working. If this error persists then at least you know it is not affecting production.