Implementing Two .NET 1.1 Updates


The following two .NET version 1.1 updates affect the ODBC data provider:

  • Require FullTrust for OleDb, ODBC, and OracleClient: You can now use portions of System.Data in partially trusted applications, such as SQL Client. This means that it's now necessary to require FullTrust permission for OleDb, ODBC, and OracleClient. It's not possible to allow these providers to work in partially trusted scenarios because of their interaction with native pointers and Application Programming Interfaces (APIs).

  • Workaround: If you're using .NET Framework version 1.0 and are setting system.data.dll as allowed in partially trusted scenarios, you must modify your security settings to allow these components to work in partially trusted scenarios.

  • Removed an OnStateChange(Open) event from OLE DB client and ODBC client packages: The .NET Framework version 1.0 was incorrectly firing an OnStatechange(Open) event when there was an invalid connection string.

  • Workaround: No workaround is available for this change. Generally, this indicates that the change isn't intended to have a workaround.




Applied ADO. NET(c) Building Data-Driven Solutions
Applied ADO.NET: Building Data-Driven Solutions
ISBN: 1590590732
EAN: 2147483647
Year: 2006
Pages: 214

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net