Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object reference not set to an instance of an object
Message
 
To
23/02/2010 07:46:44
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01450438
Message ID:
01450715
Views:
57
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform