用entity framework 搭建的一个windows 程序,在vs中用oracle 的ODT 工具连接oracle数据库,昨天发布后出现下面一个错误, System.ArgumentException: The specified store provider cannot be found in the configuration, or is not valid. ---> System.ArgumentException: Unable to find the requested…
 1:Framework连接oracle数据库时出现下面错误信息 环境: win2008R2 cognos10.2.1, 服务器上已经安装oracle11.2 content manager连接的也是oracle,cognos是64位,oracle也是64位的 解答: framework 必须是32位的oracle客户端,且版本需和服务端oracle版本一致.  字符集为utf-8的 @曼谷-Sam [已解决]求教:Cognos64bit连接Oracle64bit时,新建数据源报错,提示 “or…
今天新装的SQLSERVER 2012 EXPRESS 用于客户端程序 安装完成后打开登陆SQLSERVER 一切正常 当查看表定义.视图结构时,弹出一下内容 Unable to find the requested .Net Framework Data Provider.  It may not be installed. (System.Data) 初步判定是 .net Framework版本问题 升级.net Framework 4.0 提示系统已经使用当前或更新版本 下载.net Fr…
在使用robot framework的关键字Connect to Database Using Custom params连接Oracle数据库: Connect to Database Using Custom params cx_Oracle 'username','password','host' 报错 ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA 解决方法: 在host后加上所连接数据库的库名…
arcgis连接oracle数据库发布服务时候,分析之后提示:数据未注册到服务器上. 手动注册之后提示:数据客户端没有正确配置.实际上数据库客户端已经安装完成也可以使用. 设置 PATH 环境变量(仅限 Windows) 如果  ArcGIS Server 和 ArcGIS Desktop 安装在同一台 Windows 计算机上,则将 PATH 变量设置为先读取 64 位客户端,后读取 32 位客户端.例如,如果 32 位 Oracle Instant Client 安装在 c:\Program…
  Registering DbProviderFactories Each .NET Framework data provider that supports a factory-based class registers configuration information in the DbProviderFactories section of the machine.config file on the local computer. The following configurati…
需要安装 mysql-connector-net-6.7.4.msi 在C盘安装mysql的位置找到三个DLL,复制到Bin文件夹下 在Web.config文件中添加对应配置: <system.data> <DbProviderFactories> <remove invariant="MySql.Data.MySqlClient" /> <add name="MySQL Data Provider" invariant=&…
打印查询结果,中文显示为了??? [('72H FCR', '2.0'), ('?????', '8.0')] E:\Python35\Lib\site-packages中新增文件: sitecustomize.py import os os.environ['NLS_LANG'] = 'SIMPLIFIED CHINESE_CHINA.UTF8'…
换了个系统后发现VS2010和VS2012都有同样问题,在SQL EXPLORER 里连不上SQL Server,这也导致了打不开 dbml文件,会报错: The operation could not be completed. The parameter is incorrect. 可是program运行却是没有问题的.下面是一些解决思路 1.有人建议覆盖Framework\v.4.0.30319下面machine.config的DbProviderFactories http://soci…
废话不多说直接正题: 首先我们先在Oracle数据库下建了一个用户叫做lisi,密码为lisi,在这个用户下建立一张表叫做“USERS”,在这个表下新增三个数据. 方式一:利用OleDb连接Oracle. #region 使用OleDb方式 Console.WriteLine("OleDb方式"); OleDbConnection oledbConnection = new OleDbConnection("Provider=OraOLEDB.Oracle; Data Sou…