Mar 30, 2012 10:23 AM|webjagger|LINK
Hi, I'm using rdlc files for creating pdf files for download from ASP.Net 4.0 websites.
Now I'm having trouble with one Visual Studio 2010/ASP.Net 4.0 WebSite that seems to have problems while executing the report.
It always happens if I use an expression inside my report.
The Value expression for the textrun ‘Textbox4.Paragraphs.TextRuns’ contains an error: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089'
It happens while debugging with WinXP+VS2010 as well as on production environment with Win2k3 Server+IIS 6.
The formula of the expression is, e.g. =Parameters!par01.Value & "xxx"
I have many other websites on these both systems that don't get this problem, so it's not a general problem of the environment.
The one I mentioned is the only one where I get this problem.
Does anybody have an idea/solution?
Thanks in advance.