关于Oledb的方式连接Oracle的问题

TNight 2012-10-30 04:54:26
目前Oledb连接Oralce的程序 在32的电脑上能够正常使用,但是一旦移植到64为电脑上则会一直报错
System.InvalidOperationException: 未在本地计算机上注册“OraOLEDB.Oracle.1”提供程序。

这个问题我碰到过好几次了,大家有没碰到过,

目前我把那个Oracle注册程序放到64位机器上一管理员身份运行了也没用

求一解决办法
...全文
276 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
TNight 2012-10-30
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 的回复:]

你下载64bit试试
Oracle Provider for OLE DB
64-bit Oracle Data Access Components (ODAC) for Windows
[/Quote]
注册程序还分32和64位?我把我的注册程序方法放到64位的电脑上也能注册成功的
TNight 2012-10-30
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 的回复:]

1. Open your project in VS.
2. Menu > Project > ... Properties
3. Switch to "Build" card
4. Switch - Platform target to "x86"
5. Ctrl + S

Good luck!
[/Quote]
你的方法,我试过,没用
心灵彩虹 2012-10-30
  • 打赏
  • 举报
回复
1. Open your project in VS.
2. Menu > Project > ... Properties
3. Switch to "Build" card
4. Switch - Platform target to "x86"
5. Ctrl + S

Good luck!


nonocast 2012-10-30
  • 打赏
  • 举报
回复
OLE DB: OLE DB is a comprehensive set of COM interfaces for accessing a diverse range of data in a variety of data stores. OLE DB providers exist for accessing data in databases, file systems, message stores, directory services, workflow, and document stores. OLE DB core services (although not every OLE DB provider) is available on the 64-bit Windows operating system.

Data Access Technologies Road Map

不过怎么说你也都需要用64bit的provider才行吧
TNight 2012-10-30
  • 打赏
  • 举报
回复
。。。

111,093

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • AIGC Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧