I have just set up a new server running Windows Server 2008 / IIS7.
I have set up a new virtual directory and my website displays and runs fine.
When I am on my dev machine and try and build the website, i get the following error:
"Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
I have tried giving my computer full try using caspol to the share where the website is located but doesnt seem to have helped.
Help much appreciated!