Error: “Object reference not set to an instance of an object” when attempting to create a new database