DAAB in EntLib1.1 and EntLib2.0

Topics: Data Access Application Block, General discussion
Feb 7, 2007 at 10:43 PM
In enterprise library 1.1, when a connection string is created using the configuration tool, it stored it in app/web.config and dataconfiguration.config. But in EntLib 2.0 it stores it just in app/web.config. Is it possible to convert projects to EntLib2.0 or write new ones in EntLib2.0 using the format of configuration files in EntLib 1.1?
I am using DatabaseFactory.CreateDatabase("ConnectionString") which is where the exception gets thrown if old format of files is used.

Thanks,

js
Feb 7, 2007 at 11:27 PM
Unfortunately you'll need to rebuild your configuration files. We moved from our own XmlSerializer-based configuration system in EntLib 1.x to the new System.Configuration approach in v2, so the file formats are not the same.

Tom