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

StackOverflow https://stackoverflow.com/questions/1578529

  •  21-09-2019
  •  | 
  •  

Question

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?

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top