Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
We are getting the following error on EVERY file generated in our data access layer when we try to open it in the designer:
----
The DataAdapter.SelectCommand property needs to be initialized.
at System.Data.Common.DbCommandBuilder.GetSelectCommand()
at System.Data.Common.DbCommandBuilder.BuildCache( Boolean closeConnection, DataRow dataRow, Boolean useColumnsForParameterNames )
at System.Data.SqlClient.SqlCommandBuilder.GetInsertCommand()
at Okleaf.MM.Main.Data.mmDataAccessSQL.CreateInsertCommand()
The DataAdapter.SelectCommand property needs to be initialized.
at System.Data.Common.DbCommandBuilder.GetSelectCommand()
at System.Data.Common.DbCommandBuilder.BuildCache( Boolean closeConnection, DataRow dataRow, Boolean useColumnsForParameterNames )
at System.Data.SqlClient.SqlCommandBuilder.GetUpdateCommand()
at Okleaf.MM.Main.Data.mmDataAccessSQL.CreateUpdateCommand()
The DataAdapter.SelectCommand property needs to be initialized.
at System.Data.Common.DbCommandBuilder.GetSelectCommand()
at System.Data.Common.DbCommandBuilder.BuildCache( Boolean closeConnection, DataRow dataRow, Boolean useColumnsForParameterNames )
at System.Data.SqlClient.SqlCommandBuilder.GetDeleteCommand()
at Okleaf.MM.Main.Data.mmDataAccessSQL.CreateDeleteCommand()
----
How do we correct for this problem?
Our first assumption is that we've just missed a setting somewhere, but have not yet found it.
Is it possible there is a problem in the MM.Net framework itself?
Any help much appreciated.
Thanks
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement