Ajax - Request for the permission of type 'System.Web.AspNetHostingPermission,

To resolve this issue, you must change your development machine .net security configuration since you are accessing items across the network.
In the event that you need this ability at runtime, you must change the trust level in your config file to full.

However, since this is only in development, I can change my local PC's security by going to Start > Control Panel > Administrative Tools > Microsoft .NET Framework 2.0 Configuration.

After it fully loads (sometimes takes a bit), fully expand My Computer in the navigation tree and click Runtime Security Policy. In the right hand pane, choose Adjust Zone Security.

Leave the default option (Make changes to this computer) and hit next. Choose Local Intranet and change the trust level to Full Trust.
Then choose next and then finish. Restart Visual Studio 2005 and you should be all set.

Hope that helps

posted @ Thursday, April 09, 2009 5:49 PM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345