提供程序未在本地计算机MS Access上注册 [英] Provider is Not Registered on the Local Machine MS Access

查看:60
本文介绍了提供程序未在本地计算机MS Access上注册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的

我使用的是Asp.net和c#。当我上传MS Access数据库程序时,出现错误,如提供程序未在本地计算机上注册。请注意,在32位系统工作pakka。

但64x位,上面的错误显示。



我已应用代码:< pre lang =cs> String connectionString = @ Provider = Microsoft.ACE.OLEDB.12.0;
+ @ Data Source = + Server.MapPath(路径);





请帮助我......





紧急



谢谢



王子

解决方案

您好,



对于x64 OS Machine,您可以下载微软Access数据库引擎2010可再发行组件。您可以使用以下连接字符串之一与此驱动程序。

  ODBC   -  Driver = {{Microsoft Access Driver(* .mdb, * .accdb)}}; Dbq = YOUR_MDB_FILE_FULL PATH_AND_NAME; Uid = Admin; Pwd =; 

OleDb - 提供商= Microsoft Office 12.0 Access数据库引擎OLE DB提供商;数据源= YOUR_MDB_FILE_FULL PATH_AND_NAME;用户ID = admin;密码=;



问候,


Dear
I am using Asp.net and c#. When i upload a MS Access db to program the error occurs like "Provider is Not Registered on the Local Machine". Please note that in 32 bit system working pakka.
but in 64x bit, the above error shows.

I have applied code:

String connectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;"
             + @"Data Source=" + Server.MapPath(Path );



Please help me...


Urgent

Thanks

Prince

解决方案

Hello,

For x64 OS Machine you can download Microsoft Access Database Engine 2010 Redistributable. You can use one of the following connections strings with this driver.

ODBC - Driver={{Microsoft Access Driver (*.mdb, *.accdb)}};Dbq=YOUR_MDB_FILE_FULL PATH_AND_NAME;Uid=Admin;Pwd=;

OleDb - Provider=Microsoft Office 12.0 Access Database Engine OLE DB Provider;Data Source=YOUR_MDB_FILE_FULL PATH_AND_NAME;User Id=admin;Password=;


Regards,


这篇关于提供程序未在本地计算机MS Access上注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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