Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Cannot preview SSRS report in Visual Studio 2012 - assembly does not allow partially trusted callers

$
0
0

Hi,

I have an SSRS report that works fine in Visual Studio 2008 BIDS.  This report references a .Net assembly namely:

System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

I use this assembly in some simple Code functions in the report. e.g.

System.Web.HttpUtility.UrlEncode(inURL).ToString

I have converted the SSRS project to 2012 and am trying to preview the report.  However, I get an error relating to: "That assembly does not allow partially trusted callers".  If i deploy the rdl to my local SSRS it renders fine, but how do I fix Visual Studio to preview the report without error? This is highly annoying.

My Visual Studio version is:

Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.51641

SQL Server Reporting Services  
Microsoft SQL Server Reporting Services Designers
Version 11.0.3402.0

Any help is appreciated on this one.

Regards,

MrHH


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>