ASP.NET - Cómo Solucionarlo???

 
Vista:

Cómo Solucionarlo???

Publicado por eljhonb (69 intervenciones) el 25/04/2007 18:41:37
buenas, espero me puedan ayudar con este problema
tengo una aplicación diseñada en vb.net y agrego una referencia al Microdoft Application Block data.
Al compilar me salen los siguientes errores:

C:\Inetpub\wwwroot\CopyFlujoCaja\FlujoC\frmConsultaFC.aspx.vb(447): Overload resolution failed because no accessible 'CreateCommand' can be called with these arguments:
'Public Shared Function CreateCommand(profile As String, spName As String, ParamArray sourceColumns() As String) As System.Data.SqlClient.SqlCommand': Value of type 'System.Data.SqlClient.SqlTransaction' cannot be converted to 'String'.
'Public Shared Function CreateCommand(connection As System.Data.SqlClient.SqlConnection, spName As String, ParamArray sourceColumns() As String) As System.Data.SqlClient.SqlCommand': Value of type 'System.Data.SqlClient.SqlTransaction' cannot be converted to 'System.Data.SqlClient.SqlConnection'.

Warning: The dependency 'Microsoft.ApplicationBlocks.Data, Version=1.0.2085.27314, Culture=neutral' in project 'CopyFlujoCaja' cannot be copied to the run directory because it would overwrite the reference 'Microsoft.ApplicationBlocks.Data, Version=1.0.2670.30651, Culture=neutral'.

cómo puedo solucionar esto???

De antemano muchas Gracias!
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
sin imagen de perfil
Val: 56
Bronce
Ha mantenido su posición en ASP.NET (en relación al último mes)
Gráfica de ASP.NET

RE:Cómo Solucionarlo???

Publicado por Yamil Bracho (1136 intervenciones) el 26/04/2007 13:38:14
Al parecer estas usando un metodo que espera variables de un tipo y le estan pasando de otro tipo. Le estan pasando un Transaction en vez de un Connection...
El otro error es un warning y puede ser que tengas una version de la DLL del Data Aplication Block anterior. Eliminala y listo.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar