Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# netnut 3/15/2010 7:11 AM

I have been testing v2 of Cuyahoga in medium trust on my local machine and whenever I try and enter a feed URL into the RemoteContent module, I get the following error:
An error occured: Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I thought it may have been related to the GetFeedXml method in RemoteContentModule.cs so tried asserting custom web permissions by adding the following:
WebPermission p = new WebPermission(NetworkAccess.Connect, feedUrl);
p.Assert();

but it made no difference.

I have tried tracking down the cause and implementing remedies to these types of permission errors before so in an attempt to try and prevent any more hair loss, I was hoping someone here may have already tamed this beast?

If so, could you please advise where I should start looking?

Cheers
Kev