Skip to main content

WebRequests to the configured external xml source are not permitted (Medium trust)

I have setup a YouTube XML channel list on my DotNetNuke website and all was working good on the staging site as it was in full trust but production being a shared hosting has a medium trust and now the IFrame and XSL rewrite script and all are useless as the web service to pull the XML from YouTube itself is failing because of the medium trust issue.

Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.


WebRequests to the configured external xml source are not permitted (Medium trust)

Anyone has any additional update on how to fix this? without the need of compiling the entire DotNetNuke source code?

Thanks,
Wasay

I looked up these references: