如题,在用ODBC, dbase 读取DBF文件时,本机能读取出来。在其他机器上就报外部数据库驱动程序(8458)错误。
东西都装了,数据源也有了,数据源都重装好几次了,就是有这问题。
请各位大侠帮忙,问题解决了直接加分一定追加到150分。。
东西都装了,数据源也有了,数据源都重装好几次了,就是有这问题。
请各位大侠帮忙,问题解决了直接加分一定追加到150分。。
解决方案 »
- C#调用C++写的DLL,有两个函数,一个返回值是SOCKET,一个输入参数是SOCKET
- 用WinForm与Access做的一个简单的通讯录
- 各位高手帮忙看一下我网站的问题……
- girdView 的页头怎么改成中文
- 如何:在未知类名的情况下 创建类的实例 (很矛盾的题目- -!)
- PocketPC2003下如何获取当前程序的运行路径
- 怎么实现 让窗体的空间能按比例的随着窗体大小改变???
- 如何获得某一文本文件中项的个数?
- textbox的text绑定到表的某一字段后显示的是第一记录的内容,怎样依次显示所有记录?
- 如何设置可以实现自动下载web服务器上的一个exe文件至本地
- 怎么在一个C#应用程序中打开媒体播放器并播放音乐呢
- 画折线设计问题
一是ODBC驱动程序有异常,需要重新安装相应的ODBC驱动程序
二是权限问题我在数据库开发时,也是用ODBC接口访问后台数据库,出现问题基本上也就是上面二种可能
期待解决
你添加测试了吗?如果在ODBC数据源管理器里添加了,测试了,提示是成功应该就不会有问题最重要的时你添加了吗?你测试了吗?测试的结果是什么
我的系统是win7 正版我安装的是 visual2008 RTM 版本.
用VB.NET 写了一个CS程序,其中有一个将数据生成 aaa.dbf 文件到 C: 盘结果出现错误如下:ERROR [HY000] [Microsoft][ODBC dBase 驱动程序] Microsoft Jet 数据库引擎打不开文件.
。它已经被别的用户以独占方式打开,或没有查看数据和权限。可是,就是我自已的电脑,刚刚编译完的。没有其它人用。
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。************** 异常文本 **************
System.Data.Odbc.OdbcException: ERROR [HY000] [Microsoft][ODBC dBase 驱动程序] Microsoft Jet 数据库引擎打不开文件''。 它已经被别的用户以独占方式打开,或没有查看数据的权限。
在 System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
在 System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
在 System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
在 System.Data.Odbc.OdbcCommand.ExecuteNonQuery()
在 jmglexe.MouldbarcodePrint.Button2_Click(Object sender, EventArgs e) 位置 D:\scgl\scglexe\barcodePrint.vb:行号 139
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
在 System.Windows.Forms.Button.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4952 (win7RTMGDR.050727-4900)
基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
jmglexe
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///D:/Tmp_Mouldgl211_GX2008_20100925/jmglexe/jmglexe/bin/Release/jmglexe.exe
----------------------------------------
System.Windows.Forms
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
程序集版本: 8.0.0.0
Win32 版本: 8.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Configuration
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
mscorlib.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4952 (win7RTMGDR.050727-4900)
基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Transactions
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Windows.Forms.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Microsoft.ReportViewer.WinForms
程序集版本: 9.0.0.0
Win32 版本: 9.0.21022.8
基本代码: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.ReportViewer.WinForms/9.0.0.0__b03f5f7f11d50a3a/Microsoft.ReportViewer.WinForms.dll
----------------------------------------
Microsoft.ReportViewer.Common
程序集版本: 9.0.0.0
Win32 版本: 9.0.21022.8
基本代码: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.ReportViewer.Common/9.0.0.0__b03f5f7f11d50a3a/Microsoft.ReportViewer.Common.dll
----------------------------------------
System.Web.Services
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
System.Web
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4955 (win7RTMGDR.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.ReportViewer.ProcessingObjectModel
程序集版本: 9.0.0.0
Win32 版本: 9.0.21022.8
基本代码: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.ReportViewer.ProcessingObjectModel/9.0.0.0__b03f5f7f11d50a3a/Microsoft.ReportViewer.ProcessingObjectModel.dll
----------------------------------------
System.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.resources.dll
----------------------------------------
expression_host_882efce7040246afa2769119618f37e6
程序集版本: 10.8.21022.8
Win32 版本: 9.0.21022.8
基本代码: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.ReportViewer.Common/9.0.0.0__b03f5f7f11d50a3a/Microsoft.ReportViewer.Common.dll
----------------------------------------
System.Data.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Data.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Data.resources.dll
----------------------------------------************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。