养生 装修 购物 美食 感冒 便秘 营销 加盟 小吃 火锅 管理 创业 搭配 减肥 培训 旅游

PB错误unable to load the requested database

时间:2024-10-13 07:22:11

PowerBuilder经典错误unabletoloadthere孥恶膈茯questeddatabaseinterface,Pleasem锾攒揉敫akesureboththeinterfaceandclientsoftwareareproperlyinstalled。经过笔者亲测可用的解决方案如下:

PB错误unable to load the requested database

工具/原料

pb9.0版本

方法/步骤

1、PB中连接数据库,或者打开数据库画板连接microsoftsqlserver的时候会出现上图中的错误。我们继续操作

PB错误unable to load the requested database

2、选择microsoftsqlserver连接,并点击new

PB错误unable to load the requested database

PB错误unable to load the requested database

3、点击完之后,没有弹出墙绅褡孛数据库脚本设置窗口,最下面出现相关提示:unabletoloadtherequ髫潋啜缅esteddatabaseinterface,Pleasemakesureboththeinterfaceandclientsoftwareareproperlyinstalled。

PB错误unable to load the requested database

4、后来查阅资料,发现是少了名为ntwdblib.dll的SQL专用库文件,这个文件可以在网上下载得到,分为32位和64位,根据自己的操作系统来选择,这里比着的是64位的Win-10系统

PB错误unable to load the requested database

5、查看DLL的详细信息,可以看到是microsoftsqlserver的库文件

PB错误unable to load the requested database

6、如果系统是WindowsXP/WIN7/Vista的32位系统,将ntwdblib.dll复制到C:\Windows\System32目录下。如果系统是WIN7/win8.1/win10的64位系统,请将文件复制到C:\Windows\SysWOW64目录。

PB错误unable to load the requested database

7、再来测试,我们可以看到顺利弹出数据库设置窗口了

PB错误unable to load the requested database

© 一点知识