This error normally occurs if you try to use the Report Viewer control or local RDLC reports.
This is because RDLC or Report Viewer control requires the website to run in Full trust mode.
This issue is by design. Local mode requires full trust. The main reason for it is because local mode processing and rendering engine are hosted with the viewer and those operations demand full trust.