Upgrading to ASP.Net 2? Why your website might stop working when you do. - Exception Details...
(Page 2 of 5 )
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Net.WebPermission, System, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
The Reason? - Code Access Security!
As it turns out many shared hosting companies are setting the Security Trust level in the asp.net version 2.0 machine.config files to the default "Medium" setting then locking it down so it can't be overridden by the application.
This is great from hosting perspective but not so good if you are a developer that uses asp.net functions like xml.load from another website, webrequest, webclient, system.net, etc... or many other classes that a default medium trust setting doesn't allow.
More Web Development Articles
More By Jase Dow