Dot Net problem: Database not connected

Posted by Admin on 03-Jul-2007 08:34

Hi all! I need help really bad. I am unable to access OpenEdge database from .NET.

I am not a Progress developer. My task is to port my company's software to use Openedge database instead of SQL Server. I have a basic understanding of Progress technologies.

Here is the problem. I start the Sports2000 database, AppServer and NameServer from Progress Explorer. Then I build and run a GetCustOrders sample application from Progress\OpenEdge\src\samples\dotnet. When I start GetCustOrders app and click on a button, i get the exception: "ERROR condition: GetCustOrds.p Database sports2000 not connected. (1006) (7211)".

Does anybody have any idea what am I doing wrong?

What steps should i take on the Progress side to start a database, appserver and nameserver (and connnect them)?

Thanks in advance.

Vladimir

All Replies

Posted by kevin_saunders on 03-Jul-2007 10:29

Before starting the AppServer, you need to add the connection to the database. To do this, open the Progress Explorer and in the properties of the AppServer Agent, add the following (in the second box):

-db \sports2000

And it should be fine.

Posted by Admin on 04-Jul-2007 02:25

That's it. It works now. Thanks!

This thread is closed