SneakyPeaky99 0 Posted January 9 Hello Delphi community, I'm currently facing a challenging issue while debugging a Delphi application that parses HTML, starts up a web server, and hosts a website. Pasting whole parser is impossible but i think that problem lies in RemotingSDK. During the parsing of a specific HTML file, I've encountered the following logs: The relevant part of the code starts at line 135 and involves the usage of the GetCaption function within an HTML template. Here's a snippet of the parsed html code starting from the line 135: <div class="menubutton" title="<%=GetCaption('XMLR_MENU_PREVIEW_LONG')%>"> <% if ReportName <> 'StatusMonitor' then begin Params.SetValues('PrinterFriendly', 'true'); %> <a href="<%=ParamsToLinkString()%>" target="_blank"> <img src="images/header_<%=GetAuthorCompany()%>/header_icon_preview.gif" border="0"><br> <span><!--<%=GetCaption('XMLR_MENU_PREVIEW')%>--></span> </a> <% Params.SetValues('PrinterFriendly', ''); end else begin %> <p> <img src="images/header_<%=GetAuthorCompany()%>/header_icon_preview_gray.gif" border="0"><br> <span><!--<%=GetCaption('XMLR_MENU_PREVIEW')%>--></span> </p> <% end; %> </div> I've narrowed down the issue to a "Software caused connection abort" error, which seems to be related to the Remoting SDK. However, I'm struggling to understand the exact meaning of this error and how to resolve it. Has anyone in the community encountered a similar error before? Any insights, tips, or suggestions on how to approach this debugging challenge would be greatly appreciated. Thank you in advance for your help! Share this post Link to post
MichaelT 6 Posted January 9 No idea. Wondering about the title="Printer-friendly preview' with a " at the beginning and ending with '. Maybe that's a result from providing the manual description. No idea what 'Remoting SDK' refers too, but in general 'Software caused connection abort' doesn't tell a lot and the socket error is a general one for any kind of failure or protocol error. I think you are on the right track. It's very likely about a not well formatted template or a problem with handling the template in most cases. But that doesn't come as a surprise in your case. Share this post Link to post