Visual Studio使用VFPOLEDB读取数据,但现在说它没有注册 [英] Visual Studio Was reading data using VFPOLEDB but now says it is not registered

查看:195
本文介绍了Visual Studio使用VFPOLEDB读取数据,但现在说它没有注册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用使用提供的工具构建的连接字符串连接到服务器资源管理器中的一些Foxpro数据库。 连接字符串是'Provider = VFPOLEDB.1; Data Source ='" C:\ Users \Public \Documents\"'。


我可以成功打开并且查询表。


我关闭了visual studio。回来并重新打开Visual Studio并尝试运行更多查询。


尝试使用服务器资源管理器为此连接打开表时,Visual Studio报告VFPOLEDB未在此计算机上注册。 / p>

任何人都知道发生了什么以及如何解决它。


Visual Studio在任务管理器中显示为32位运行。 


这似乎太不稳定了。

解决方案

你好Alexew,


欢迎来到MSDN论坛。


根据您的描述,请按照以下建议检查是否有效:


>>安装  Microsoft用于Visual FoxPro 9.0的OLEDB  


如果已安装,请重新安装。


>>将您的项目平台目标设置为x86


右键单击您的项目>点击道具erties>选择构建>在平台目标中选择x86



如果您有更新的详细信息,请随时与我们联系。 


最好的问候,


迪伦


I was connecting to some Foxpro Databases in the Server Explorer using the connection string built using the tools provided.  The connection string was 'Provider=VFPOLEDB.1;Data Source='"C:\Users\Public\Documents\"'.

I could successfully open and query tables.

I shut down visual studio for a bit. Came back and reopened Visual Studio and tried to run some more queries.

On trying to open a table using Server Explorer for this connection Visual Studio reported that VFPOLEDB was not registered on this machine.

Anyone have any idea what is going on and how to fix it.

Visual Studio shows as running in 32bit in Task Manager. 

This just seems too unstable.

解决方案

Hi Alexew,

Welcome to MSDN Forum.

According to your description, please follow these suggestions to check if it works:

>>install Microsoft OLEDB for Visual FoxPro 9.0 

If you have installed it, please re-install it.

>>set your project platform target to x86

right-click your project >click properties>select build>select x86 in platform target

If you have updated details, please feel free to contact us. 

Best Regards,

Dylan


这篇关于Visual Studio使用VFPOLEDB读取数据,但现在说它没有注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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