It's known by experience of others; like me :-)

Using   .net  4.0  (without  4.5  extension)  you  must  download  and
distribute the version of the 3.0.2 provider especially for net40. The
isntaller  package  (the  executable installer) contains the libraries
for net 4.5, not for 4.0


> 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(RuntimeMod
>  ule 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.GdsD
>  atabase.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() " 






mit freundlichen Grüßen,

André Knappstein
EDV und Controlling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
beta Eigenheim- und Grundstücksverwertungsgesellschaft mbH
Hafenweg 4
59192 Bergkamen-Rünthe

Telefon: +49 2389 9240 140
Telefax: +49 2389 9240 150
e-mail:  knappst...@beta-eigenheim.de

Amtsgericht Hamm Nr. B 420
Geschäftsführer: Achim Krähling, Dirk Salewski und Matthias Steinhaus

USt-IDNr.: DE 125215402


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