i copy this dlls to bin directory FirebirdSql.Data.FirebirdClient.dll 2.1.0.0
and FirebirdSql.Data.Firebird.dll 1.7.2.0 and fbembed.dll 2.1.2.18118 but this error occure if i have only one line of code con:= Firebird.Data.Firebird.FBConnection.Create; without anytink more complie stack is - but tell me nothink about the reason 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 56: </ASP:Label></td> Line 57: <td width="66%" height="177" style="BORDER-RIGHT: 2px solid; PADDING-RIGHT: 5px; BORDER-TOP: 2px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: 2px solid; PADDING-TOP: 5px; BORDER-BOTTOM: 2px solid" bordercolor="teal" valign="top"> Line 58: <ASP:Label id="LabelTresc" runat="server"><%# GetCenter() %> Line 59: </ASP:Label> Line 60: <ASP:Panel id="PanelKontakt" style="POSITION: relative" runat="server" width="100%"> Source File: d:\IIS01\www\2945046\Default.aspx Line: 58 Stack Trace: [SecurityException: That assembly does not allow partially trusted callers.] Default.TWebForm1.GetFromFB() in D:\Inetpub\wwwroot\Konwertery\Default.pas:251 Default.TWebForm1.GetCenter() in D:\Inetpub\wwwroot\Konwertery\Default.pas:168 ASP.default_aspx.__DataBind__control8(Object sender, EventArgs e) in d:\IIS01\www\2945046\Default.aspx:58 System.Web.UI.Control.OnDataBinding(EventArgs e) +99 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +92 System.Web.UI.Control.DataBind() +15 System.Web.UI.Control.DataBindChildren() +211 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102 System.Web.UI.Control.DataBind() +15 System.Web.UI.Control.DataBindChildren() +211 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102 System.Web.UI.Control.DataBind() +15 System.Web.UI.Control.DataBindChildren() +211 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102 System.Web.UI.Control.DataBind() +15 Default.TWebForm1.Page_Load(Object sender, EventArgs e) in D:\Inetpub\wwwroot\Konwertery\Default.pas:349 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242 System.Web.UI.Page.ProcessRequest() +80 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.default_aspx.ProcessRequest(HttpContext context) in d:\temp\root\356d4d05\b6a9da2a\App_Web_default.aspx.cdcab7d2.x5z6hy_i.0.cs:0 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 ----- Original Message ----- From: "Jiri Cincura" <disk...@cincura.net> To: "For users and developers of the Firebird .NET providers" <firebird-net-provider@lists.sourceforge.net> Sent: Wednesday, April 22, 2009 5:08 PM Subject: Re: [Firebird-net-provider] =?ISO-8859-2?Q?can not use Firebird.Net Provider on medium trust level hosts embedded fir= > What FirebirdClient version you're using? What's the complete exception > stack? > > -- > Jiri {x2} Cincura (CTO x2develop.com) > http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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