DatabaseFactory.CreateDatabase() throws NullReferenceException

Topics: Data Access Application Block
Jul 3, 2007 at 5:17 PM
What could possibly cause a Null Reference Exception in this statement?

Dim db As Database = DatabaseFactory.CreateDatabase()
Jul 3, 2007 at 5:22 PM
Ok, It was because, my app.config was missing. Now it is fine. Thanks. Please ignore my previous question.