Thanks a lot. I've read carefully both posts from Gilles and Clinton and now can connect to the multipile databases at one time from my application :-| Here is the test code:
SqlMapper sm1 = SqlMapper.Configure("sqlmap1.config"); SqlMapper sm2 = SqlMapper.Configure("sqlmap2.config"); sm2.DataSource.ConnectionString = @"MaxBufferSize=2048;FIL=MS Access;DSN=test;PageTimeout=5;UID=admin;DBQ=D:\projects\examples\iBATIS\db2. mdb;DriverId=25"; IList PersonList = sm1.QueryForList("GetPersonList", null); IList DocumentList = sm2.QueryForList("GetDocumentList", null); It works! Thank you very much. One minor thing is that I should fill "connectionString" attribute in the sqlmap2.config file - XmlSerializer fails if there is an empty string. But I've wrote "this value will be set in the run-time" and happy. ___________________________________________________________________________ This communication is confidential and may be legally privileged. If you believe you are not an intended recipient, please inform the sender, delete the e-mail and do not copy, print or use it or disclose it to others. You can inform the sender by replying to this e-mail or by telephone (+380 44 4906080).