I have developed an Asp.net website in Visual Studio 2008 and it worked fine while using Vista OS but my workstation got upgraded to Windows 7 and I now get following error:
Try this
Go to the properties of precompiled dll’s, check to see if it has following security message (at the bottom of the window): "This file came from another computer and might be blocked to help protect this computer." If present, click "Unblock", "Apply" and "OK".
OR
Run the below caspol command to resolve the issue Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -ag 1 -url file:////c:\mysitecontent\* FullTrust -exclusive on
Note: Please substitute c:\mysitecontent\* with actual path where ASP.net pre-compiled DLLs are located.
And restart the system.
If it helped you vote it up please.