Question

How to I access a Progress Database using OpenEdge tools?

Asked by: adexio

Hello,
I want to migrate data from a Progress database to an MSSQL 2005 database, but I am having trouble getting access to the data. I have no previous experience with Progress or Open Edge products.

The server hosting the progress database appears to have a number of OpenEdge tools installed, including a 'progress explorer tool' and 'SQL Explorer tool'. My hope was to use the SQL Explorer tool to execute select statements against the database.

The Progress Explorer tool lets me 'connect' to the local Progress server and lists two databases. When I enter the same details used to connect to the Progress Explorer application:
Machine name (localhost), port number (20931), database (as appears in the Progress Explorer tool) into the SQL Explorer Tool I get the error:

Error: [JDBC OpenEdge Driver]:Server did not respond. (8933)

The SQL Explorer generates a connection string. It looks like this:
jdbc:jdbcprogress:T:localhost:20931:ServicePRO_Live

Can anyone suggest a method I can use to retrieve the correct connection details for this Progress database, or perhaps another method I can use to connect to the database and execute SQL commands against it.

The company who built the application that uses the Progress database will not provide any details about it how it is installed or managed.

The version information is:

       Product Name      : Progress
       Install Path      : C:\Progress\OpenEdge
       Version      : 10.0B
       Service Pack      : 05
       Temp. Fix      : 00
       Build            : 1475

Many thanks in advance!

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-03-01 at 19:45:49ID24188956
Tags

Progress Database

,

OpenEdge

,

Progress

Topic

4GL Databases

Participating Experts
2
Points
300
Comments
9

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. JDBC
    1) I inserted a record into a table. The only key of the table is an auto-increment number. How can I get the key of the just added record? Now, I use a transaction of two queries to achive the goal: a) insert the row b) select the max auto number Are there other w...
  2. JDBC with Progress Database cando function and Prepared…
    Hi all I am working with a progress Database with a JDBC call using a prepared Statement. When I try to use the cando function in my prepared statement I get the error "Invalid Dynamic Parameter". I am guessing that this is either a driver issue or a JDBC issue. ...
  3. Progress translation
    Hello experts: I have question about Progress. We use in our company Vanatage ERP system. Right now we use version 6 but we are going to update to version 10. We have a lot of reports prepared in progress report builder v.9.1. Is possible somehow transfer these reports st...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: FGomez02Posted on 2009-03-02 at 03:43:52ID: 23773218

If you want to access the database, you can try creating an ODBC connection, but you need to have the ODBC Merant driver to access it.

Try running "odbcad32" and the run prompt and see if you have the driver, also you'll need the connection details (name of database, port, username, password).

FerGo

 

by: adexioPosted on 2009-03-02 at 17:12:57ID: 23780114

I have been trying to use the "DataDirect 4.20 32-Bit OpenEdge SQL v10.0B driver" that appears to have been installed with the database. Is this comparable to the 'Merant' driver you mention? I've seen reference to the Merant driver in my googleing but it is usually related to v8 and v9 databases.

What I think would be really useful would be to know if there are conventions used by Progress databases. Do they run on a default port for example? Can you use 'localhost' as the host name, or do you have to be more specific? If the Merant driver is freely available and will facilitate an ODBC connection to a 10.0B database in a way that the DataDirect 4.20 32-Bit OpenEdge SQL v10.0B driver isn't right now, then that would be great.

 

by: FGomez02Posted on 2009-03-02 at 18:55:23ID: 23780545

Yep, you're right Merant references to older versions, the port is configurable on setup, so there'snt a default port. 'localhost' can be used as host name (if you're database is on local machine). Once you setuo your odbc connection you can use a software to browse through odbc connection, I use AQT from www.aqt.com is very easy to use.

Hope helps.

 

by: FGomez02Posted on 2009-03-02 at 18:57:51ID: 23780558

Sorry the link is: www.querytool.com

 

by: adexioPosted on 2009-03-02 at 19:04:56ID: 23780582

AQT has been suggested before and looks pretty useful thanks. That's some solid advice on the default parameters as well. My last issue is that the "DataDirect 4.20 32-Bit OpenEdge SQL v10.0B driver" listed under ODBC may not actually be useful when connecting to the database. What it is actually used for I don't know!

It looks like I may have a method to contact the company that built the app that uses the database now - ServicePRO. If I can get the connection conventions I will post them here for thorougness before I close the question.

 

by: FGomez02Posted on 2009-03-02 at 19:07:24ID: 23780596

Look in folder c:\windows\system32\drivers\etc for the file services, look there if the database information (name of database and port) isn't there... may helps to create your odbc connection.

 

by: adexioPosted on 2009-03-21 at 18:16:57ID: 23949744

Progress have a great knowledge base at www.progress.com under the 'support' tab on thier menu bar. You can select a product from the menu and run some fairly powerful searches. Great content.

More specific to this problem:
There is a log file in the same directory as the database that contains the connection perameters for the database. It has the extension .lg and the items -S and -H signify the host name and port number of the database.

The openedge database management tools that can be used to perform a great number of administrative functions are accessable on a diffrent port to any actual databases installed by the look of it. Some tool ask you to browse to the physical database location instead. I had no trouble accessing the admin tools, but non of them allow me to pull actual data from the database.

The SQL explorer and ODBC driver that have been installed with the database are basic enough, but I just cannot connect without errors.

If all the connection parameters are corrrect I get the following:

[DataDirect][ODBC OPENEDGE driver][OPENEDGE]Exceeding permissible number of connections

But that is moving away from the scope of this question. The knowledge base has a lot of info on this error but it none of it appears to be specific to my issue.

 

by: progressorPosted on 2009-03-23 at 01:42:13ID: 23955581

[quote]
If all the connection parameters are corrrect I get the following:
[DataDirect][ODBC OPENEDGE driver][OPENEDGE]Exceeding permissible number of connections
[/quote]

That means that you have no 'room' to spwanr a _sqlsrv2 process. In order to overcome this, you need to configure a secondary sql broker. Look at KB P7843 ofr the setup of the broker:
http://progress.atgnow.com/esprogress/Group.jsp?bgroup=progress&id=P7843

look at KB 20415 for some explanation regading the error you get:
http://progress.atgnow.com/esprogress/Group.jsp?bgroup=progress&id=P20415

Casper.

 

by: adexioPosted on 2009-04-25 at 19:45:35ID: 24234413

All the advice provided in this post is correct. I actually abandoned my attempts to access the database in the end, but I'll summarise what I found along the way.

If you want to access data in a progress database using and ODBC type connection you can, but there is a lot of information you'll need to find first.

First you'll need a driver installed. For earlier versions of the progress there is the 'Merant' driver. For later versions there is an 'OpenEdge driver'. If these are installed they will be visible in the Microsoft Administrative Tools --> Data Sources --> Drivers list.

Sometimes the progress database is installed with a number of administrative tools including an SQL browser tool. This appears to use a JDBC driver that shares the same connection parameters as the ODBC connection, so if you want to browse or execute SQL statements against the database you can use either. You'll need to configure the bits and pieces for either.

The connection \ login details for the administrative tools (username \ password \ servername \ portnumber) are not the same as those required to access the actual data.

A Progress database can be started in a number of ways - it can be scheduled to run (like a standard executable) at startup, as a service, or on demand when a user tries to access it. The connection \ login details will be stored in different locations depending on the startup type. You should always be able to get the connection details from the log though.

The log file will often be in the same directory as the database file(s) with the extension .lg. The master database file has the extension .db. If you are looking to get a copy of the database you'll want to copy the entire directory.

The -S and -H lines in the log signify the host name and port number of the database. Look for them at the point where the database was last started.

When connecting via an odbc or JDBC connection, the database will need to be running and you will count as a user. There may be a limited number of connections allowed to connect through a database broker at any given time. The error I receive was simply because all of the allowable connections were in use. If you cannot connect using the details provided (and your not just being told that your credentials are incorrect) then make sure the DB is started (Check the log is the easiest way), boot a current user, or start another broker using the advice provided by 'Progressor' above.

There will probably be 2 or more database users setup. The vendor that supplied the database should be obliged to provide you with the connection details for usrers they have created. If you log in as the database 'owner' you may find may have the ability to view the names, sizes, details, schema, etc. for every table in the database. But you can only view data in the system tables - the application tables may still be restricted. If this is the case then at least as the administrator you will be able to retrieve a list of of other users form the system tables. You can then execute a statement or script to reset the password for these users and access the data under their logins. Contact progress, the software \ DB vendor, or consult the knowledge base. I did not go down this path.

Hope this helps any other Progress novices out there.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...