Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object reference not set to an instance of an object
Message
 
À
23/02/2010 07:46:44
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01450438
Message ID:
01450715
Vues:
58
Frank,

>I've reached Step 13 in Jump Start: Web Forms Application - C# where I am binding the text boxes to the data. I set the BindingSource property of all the text boxes to "Order" and when I try to set the BindingSourceMember of the OrderID textbox I get this error:
>
>Object reference not set to an instance of an object.
>
>at OakLeaf.MM.Main.Builders.mmBindingSourceWebMemberEditForm.GetDatabases()....
>
>Any ideas what could be wrong?

This is almost always caused by invalid connection information in the Web project's web.config or the Business Layer project's app.config. I recommend examining the databases node carefully in both files to make sure the information is accurate. The BindingSourceMember dialog uses the information in these files to connect to your application database.

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform