Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataAdapter
Message
 
À
19/02/2008 09:18:48
Frank Dolinar
Mi House of Representatives
Michigan, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
MS SQL Server
Divers
Thread ID:
01293743
Message ID:
01294143
Vues:
22
Frank,

>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?

These components aren't "viewable" in Visual Studio...you can just ignore these warnings.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform