Hi @BingC ,
Have you tried the following method provided by the link below?
RD Web Access: Server Error in ‘/RDWeb/Pages’ Application. Runtime Error
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi all
We have a remote desktop services environment where users access most apps internally via our RDWeb gateway
Just today, we started to get a weird error which has never happened before
Also nothing has changed on the server since last week
Restarting the server and services dont fix the issue
When users try to access the main RDWeb site, they are thrown below error
When I turn on debugging for the Default.aspx file, I get the below error
Server Error in '/RDWeb/Pages' Application.
The operation completed successfully
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception: The operation completed successfully
Source Error:
Line 165: {
Line 166: tswf = new WebFeed(RdpType.Both, true);
Line 167: strAppFeed = tswf.GenerateFeed(
Line 168: strUserIdentity,
Line 169: FeedXmlVersion.Win8,
Source File: c:\Windows\Web\RDWeb\Pages\en-US\Default.aspx Line: 167
Stack Trace:
[Win32Exception (0x80004005): The operation completed successfully]
System.Drawing.Icon.Initialize(Int32 width, Int32 height) +2086
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) +197
Microsoft.TerminalServices.Publishing.Portal.IconFactory.GetOrCreateIconInfo(Byte[] iconContents, String iconName, Int32 pceIconSize, UInt64 lastUpdateTime, ImageFormat imageFormat, Int32[] imageDimensions) +339
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) +362
Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.GetFreshApps(DateTime requestTime) +5263
Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.GetApplications(String strSid, Boolean onlyShowAvailableByDefaultResources, AppInfo[]& apps, AppInfo[]& desktops) +1178
Microsoft.TerminalServices.Publishing.Portal.RWSCPubAndTsAccessor.GetApplications(String strSid, Boolean onlyShowAvailableByDefaultResources, AppInfo[]& apps, AppInfo[]& desktops) +464
Microsoft.TerminalServices.Publishing.Portal.RapWebService.GetRemoteApps(String strUserIdentity, Boolean onlyShowAvailableByDefaultResources) +86
Microsoft.TerminalServices.Publishing.Portal.WebFeed.GetDataForFeed(String userIdentity, String folderName, Dictionary2& resource_list, Dictionary
2& ts_list, List`1& folders, Boolean& supportsReconnect) +325
Microsoft.TerminalServices.Publishing.Portal.WebFeed.GenerateFeed(String userIdentity, FeedXmlVersion xmlVersion, String folderPath, Boolean writeXmlDecl) +206
ASP.en_us_default_aspx.Page_PreInit(Object sender, EventArgs e) in c:\Windows\Web\RDWeb\Pages\en-US\Default.aspx:167
System.Web.UI.Page.OnPreInit(EventArgs e) +11859212
System.Web.UI.Page.PerformPreInit() +46
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1110
Any help will be appreciated to get this working
Thanks
Hi @BingC ,
Have you tried the following method provided by the link below?
RD Web Access: Server Error in ‘/RDWeb/Pages’ Application. Runtime Error
HI TKujala,
Thank you for your message. I couldn't open the link you post. Could you please resend the link?
We have the exactly same issue.
Have you ever solved this?
One of your published Apps crashes the IIS instance. The newly published app Icon size is to big. Try to unpublish it and the issue should be resolved.
Quit simple solution - but very difficult to find (took us 8 hours).