Can't save DAAB connection string

Topics: Data Access Application Block, Logging Application Block
Feb 4, 2010 at 9:26 AM

I am a new ENLIB4.1 user, I want to insert log into SQL DB, so I must use DAAB. But each time after I config the database connection string with library configuration tool, close the app.config file, reopen it again, the connection string is restored with old string " data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true".

I am working with  windows 7 and visual studio 2008, DB is SQL Server 2008.

Can somebody help me?



Feb 4, 2010 at 9:57 AM
Edited Feb 4, 2010 at 10:04 AM


You can try adding a new Connection String in the DAAB section then configure it to point to your logging database.

This thread explains:

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.

Feb 5, 2010 at 12:57 AM

Hi Valiant,

   Thanks a lot,  I create a new Connection String and it really can work.