ASP.NET 4 loadFromRemoteSources Error

Make sure to verify the version that you site was written in with the version your application pool is running as.
We have seen the below error while running an 2.0 application and the application pool was set to 4.

Server Error in '/' Application.

An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See for more information.


Article ID: 697, Created On: 11/6/2009, Modified: 11/6/2009

Feedback (0)