Consultor Eletrônico



Kbase P13543: Converting Progress version 8 database with conv89 results in errors.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   07/02/2009
Status: Verified

SYMPTOM(s):

Converting Progress database version with conv89 results in errors.

Can't open db:Unable to complete connection. Function stub_rss_env_t:juMsgProcessInit:reason Unable init message callback for sql server (Error code -210013)

End Conversion of Logical Schema. (6621)

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000
Progress 8.3B
Progress 9.1D

CAUSE:

Bug #20020211-001:
"The V8 database file list never contains an entry for the bi file, so when conv89 is executed, this situation is not rectified (i.e. no attempt it made to create an entry for the missing bi extent) such that when mkschema runs and an attempt to adjust the current size of the bi file is made, the database code traverses the file structure to obtain the information needed to grow an extent. In this case there is none so the attempt to grow the bi file fails, and a message is written to the log file to document this error."

FIX:

It's necessary to create a b1 file and add to the .db file prior to conv89.
While in version 8 as a single volume database:
1. Run proutil dbname -C truncate bi -G 0
2. Run prostrct convert <dbname>
3. Delete <dbname>.bi from multi-volume db files.
4. Run prostrct list <dbname>
5. Edit <dbname>.st
6. Change the lead d to b for the extent type.
7. Change the .d1 to .b1.
8. Save as add.st.
9. Open the add.st file to verify that the extent type is now a b and has the extent .b1
10. Delete <dbname>.st
11. Run prostrct add <dbname> add.st
12. Run dir <dbname>.*
13. If the <dbname>.bi is showing up, delete it...not the <dbname>.b1..be careful.
14. Run prostrct list <dbname>
The new structure file should have a d type and b type extent.

At this point you can move to version 9:
1. Use the proenv icon in the version 9 program group.
2. CD to the location of the version 8 database.
3. Run proutil <dbname> -C conv89.
4. Start the database.