How does Powerbuilder 6.5.1 talk to SQL Server 2005

I am new to sql server 2005 having just acquired the product 11/4/2008. I am not new to Powerbuilder 4.0/6.0/6.5.1 having written a large integrated system for multiple users over the last 15 years. But I cannot get Powerbuilder 6.5.1 to connect to an sql 2005 database. Do I need different ODBC drivers to do this? Is there some quick setting with sql server 2005 that allows backward compatibility to older programming structures? If anyone knows how to do this I would greatly appreciate the help. Reply here of email to

Thank you GREATLY!

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mohamed OsamaSenior IT ConsultantCommented:
I am almost sure it is not compatible, we had a suite of vendor packages built on PB 6.x and the vendor had to upgrade to PB 11 in order to get them to work with SQL 2005 , since we had a mandatory upgrade to SQL 2005 , during this project, I was informed that PB 10 should work with SQL 2005 , but they went directly to 11 to ensure future compatability with other products (e.g SQL server 2008) .
Actually PB 6.5 just needs the file ntwdblib.dll to connect to SQL2005.

However, ntwdblib is not part of SQL2005 client installation (it is part of SQL2000 client installation). So just download this file and copy it to system32 and PB 6.5 should be able to connect to the SQL Server 2005.

If you have an existing machine installed with SQL2000 you can copy the file from that machine's system32.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.