my project is developped on Visual Studio 2008 but it's still using Microsoft Enterprise Library 1.1.
It's working fine on Windows 7 32 bit, i didn't had to reinstall library when i installed Windows 7 from XP SP3.
I got a new PC with Windows 7 64 bit, i just downloaded Microsoft Enterprise library and recompiled with Visual Studio 2008.
My project is recompiled without errors but when it tries to execute the Function
Public Function GetRichieste() As DataSet
'Dim sqlCommand As String = "VDV_GET_RICHIESTE"
Dim sqlCommand As String = "VDVFORM_GET_RICHIESTE"
Dim dbCommandWrapper As DBCommandWrapper = db.GetStoredProcCommandWrapper(sqlCommand)
dbCommandWrapper.CommandTimeout = 600
the instruction ExecuteDataSet takes this error:
L'inizializzatore di tipo di 'Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataCommandFailedEvent' ha generato un'eccezione.
Please can you tell me what i am doing wrong?