Consultor Eletrônico



Kbase 15024: S/E 44 3206 "DB wrong version"- Understanding NT environment
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/22/2000
S/E 44 3206 "DB wrong version"- Understanding NT environment


The PROGRESS NT server is based on a 32-bit architecture
and a 4K database block size. Before version 8.2 there are no PROGRESS 32-bit clients, only 16-bit clients. Therefore, the only
way to access the NT database is in client/server mode via
the NT database server using the network connection
parameters with both the server and client.

The PROGRESS utilities (prodb, proutil, etc.) on the NT
server are 32-bit based commands, and are to be used when
creating, copying, and performing maintenance such as index
builds on your V7 NT database(s).

In addition to these 32-bit based utilities, the NT Server
product also comes with a 16-bit based PROGRESS client and
accompanying Administrative options (PROGRESS Client icon
and ADMIN menu). It is extremely important to note that
the utilities mentioned in the previous paragraph are
32-bit based (written to work against a 4K database block
size), while the Administrative options are 16-bit based
(written to work against a 512 block size DOS/Windows
database), which is why NT database administration needs to
be done through the NT database server.

In addition to data administration, the 16-bit client is
provided for convenience for testing purposes, etc.,
in the event your 16-bit remote client is not yet
available. Because you must access the NT database
in client/server mode, you must start the NT server
and client sessions with the network connection
parameters (-H, -S and -N) to force a local loopback
client/server connection even though both products reside
on the same machine. Again, you cannot use the ADMIN menu
options in single user mode on the NT database. You may
need to edit the properties of the ADMIN CLIENT Icon to
include the needed network connection parameters.

As an example, this is the server and client startup
for a true client/server session for a windows client.
Note that if the -N parameter is not used, it defaults
to NETBIOS.

Server: proserve -db dbname -S service
Client: prowin -db dbname -S service

If you are connecting to the NT database using the 16-bit
client that comes with the NT server, then you will need
to edit the properties of the Admin icon to include the
appropriate network connection parameters.

To create an NT database, run the prodb command to create
an empty Database or a copy of the sports Database. For more
information, please see page 3-7 of the NT Installation
Guide (Section "Creating a Version 7 Database"). There
is also additional information in the readme.pro file
that is included with the installation.

How will you know if you are using the NT Server correctly?
If you mix up your 32-bit database with 16-bit based
utilities or vice versa, PROGRESS will let you know by
issuing a System Error (44) "Database is wrong version
number". You can get this error at least three ways:

1) Using the ADMIN menu options (16-bit based) against an
NT database (32-bit)

2) Using the NT Server (32-bit) with a 16-bit database
for example, Version 6 or non-NT Version 7).

3) Using the wrong proutil executable against a database
(V6 or V7). For example, you install a PROVISION CP
(16-bit) and an NT Server both on the NT system, and
your environment variables are not properly set to
distinguish between the 16-bit proutil and the 32-bit
proutil.

For more information about your NT Server, and the needed
network connections, please consult your NT Installation
Guide and the readme.pro, and your PROGRESS Manuals - in
particular, the System Administration Guide and the
Networks Guide.


Progress Software Technical Support Note # 15024