Solved

DBMS not supported

Posted on 1998-06-04
6
6,271 Views
Last Modified: 2009-12-16
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.  
0
Comment
Question by:yingchunli
6 Comments
 
LVL 2

Expert Comment

by:Ezhil
ID: 1025565
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
 

Author Comment

by:yingchunli
ID: 1025566
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
 
LVL 1

Expert Comment

by:lekshmikr
ID: 1025567
Check your database profile settings at design  time and
your
profile settings in your script.

0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:yingchunli
ID: 1025568
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
 
LVL 2

Accepted Solution

by:
Ezhil earned 50 total points
ID: 1025569
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
 
LVL 2

Expert Comment

by:kendalltech
ID: 32792451
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Fixing Non-Standard characters in text 8 111
Write Caching in the Cloud for VFP9 16 123
Process mapping 5 62
SQL SELECT query help 7 56
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question