Re: [Firebird-net-provider] Error using edmgen or edmgen2

2011-08-24 Thread Sibylle Koczian
Von: Jiri Cincura disk...@cincura.net
Gesendet: 23.08.2011 17:16:18

You have to add record into provider factories it to machine.config or
app.config.

Thank you for your very fast response! I did that and now the provider seems to 
be found, but I get a new error:

Unbehandelte Ausnahme: System.AccessViolationException: Es wurde versucht, im ge
schützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darau
f, dass anderer Speicher beschädigt ist.
   bei FirebirdSql.Data.Client.Managed.Version11.SSPIHelper.DeleteSecurityContex
t(UInt64 phContext)
   bei FirebirdSql.Data.Client.Managed.Version11.SSPIHelper.InitializeClientSecu
rity()
   bei FirebirdSql.Data.Client.Managed.Version11.GdsDatabase.AttachWithTrustedAu
th(DatabaseParameterBuffer dpb, String dataSource, Int32 port, String database)
   bei FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
   bei FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create()
   bei FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut()
   bei FirebirdSql.Data.FirebirdClient.FbConnection.Open()
   bei FirebirdSql.Data.FirebirdClient.FbProviderServices.GetDbProviderManifestT
oken(DbConnection connection)
   bei System.Data.Common.DbProviderServices.GetProviderManifestToken(DbConnecti
on connection)
   bei System.Data.Entity.Design.EntityStoreSchemaGenerator.GetProviderSchemaMet
adataWorkspace(DbProviderServices providerServices, DbConnection providerConnect
ion)
   bei System.Data.Entity.Design.EntityStoreSchemaGenerator.CreateStoreSchemaCon
nection(String providerInvariantName, String connectionString)
   bei System.Data.Entity.Design.SsdlGenerator.EntityStoreSchemaGeneratorDatabas
eSchemaLoader..ctor(String providerInvariantName, String connectionString)
   bei System.Data.Entity.Design.EntityStoreSchemaGenerator..ctor(String provide
rInvariantName, String connectionString, String namespaceName)
   bei EdmGen2.EdmGen2.ModelGen(String connectionString, String provider, String
 modelName, Version version, Boolean includeForeignKeys) in D:\home\Sibylle\Doku
mente\Visual Studio 2010\Projects\EdmGen2\EdmGen2\EdmGen2.cs:Zeile 170.
   bei EdmGen2.EdmGen2.ModelGen(String[] args) in D:\home\Sibylle\Dokumente\Visu
al Studio 2010\Projects\EdmGen2\EdmGen2\EdmGen2.cs:Zeile 160.
   bei EdmGen2.EdmGen2.Main(String[] args) in D:\home\Sibylle\Dokumente\Visual S
tudio 2010\Projects\EdmGen2\EdmGen2\EdmGen2.cs:Zeile 57.

Unlocalized error message:
Attempted to read or write protected memory. This is often an indication that 
other memory is corrupt.

Firebird uses trusted authentication - the traceback seems to suggest that that 
might be the problem?

Greetings
Sibylle



___
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


Re: [Firebird-net-provider] Error using edmgen or edmgen2

2011-08-24 Thread Jiri Cincura
On Wed, Aug 24, 2011 at 12:10 PM, Sibylle Koczian nulla.epist...@web.de wrote:
 Unbehandelte Ausnahme: System.AccessViolationException: Es wurde versucht, im 
 ge
 schützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis 
 darau
 f, dass anderer Speicher beschädigt ist.
    bei 
 FirebirdSql.Data.Client.Managed.Version11.SSPIHelper.DeleteSecurityContex
 t(UInt64 phContext)
    bei 
 FirebirdSql.Data.Client.Managed.Version11.SSPIHelper.InitializeClientSecu
 rity()
    bei 
 FirebirdSql.Data.Client.Managed.Version11.GdsDatabase.AttachWithTrustedAu
 th(DatabaseParameterBuffer dpb, String dataSource, Int32 port, String 
 database)

Either provide username/password in connection string or run in x86 mode.

-- 
Jiri {x2} Cincura (x2develop.com founder)
http://blog.cincura.net/ | http://www.ID3renamer.com

--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider