Search code examples
asp.netmedium-trust

How to prevent InvalidOperationException with XmlDataSource in medium trust for the same domain


I'm using an XmlDataSource to fetch an RSS feed on the same domain. Ever since my ISP moved to medium trust, that code is failing with a System.InvalidOperationException.

Is there a way to fix this?


Solution

  • After reading a forum post on my ISP's forums, it seems I have to ask them for my data source URL to get whitelisted. That's exactly what I did.