when i`m using rdlc report in medium level trust , it gives this error.
so pls give proper solution.
error like this.
Technology Tips and News
error like this.
Hi ,
ReportViewer Control only works in medium trust if you are running remote mode. If it it local mode then it requires full
trust
Remote
mode requires medium trust and. Local mode requires full trust.
If you have any concern about this, please submit a feedback at http://connect.microsoft.com/SQLServer/Feedback and
hope Microsoft improve this feature in the next service pack or product release.
Hi,
According to your description, when opening a rdlc report in medium trust level, you get an error, right?
In your scenario, are you using Visual Studio 2008? If so, based on my research, we find that add the following code can resolve the problem.
reportViewer.LocalReport.ExecuteReportInSandboxAppDomain()
This scenario has been tested, for more detail information, please refer to this thread.
If you have any other question, please feel free to ask.
Regards,
Shrek Li