DAAB HOL for EntLib 4.1- Lab 2

Topics: Data Access Application Block
Sep 8, 2009 at 3:41 PM
Edited Sep 8, 2009 at 3:49 PM

Has anyone had any problems getting this lab to work?

I have followed instructions closely, and when I try to run the app, using Debug | Start w/o Debugging, I do not see any drop down... instead I see a messagebox with a very long call stack and an "OK" button.

Please help!


Oh, btw. I did try to run the "finished" version of this lab to see if it worked, and if i could reverse-engineer where I might've gone wrong, but to no avail. I got the same thing as I described above....

Is there something I am missing???

Sep 8, 2009 at 4:09 PM

FYI, Okay, actually I'm seeing that its having a problem connecting to the db.

Sep 8, 2009 at 4:24 PM

What is the exact exception? Did you run the batch file that creates the "EntLibQuickStarts" database?

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.

Sep 8, 2009 at 4:25 PM

Ok... got it working now. Problem was the connection string in the app.config file- since I am not using SQLEXPRESS it had to be modified.

Sep 9, 2009 at 4:37 AM

Glad to know.