So as I rolled back work I did yesterday the final thing I tried was removing a custom icon graphic for one of the applications. That did it. Apparently no 256x256 icons for RDS.
Server 2019 RDWeb Win32Exception (0x80004005): The operation completed successfully
Greetings all,
Have a fresh MS RDS deployment where my web access / client feeds just stopped working yesterday. Error I get is:
Exception Details: System.ComponentModel.Win32Exception: The operation completed successfully
Source Error:
Line 183: tswf = new WebFeed(RdpType.Both, true);
Line 184:
Line 185: Tuple<string, int> retValues = await tswf.GenerateFeedAsync(
Line 186: strUserIdentity,
Line 187: FeedXmlVersion.Win8,
Source File: c:\Windows\Web\RDWeb\Pages\en-US\Default.aspx Line: 185
Stack Trace:
[Win32Exception (0x80004005): The operation completed successfully]
System.Drawing.Icon.Initialize(Int32 width, Int32 height) +2130
Microsoft.TerminalServices.Publishing.Portal.IconInfo.MakeIconImage(Byte[] icon_contents, Int32 height, Int32 width, ImageFormat format) +125
Microsoft.TerminalServices.Publishing.Portal.IconInfo.MakeImage(ImageFormat imageFormat, Int32 imageDimension) +56
Microsoft.TerminalServices.Publishing.Portal.IconInfo.MakeImages(ImageFormat imageFormat, Int32[] imageDimensions) +49
Microsoft.TerminalServices.Publishing.Portal.IconInfo..ctor(Byte[] data, String iconName, Int32 length, ImageFormat imageFormat, Int32[] imageDimensions) +205
Microsoft.TerminalServices.Publishing.Portal.IconFactory.GetOrCreateIconInfo(Byte[] iconContents, String iconName, Int32 pceIconSize, UInt64 lastUpdateTime, ImageFormat imageFormat, Int32[] imageDimensions) +310
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) +399
Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.GetFreshApps(DateTime requestTime) +5437
Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.GetApplicationsAsync(String strSid, Boolean onlyShowAvailableByDefaultResources, Boolean includeRDPFileContents) +1155
Microsoft.TerminalServices.Publishing.Portal.RWSCPubAndTsAccessor.GetApplicationsAsync(String strSid, Boolean onlyShowAvailableByDefaultResources, Boolean includeRDPFileContents) +305
Microsoft.TerminalServices.Publishing.Portal.<GetRemoteAppsAsync>d__5.MoveNext() +128
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
Microsoft.TerminalServices.Publishing.Portal.<GetDataForFeedAsync>d__15.MoveNext() +598
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
Microsoft.TerminalServices.Publishing.Portal.<GenerateFeedAsync>d__13.MoveNext() +441
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() +32
ASP.<GetAppsAsync>d__0.MoveNext() in c:\Windows\Web\RDWeb\Pages\en-US\Default.aspx:185
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
System.Web.UI.<ExecuteTasksAsync>d__3.MoveNext() +456
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
System.Web.UI.<ProcessRequestAsync>d__554.MoveNext() +997
My configuration is as follows:
2x Server 2019 VM's running RD Web Access and RD Connection Broker in high availability
Steps I've tried:
- Restarted IIS on both hosts
- Re-install Web Access on secondary server
- Switch web.config / IIS to Windows Authentication & restart IIS
- Switch web.config / IIS to Forms Authentication (default) & restart IIS
- Reboot secondary server
- Reboot primary server
Anyone seen this before and know what may cause it? I'm at a loss. Not certain the exact time it broke, but I was in the process of publishing applications yesterday. Not certain how/why publishing applications would break Web Access.