Hi
i have problem using Firebird .Net Provider on medium trust level ASP .Net
hosts
i get this error in simple code like
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.
code i very simple and work but not with medium
(Turbo Delphi For .Net Explorer with Firebird Embedded)
Var con: FirebirdSql.Data.Firebird.FbConnection;
par: FirebirdSql.Data.Firebird.FbConnectionStringBuilder;
begin
try
con:= FirebirdSql.Data.Firebird.FbConnection.Create;
par:= FirebirdSql.Data.Firebird.FbConnectionStringBuilder.Create;
par.Database:= Server.MapPath('/') + 'S27.PLM';
par.ServerType:= 1;
con.ConnectionString:= par.ConnectionString;
con.Open;
please help
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider