tengo una aplicación Web que usa controles de terceros. uno de esos controles es exportar los resultados de un grid a ficheros PDF, excel, etc. Pues tengo un problema con la página que contiene ese control. En otros servidores se ejecuta bien, pero en Godaddy me sale este error:
Cita:
Ellos me han respondido que Server Error in '/' Application.
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy.
To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.
Source Error:
Line 373: </SelectParameters>
Line 374: </asp:AccessDataSource>
Line 375: <dxwgv:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server" GridViewID="ASPxGridView1" FileName="tarifas">
Line 376: </dxwgv:ASPxGridViewExporter>
Line 377: <span style="font-size: 9pt; color: dimgray; font-family: Verdana">
I set "read" and "write" permissions to the root path but this error persists.
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy.
To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.
Source Error:
Line 373: </SelectParameters>
Line 374: </asp:AccessDataSource>
Line 375: <dxwgv:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server" GridViewID="ASPxGridView1" FileName="tarifas">
Line 376: </dxwgv:ASPxGridViewExporter>
Line 377: <span style="font-size: 9pt; color: dimgray; font-family: Verdana">
I set "read" and "write" permissions to the root path but this error persists.
"The error message being received indicates that you may be attempting to run this application in a full trust environment which is not supported on our shared hosting services. On a shared hosting account you will need to run your scripts in a medium trust environment. "
pero como cambio eso?
saludos