我在开发VS2008 连接Oracle10g 时,使用VS自带的Server explore 无法连接数据库,提示要求高于 8.7??的版本。
解决方法安装vs2008 sp1 ,安装后可以看到选择 Oracle Database 就会看到增加了10g。
这是当你下这样的代码
using (TransactionScope Scope = new TransactionScope(TransactionScopeOption.Required))
{
bool blInsertDutyResult = DDA.InsertCalculateDutyResutl(strEntryID, fltTaxValue);
bool blInsertDutyForm = DDA.InsertDutyForm(strEntryID, fltTaxValue);
Scope.Complete();
return blSendMsg && blInsertDutyForm;
}
事务调试时出现了 无法加.d载 DLL“oramtsll”: 找不到指定的模块
解决方法:安装ODAC1117020 ,注意安装后要重启机器。