IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败
来源:互联网 发布:亚马逊newsql数据库 编辑:程序博客网 时间:2024/05/10 09:36
今天开发的时候操作Access数据库时报这样一个异常:
"IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败 "
执行代码入下:
string strSQL = "SELECT ID,UserID,UserName,Position from Address where ID=" + id;
try
{
DataSet ds = DbHelperOleDb.Query(strSQL);
return ds;
}
catch
{
return null;
}
经检查,发现时关键字冲突所致,将Position改为[Position],问题解决.
- IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败
- IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败
- IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败
- IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败
- IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败
- Access里的Case效果 “IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败!”的解决方法!
- Access里的Case效果 “IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败!”的解决方法!
- 访问Access 数据库 报 “IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败。”
- 查询Access时候,报错误:IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败
- “Windows Media Services服务因2147500037(0x80004005)服务性错误而停止”的解决方法
- No error message available, result code: E_FAIL(0x80004005)
- 虚拟机不能启动,E_FAIL(0x80004005) 错误极其处理
- 64位win7启动VirtualBox出错Error e_fail 0x80004005
- 虚拟机不能启动,E_FAIL(0x80004005) 错误极其处理
- 虚拟机不能启动,E_FAIL(0x80004005) 及其处理
- 未指定的错误(异常来自 HRESULT:0x80004005(E_FAIL))
- VS2010安装因net framework4.0无法安装而失败的解决方法
- 不能为虚拟电脑开一个新任务. No error info. 返回 代码:E_FAIL (0x80004005) 组件:ProgressProxy 界面:IProgre
- 10 Best Open Source ERP Systems
- 第一章:布尔检索模型
- U-BOOT移植——支持Davinci的MMC
- 堆与栈有什么区别?
- Shell脚本学习笔记(二)--变量
- IErrorInfo.GetDescription 因 E_FAIL(0x80004005) 而失败
- U-BOOT配置编译全过程
- mpl
- 我要excel合并专家
- 花样年华
- Linux Kernel and Android休眠与唤醒
- 只读文本框(readonly textbox)不能在客户端修改值原因及解决办法
- stm32 hard fault及堆栈探究
- WebBrowser弹出窗口之(三) – alert( ) / confirm( )