WCF内置32位,并希望在64位上运行 [英] WCF build in 32 bit and want to run on 64 bit

查看:346
本文介绍了WCF内置32位,并希望在64位上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在与wcf一起使用,该服务基于32位os config构建,并将正确发布,但是当我将该应用程序部署到生产服务器64位时,它将给我错误

Microsoft.Jet.OLEDB.4.0提供程序未在本地计算机上注册
请向我提供sol是wcf的新手




在此先感谢

Hi i am working with wcf that service is build on 32 bit os config and will properly published but when i will deploy that app into production server 64 bit it will give me error

The Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine
please providse me sol am new to wcf




Thanks in Advance

推荐答案

帕拉维,

请在代码项目中浏览此线程
32位程序在64位上

试试吧.它将对您有帮助.

问候
AR
Hi Pallavi,

Please go through with this thread on code project
32-Bit program on 64-bit

try it. It will help you.

Regards
AR


您所描述的行为是预期的.如果您的应用程序以64位模式运行,则它使用的所有组件也必须为64位.没有64位Jet OLE DB提供程序,因此您得到描述的消息.如果没有指定的OLE DB提供程序或ODBC驱动程序的64位版本,则尝试使用OLE DB或ODBC连接到数据库时,您会收到类似的错误.

仅在以64位模式运行的应用程序中会出现此问题.当前最好的解决方案是编译应用程序,使其仅在32位模式下运行.
有关更多信息,请阅读
Win XP X64 Jet V4.0 [ ^ ]
The behavior you described is expected. If your application runs in 64-bit mode, all of the components it uses must also be 64-bit. There is no 64-bit Jet OLE DB Provider, so you get the message described. You would receive a similar error when trying to connect to a database using OLE DB or ODBC if there is no 64-bit version of the specified OLE DB provider or ODBC driver.

This problem only occurs in applications that run in 64-bit mode. Compiling the application so it runs only in 32-bit mode is the best current solution.
for more information please read
Win XP X64 Jet V4.0 [^]


这篇关于WCF内置32位,并希望在64位上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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