尝试为网格视图“选择数据源”时出错 [英] Getting error while trying to “choosedata source” for grid view

查看:57
本文介绍了尝试为网格视图“选择数据源”时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

2天前,我正在尝试从我的PC上卸载Oracle数据库。然后我完全卸载了Oracle,然后重新安装它。



无法检索此表的架构。请确保连接设置正确且数据库正确在线。



无法加载文件或程序集'System.Data.Client.OracleClient,Version = 4.0.0.0,Culture = neutral,PublickeyToken = b77a5c561934e089'或者一个它的依赖关系,

系统无法提交指定的文件。



请尽快回复我。



我的尝试:



不知道该怎么办。将目标框架从4.5更改为4.0

2 days ago, I am trying to uninstalled Oracle Database from my PC. then i uninstalled Oracle completely and then re-installed it.

"schema could not be retrieved for this table. Please make sure the connection setting are correct and that the database is online.

Could not load file or assembly 'System.Data.Client.OracleClient, Version=4.0.0.0, Culture=neutral, PublickeyToken=b77a5c561934e089' or one of its dependencies,
The system cannot file the specified."

Please reply me as soon as possible.

What I have tried:

don't know what to do. changed Target framework from 4.5 to 4.0

推荐答案

最有可能的是,由于您重新安装了Oracle,您需要引用的DLL版本已经更改并且参考在您的项目中仍然指向旧版本。删除引用并添加一个新引用。
Most likely, because of your re-installation of Oracle, the version of the DLL you need to reference has changed and the reference in your project(s) still points to the old version. Remove the reference and add a new one.


这篇关于尝试为网格视图“选择数据源”时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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