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

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

  •  21-09-2019
  •  | 
  •  

문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top