无法在Windows Server 2012(64位)上连接访问数据库 [英] Unable to connect access database on Windows server 2012(64 bit)

查看:558
本文介绍了无法在Windows Server 2012(64位)上连接访问数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用访问数据库的站点。它在本地计算机上正常运行(32位Windows 7)。当我在Windows服务器2012(64位)上发布它时,它在连接到数据库时给出了错误对象引用没有设置。我也用谷歌搜索了这个错误。

尝试了以下内容..

i32中的Enable32biton64bit =true。

执行C :\ Windows \ SysWOW64 \odbcad32.exe也。但是仍然会出现错误。

为什么会这样?如何逐步删除此错误?帮助我......我被困了。





提前感谢..

解决方案

尝试调试发布代码。

以下是链接,了解如何使用。

I have a site which is using access database.It runs properly on local machine(32 bit windows 7).When i publish it on Windows server 2012(64 bit) it gives me error while connecting to database "Object reference not set".Also i have googled for this error.
Tried the following..
Enable32biton64bit ="true" in iis.
executed C:\Windows\SysWOW64\odbcad32.exe also.But error still occurs.
Why so?How to remove this error step by step?Help me..I am stuck.


thanks in advance..

解决方案

Try debugging of publish code.
Here is the Link for how to.


这篇关于无法在Windows Server 2012(64位)上连接访问数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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