在VS2005环境下用最新的2.0.1.0的Provider,死活连不上FireBord2.0数据库.
老是报connectionString不正确.
后来在官方MailingList里边找了一个方法:
I tested it one more time and I think that I found the reason of the problem.
If I will change in DbProviders.cs Initialize()
_templateConnectionIsICloneable = _templateConnection is ICloneable
to
_templateConnectionIsICloneable = false
It's working fine without any problems.
Is there any 'switch' or something to setup this value to false from config files?
试着改了一下Source,重新编译DLL,连接成功.
做此文,以警后人.
老是报connectionString不正确.
后来在官方MailingList里边找了一个方法:
I tested it one more time and I think that I found the reason of the problem.
If I will change in DbProviders.cs Initialize()
_templateConnectionIsICloneable = _templateConnection is ICloneable
to
_templateConnectionIsICloneable = false
It's working fine without any problems.
Is there any 'switch' or something to setup this value to false from config files?
试着改了一下Source,重新编译DLL,连接成功.
做此文,以警后人.