DBMS not supported

I have a test program using PowerBuilder 5.0. In the program, I use a datawindow that is connected to
a local database MyDB.db. As I run the program within the PowerBuilder workplace, it is all ok.  But as
I make an executable file and try to run the file, it always returns a "Connot Connect to Database" error
and shows "DBMS is not supported in your current installation".  Can someone shows me what is the
problem and how to solve it?   Thank you.  
yingchunliAsked:
Who is Participating?
 
EzhilCommented:
Don't use typical installation, Go for custom installation , in that select Deployment Kit / ODBC / Select all ODBC Drivers
and PB / ODBC / Select all ODBC Drivers. Then Run your .EXE file.





0
 
EzhilCommented:
To PB executable files you have to install DEPLOYMENT KIT . This is avilable in the SETUP of CD-ROM.

If you are going to run this exe in another system you have to

1.Install PB DEPLOYMENT kit.
2.Copy .EXE , .PBD / .DLL , .DB , .BMP (if they are not added in the .EXE) to that system.
3.Run the .EXE.

Again if it is not working means copy all files from pb5i32dkn to WINDOWS\SYSTEM directory and run your .EXE.

0
 
yingchunliAuthor Commented:
Thank you Ezhil:

I used "typical" installation for the PowerBuilder and the DEPLOYMENT KIT should be installed there already. I have added "pb5i32dkn" to the path in the Autoexec.bat file. So I have no problem with the (some?)  related DLL files.  I cannot undersatnd why the program works OK in the workplace and the executeable file does not.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
lekshmikrCommented:
Check your database profile settings at design  time and
your
profile settings in your script.

0
 
yingchunliAuthor Commented:
I checked the database profile settings and  profile settings(pb.ini) in the script.  I still CANNOT find the problem. It seems to be a system environmental problem. But where is it? How can it works only in the Powerbuilder workplace?  What is wrong with the executable file?  

(the execitable file is generated with the default settings in PowerBuilder, and I am using Windows95.  I have the ODBC drivers installed.)
0
 
Matt KendallTech / Business owner operatorCommented:
Anyone that's having this problem lately with any programs that use powerbuilder, AVG is removing one of the dll files (pbodb90.dll I believe)..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.