Security Changes in the .NET Framework 4 ----------------------------------------
Key: DNET-387 URL: http://tracker.firebirdsql.org/browse/DNET-387 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 2.6 Environment: Any Windows OS that is running. NET framework 4 Reporter: Pavel Vasilenko Assignee: Jiri Cincura Priority: Minor When I try to run some assembly (which have the attribute [assembly: AllowPartiallyTrustedCallers]) which is overridden with GetObjectData I get here about an exception: «Inheritance security rules violated while overriding member: MyBusinessException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.» You can add your provider in this line AssemblyInfo.cs: [assembly: SecurityRules (SecurityRuleSet.Level1)]. This action does not affect the rest of the performance provider. Links to more detailed: http://stackoverflow.com/questions/3055792/inheritance-security-rules-violated-while-overriding-member-securityruleset-lev Thank you very much! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider