I use XmlDataSource like this :
<asp:XmlDataSource ID="xmlDataSource1" runat="Server" DataFile="https://myurl.xml" ></asp:XmlDataSource>
as a datasource to my rotater control.
but i get the following exception all the time :
https://myurl.xml is not a valid virtual path.
Although i tried the link externally and there’s an xml file
Ignore my previous answer. Apparently the
XmlDataSourcedoes not like https URLs as theDataFile:Write a few extra lines of code to download the XML from https source like: