none
Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib ..."

    Question

  • I'm using VS 2008 and SSRS 2008. I have a rdl report where I use a external dll. When I click on print preview in Visual Studio I get the error:

    [rsRuntimeErrorInExpression] La expresión Value del objeto ‘Textbox4.Paragraphs[0].TextRuns[0]’ de tipo textrun contiene un error: Error de solicitud de permiso de tipo 'System.Security.Permissions.RegistryPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. D:\Proyectos\Acris\src\Acris.Reporting.Reservations\HistoryRentAuthorizations.rdl

    the expression of my textbox is "=Acris.Reporting.Util.Decrypt("z478auine8")" and the method of my custom dll performs a typical decryption.

    I have read a lot of threads but none solved my error.

    Please, any suggestion?

    Thanks a lot!!

     

     

    Wednesday, June 08, 2011 8:23 AM

Answers