From: nicoya n. <nic...@ho...> - 2003-10-20 20:39:57
|
Hi, I had this error with Firebird.net provider 1.5 beta 2 and not wth old versions: When open a conection, this exception appears: ---------------------------------- Formato de metadatos PInvoke no válido. Origen: OSSOCK.gethostbyname --------------------------------- AND commandbuilder.deriveparameters(command) does not work with my stored procedures commands example: ---------------------------------- FirebirdSql.Data.Firebird.FbConnection Con2 = new FirebirdSql.Data.Firebird.FbConnection(this.CadenaConexion); Con2.Open(); Com = new FirebirdSql.Data.Firebird.FbCommand("PA_EMPLEADO_LISTAR",Con2); Com.CommandType = System.Data.CommandType.StoredProcedure; FirebirdSql.Data.Firebird.FbCommandBuilder.DeriveParameters(Com); Con2.Close(); Con2.Dispose();- ---------------------------------- This stored procedure has 2 parameter and not buil its with derrveparameters. Thank You Good look! _________________________________________________________________ Consigue aquí las mejores y mas recientes ofertas de trabajo en América Latina y USA: www.yupimsn.com/empleos |