窗口7中的Access 2003连接64位 [英] Access 2003 connection in window 7 64 bit

查看:113
本文介绍了窗口7中的Access 2003连接64位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序。它是使用 microsoft access 2003 数据库在vb.net中创建的。我进行设置并尝试将其安装在窗口7 64 bi t。安装成功但未发生数据库连接。

下面给出错误。







例外文字************** 
System.Runtime.InteropServices.COMException(0x800A0E7A):找不到提供程序。它可能没有正确安装。
at ADODB.ConnectionClass.Open(String ConnectionString,String UserID,String Password,Int32 Options)
at JyothiInventory.MainForm.MainForm_Load(Object sender,EventArgs e)
at System.EventHandler.Invoke (Object sender,EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System。 Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
在System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)


**************已加载的装配**************
mscorlib
装配版本:2.0 .0.0
Win32版本:2.0.50727.5420(Win7SP1.050727-5400)
CodeBase:file:/// C:/Windows/Microsoft.NET/Fra mework64 / v2.0.50727 / mscorlib.dll
------------------------------------- ---
JyothiInventory
汇编版本:1.0.0.0
Win32版本:1.0.0.0
CodeBase:file:/// C:/ Program%20Files%20(x86) /Diamond%20Computers/JyothiIMS/JyothiInventory.exe
------------------------------------ ----
Microsoft.VisualBasic
汇编版本:8.0.0.0
Win32版本:8.0.50727.5420(Win7SP1.050727-5400)
CodeBase:file:/// C :/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
------------------------ ----------------
系统
汇编版本:2.0.0.0
Win32版本:2.0.50727.5420(Win7SP1.050727-5400)
CodeBase:file:/// C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
------------------ ----------------------
System.Windows.Forms
汇编版本:2.0.0.0
Win32版本:2.0。 50727.5420(Win7SP1.050727-5400)
CodeBase:file:/// C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
------------ ----------------------------
System.Drawing
汇编版本:2.0.0.0
Win32版本:2.0.50727.5420(Win7SP1.050727-5400)
CodeBase:file:/// C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
汇编版本:2.0.0.0
Win32版本:2.0.50727.5420(Win7SP1.050727-5400)
CodeBase:file:/// C:/Windows/assembly/GAC_MSIL/System.Runtime。 Remoting / 2.0.0.0__b77a5c561934e089 / System.Runtime.Remoting.dll
-------------------------------- --------
ADODB
汇编版本:7.0.3300.0
Win32版本:7.10.2346
CodeBase:file:/// C:/ Windows / assembly /GAC/ADODB/7.0.3300.0__b03f5f7f11d50a3a/ADODB.dll
--------------------------------- -------
System.Xml
A ssembly版本:2.0.0.0
Win32版本:2.0.50727.5420(Win7SP1.050727-5400)
CodeBase:file:/// C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0 __b77a5c561934e089 / System.Xml.dll
--------------------------------------- -

************** JIT调试**************
启用及时(JIT)调试,此
应用程序或计算机(machine.config)的.config文件必须在system.windows.forms部分中设置
jitDebugging值。
应用程序也必须在启用调试
的情况下编译。

例如:

< configuration>
< system.windows.forms jitDebugging =true/>
< / configuration>

启用JIT调试后,任何未处理的异常
将被发送到计算机
上注册的JIT调试器,而不是由此对话框处理。





有什么解决方案吗?

解决方案

正如错误所说,你需要供应商。尝试安装它并再试一次(它是2007版但与2003兼容):

http://www.microsoft.com/en-us/download/confirmation.aspx?id=23734 [ ^ ]



祝你好运!


在平台目标中构建你的应用程序选择X86选项



并将水晶报告s / w复制到系统wow文件夹

1。转到C:\ WINDOWS \ systemWOW文件夹。

2.双击odbcad32.exe

3.单击添加按钮。选择Microsoft.mdb文件。点击完成。

4.提供数据源名称。单击选择,浏览已安装软件的驱动器并选择数据库。

5.单击高级按钮。提供登录名和密码。点击确定按钮。



尝试这个陡峭的让我知道


I have one application.which is made in vb.net using microsoft access 2003 database. i make setup and try to install it in window 7 64 bit .it install successful but database connection not occurred.
it given below error.



 Exception Text **************
System.Runtime.InteropServices.COMException (0x800A0E7A): Provider cannot be found. It may not be properly installed.
   at ADODB.ConnectionClass.Open(String ConnectionString, String UserID, String Password, Int32 Options)
   at JyothiInventory.MainForm.MainForm_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
JyothiInventory
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Diamond%20Computers/JyothiIMS/JyothiInventory.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
ADODB
    Assembly Version: 7.0.3300.0
    Win32 Version: 7.10.2346
    CodeBase: file:///C:/Windows/assembly/GAC/ADODB/7.0.3300.0__b03f5f7f11d50a3a/ADODB.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



there are any solution for it ?

解决方案

As the error says, you need the provider. Try installing this and have another try (it is the 2007 version but compatible with 2003):
http://www.microsoft.com/en-us/download/confirmation.aspx?id=23734[^]

Good luck!


Build u r application in platform target select X86 option

and copy crystal report s/w to system wow folder


1. Go to C:\WINDOWS\systemWOW folder.
2. Double click on the odbcad32.exe
3. Click on the add button. Select Microsoft.mdb file. Click on finish.
4. Give data source name. Click on select, browse the drive in which software has been installed and select database.
5. Click on advance button. Give login name and password. Click OK button.

try this steeps and let me kw


这篇关于窗口7中的Access 2003连接64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆