View Single Post
  #1 (permalink)  
Old December 1st, 2004, 02:23 AM
DeliveryGuy DeliveryGuy is offline
Registered User
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to DeliveryGuy
Default Pro Design Patterns in VB.NET (ch02 about .config)

(As a newer, I am not a professional poster here, if my message has something wrong, please give me suggestion and help, thanks~)

I have a problem in the 2nd chapter about the 'appname.config'.

When running the source code, I get a wrong information

"System.NullReferenceException" in the "NWDSAWindowsTestApp.exe"

The following code is signed to be yellow(debugging state):
--- drOrders = oDataReader.ReturnedDataReader //in the NWDSAWindowsTestApp.vb

I guess the reason of getting wrong is that the .config file information was not be read out. But i don't know how to make it be right.

Ask for Help~ Thanks