Wrong error description in opening database connection (.Net 4 )
----------------------------------------------------------------

                 Key: DNET-475
                 URL: http://tracker.firebirdsql.org/browse/DNET-475
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 3.0.2.0
         Environment: WinXP, Win2003, Visual Studio 2010, Framework 4.0
            Reporter: Vsevolod Cherevatenko
            Assignee: Jiri Cincura


I receive strange error in app built with .Net 4 in opening database connection 
with wrong password.

Error message is: "TargetSite : ResolveMethod Source : mscorlib Message : Could 
not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from 
assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089'. StackTrace : at 
System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32 methodToken, 
IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 
methodInstCount) at 
System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, Int32 
methodToken, IntPtr[] typeInstantiationContext, Int32 typeInstCount, IntPtr[] 
methodInstantiationContext, Int32 methodInstCount) at 
System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module, Int32 
methodToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] 
methodInstantiationContext) at 
System.Reflection.CustomAttributeData..ctor(RuntimeModule scope, 
CustomAttributeRecord caRecord) at 
System.Reflection.CustomAttributeData.GetCustomAttributes(RuntimeModule module, 
Int32 tkTarget) at 
System.Reflection.CustomAttributeData.GetCustomAttributesInternal(RuntimeAssembly
 target) at System.Reflection.RuntimeAssembly.GetCustomAttributesData() at 
System.Reflection.CustomAttributeData.GetCustomAttributes(Assembly target) at 
System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly
 a, UltimateResourceFallbackLocation& fallbackLocation) at 
System.Resources.ResourceManager.CommonSatelliteAssemblyInit() at 
System.Resources.ResourceManager..ctor(String baseName, Assembly assembly) at 
FirebirdSql.Data.Common.IscException.BuildSqlState() at 
FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.ReadStatusVector() at 
FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.ProcessOperation(Int32 
operation) at 
FirebirdSql.Data.Client.Managed.Version11.GdsDatabase.ProcessOperation(Int32 
operation) at 
FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.ReadSingleResponse() at 
FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.ReadResponse() at 
FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.ReadGenericResponse() at 
FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.Attach(DatabaseParameterBuffer
 dpb, String dataSource, Int32 port, String database) at 
FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() at 
FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create() at 
FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut() at 
FirebirdSql.Data.FirebirdClient.FbConnection.Open() " 



-- 
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

       

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to