如何解决“ “VFPOLEDB.1”提供程序未在本地计算机上注册。例外。 [英] How to resolve the " The 'VFPOLEDB.1' provider is not registered on the local machine." exception.

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

问题描述

在Windows应用程序项目中创建mdf文件,

从版本1.0.0.0到6.5.0.0创建mdf文件工作正常,在打开数据库连接时突然出现异常。



'VFPOLEDB.1'提供商未在本地计算机上注册。



项目构建为x86 。



请指导我查看的内容和位置。

解决方案

安装VFP Ole DB Provider在你的系统中?



如果否,请从以下链接安装。



http:// www.microsoft.com/downloads/details.aspx?FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en


您是否将您的APPLICATION-> COMPILE OPTION更改为x86 CPU?


将此行添加到system.web

< identity impersonate =trueusername =DomainName\xxxxxpassword =xxxxx> ;

In windows application project am creating mdf files,
From version 1.0.0.0 to 6.5.0.0 creating mdf files was working fine, suddenly am getting below exception during opening of db connection.

"The 'VFPOLEDB.1' provider is not registered on the local machine."

Project build as x86.

Please guide me what and where to check.

解决方案

Have u Install VFP Ole DB Provider in your System ?

If No then Please Install it from following link.

http://www.microsoft.com/downloads/details.aspx?FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en


do you change your APPLICATION->COMPILE OPTION as x86 CPU ?


add this line to system.web
<identity impersonate="true" username="DomainName\xxxxx" password="xxxxx">


这篇关于如何解决“ “VFPOLEDB.1”提供程序未在本地计算机上注册。例外。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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