The remote certificate is invalid according to the validation procedure.
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.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation
procedure. Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
2 Points
58 Posts
XML Data Source Returning Remote Certificate Error
Mar 26, 2015 11:28 PM|ftbadolato|LINK
I've had the following code running just fine for months and all of a sudden it started returning the error you see below. I'm stumped. Any ideas?
<asp:XmlDataSource ID="XmlDataSource1" runat="server" XPath="rss/channel/item [position()<=4]"
DataFile="http://windycitywellness.wordpress.com/?feed=rss"></asp:XmlDataSource>
<p>
<asp:datalist ID="Datalist2" runat="server" DataSourceID="XmlDataSource1">
<ItemTemplate>
<div style="padding:0 0 10px 0"><span style="color:#779C55; font-family:Arial; font-size:10pt; font-weight:bold"><%#Convert.ToDateTime(XPath("pubDate")).ToShortDateString()%></span><br /><a style="color:#A97495; font-family:Arial; font-size:9pt; white-space:nowrap" href="<%#XPath("link")%>" target="_blank"><%#XPath("title")%></a></div>
</ItemTemplate>
</asp:datalist>
The remote certificate is invalid according to the validation procedure.
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.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
XPATH xml Certificate
All-Star
40535 Points
6233 Posts
Microsoft
Re: XML Data Source Returning Remote Certificate Error
Mar 27, 2015 09:29 PM|Fei Han - MSFT|LINK
Hi ftbadolato,
Thanks for your post.
Please refer to this blog which explained how to resolve this issue.
Best Regards,
Fei Han
XPATH xml Certificate