PDA

View Full Version : Migration problems



ivankaupa
6-Oct-2008, 08:19 PM
Hello,

Great work! I loved the changes.

I test the migration process to VDF 14.1 of some Workspaces and get some
errors.

1) Error 4306 compiling the migrated code.

I got lot off errors 4306 in my .DDs (about 50). A example:

Set Field_Validate_msg Field Produto.Cd_Cliente To get_Validate_CD_Cliente

This line was in the Define_Fields and Define_Field was after the
Validate_CD_Cliente function.

Now, this line was moved to Construct_Object and the Validate_CD_Cliente is
after that. So, I got this error.

2) Unhandled Studio Error if you try to migrate 2 Workspace without close
Studio.

After migrate a Workspace, if I try to migrate another, I got some errors:

C:\Arquivos de programas\Visual DataFlex 14.1\Bin\Studio.exe
Invalid message. GET_PBCHANGED

Error: 98

Please report this error to Data Access Corporation

GET_ISENABLED (8556) - OOBJECT (448) - at address 89252
SET_PBENABLED (1537) - OSAVEITEM (811) - at address 99956
MSG_UPDATEBUTTONS (11471) - OSTANDARDTOOLBAR (808) - at address 99956
MSG_ONIDLE (1564) - OMAIN (579) - at address 172963
MSG_AFTERCLOSEWORKSPACE (11188) - OMAIN (579) - at address 172700
GET_CLOSEWORKSPACE (11436) - OMAIN (579) - at address 97736
MSG_LOADWORKSPACE (11439) - OMAIN (579) - at address 97886
GET_EXECUTE@0 (9518) - OOBJECT (444) - at address 88800
MSG_ONCOMMAND@1 (9535) - OACTIONMANAGER (442) - at address 57842
MSG_REQUESTCOMMAND (11455) - OOPENWORKSPACEITEM (629) - at address 98286
[start] - at address 173351

After click "Ok", another error:

C:\Arquivos de programas\Visual DataFlex 14.1\Bin\Studio.exe
Invalid message. GET_PEVIEWCONTEXT

Error: 98

Please report this error to Data Access Corporation

(-89079) - [global] - at address 89086
GET_PSTOOLTIP (1569) - OOBJECT (448) - at address 89259
SET_PSTOOLTIP (1556) - OSAVEITEM (811) - at address 99957
MSG_UPDATEBUTTONS (11471) - OSTANDARDTOOLBAR (808) - at address 99957
MSG_ONIDLE (1564) - OMAIN (579) - at address 172963
MSG_AFTERCLOSEWORKSPACE (11188) - OMAIN (579) - at address 172700
GET_CLOSEWORKSPACE (11436) - OMAIN (579) - at address 97736
MSG_LOADWORKSPACE (11439) - OMAIN (579) - at address 97886
GET_EXECUTE@0 (9518) - OOBJECT (444) - at address 88800
MSG_ONCOMMAND@1 (9535) - OACTIONMANAGER (442) - at address 57842
MSG_REQUESTCOMMAND (11455) - OOPENWORKSPACEITEM (629) - at address 98286
[start] - at address 173351

And some others like these (need kill Studio process to stop it).

Regards,
Ivan Kaupa

Stephen W. Meeley
7-Oct-2008, 07:54 AM
Ivan,

Re: 2) Unhandled Studio Error if you try to migrate 2 Workspaces without
closing the Studio.

I just tried migrating two example workspaces with the latest internal
Studio build and it worked ok, so this may have been caught by other fixes
already. However, what revision were you migrating from? I want to double
check this and make sure I'm as close to duplicating your actions as
possible.

Best regards,

-SWM-



"Ivan Kaupa" <ivankaupa@gmail.com> wrote in message
news:03qNxqBKJHA.1636@dacmail.dataaccess.com...
> Hello,
>
> Great work! I loved the changes.
>
> I test the migration process to VDF 14.1 of some Workspaces and get some
> errors.
>
> 1) Error 4306 compiling the migrated code.
>
> I got lot off errors 4306 in my .DDs (about 50). A example:
>
> Set Field_Validate_msg Field Produto.Cd_Cliente To get_Validate_CD_Cliente
>
> This line was in the Define_Fields and Define_Field was after the
> Validate_CD_Cliente function.
>
> Now, this line was moved to Construct_Object and the Validate_CD_Cliente
> is after that. So, I got this error.
>
> 2) Unhandled Studio Error if you try to migrate 2 Workspace without close
> Studio.
>
> After migrate a Workspace, if I try to migrate another, I got some errors:
>
> C:\Arquivos de programas\Visual DataFlex 14.1\Bin\Studio.exe
> Invalid message. GET_PBCHANGED
>
> Error: 98
>
> Please report this error to Data Access Corporation
>
> GET_ISENABLED (8556) - OOBJECT (448) - at address 89252
> SET_PBENABLED (1537) - OSAVEITEM (811) - at address 99956
> MSG_UPDATEBUTTONS (11471) - OSTANDARDTOOLBAR (808) - at address 99956
> MSG_ONIDLE (1564) - OMAIN (579) - at address 172963
> MSG_AFTERCLOSEWORKSPACE (11188) - OMAIN (579) - at address 172700
> GET_CLOSEWORKSPACE (11436) - OMAIN (579) - at address 97736
> MSG_LOADWORKSPACE (11439) - OMAIN (579) - at address 97886
> GET_EXECUTE@0 (9518) - OOBJECT (444) - at address 88800
> MSG_ONCOMMAND@1 (9535) - OACTIONMANAGER (442) - at address 57842
> MSG_REQUESTCOMMAND (11455) - OOPENWORKSPACEITEM (629) - at address 98286
> [start] - at address 173351
>
> After click "Ok", another error:
>
> C:\Arquivos de programas\Visual DataFlex 14.1\Bin\Studio.exe
> Invalid message. GET_PEVIEWCONTEXT
>
> Error: 98
>
> Please report this error to Data Access Corporation
>
> (-89079) - [global] - at address 89086
> GET_PSTOOLTIP (1569) - OOBJECT (448) - at address 89259
> SET_PSTOOLTIP (1556) - OSAVEITEM (811) - at address 99957
> MSG_UPDATEBUTTONS (11471) - OSTANDARDTOOLBAR (808) - at address 99957
> MSG_ONIDLE (1564) - OMAIN (579) - at address 172963
> MSG_AFTERCLOSEWORKSPACE (11188) - OMAIN (579) - at address 172700
> GET_CLOSEWORKSPACE (11436) - OMAIN (579) - at address 97736
> MSG_LOADWORKSPACE (11439) - OMAIN (579) - at address 97886
> GET_EXECUTE@0 (9518) - OOBJECT (444) - at address 88800
> MSG_ONCOMMAND@1 (9535) - OACTIONMANAGER (442) - at address 57842
> MSG_REQUESTCOMMAND (11455) - OOPENWORKSPACEITEM (629) - at address 98286
> [start] - at address 173351
>
> And some others like these (need kill Studio process to stop it).
>
> Regards,
> Ivan Kaupa
>

Stephen W. Meeley
7-Oct-2008, 08:10 AM
Hi Ivan,

Re: 1) Error 4306 compiling the migrated code.

This is a migration issue. During migration all of the Field_Validate_msg references need to have Register_Function statements generated for them. The Data Dictionary Modeler will do this if you define a new Field_Validate_msg, and it will remove the Register_Function if the reference count for a particular function goes to 0.

We'll get this fixed.

Best regards,

-SWM-



"Ivan Kaupa" <ivankaupa@gmail.com> wrote in message news:03qNxqBKJHA.1636@dacmail.dataaccess.com...
> Hello,
>
> Great work! I loved the changes.
>
> I test the migration process to VDF 14.1 of some Workspaces and get some
> errors.
>
> 1) Error 4306 compiling the migrated code.
>
> I got lot off errors 4306 in my .DDs (about 50). A example:
>
> Set Field_Validate_msg Field Produto.Cd_Cliente To get_Validate_CD_Cliente
>
> This line was in the Define_Fields and Define_Field was after the
> Validate_CD_Cliente function.
>
> Now, this line was moved to Construct_Object and the Validate_CD_Cliente is
> after that. So, I got this error.
>
> 2) Unhandled Studio Error if you try to migrate 2 Workspace without close
> Studio.
>
> After migrate a Workspace, if I try to migrate another, I got some errors:
>
> C:\Arquivos de programas\Visual DataFlex 14.1\Bin\Studio.exe
> Invalid message. GET_PBCHANGED
>
> Error: 98
>
> Please report this error to Data Access Corporation
>
> GET_ISENABLED (8556) - OOBJECT (448) - at address 89252
> SET_PBENABLED (1537) - OSAVEITEM (811) - at address 99956
> MSG_UPDATEBUTTONS (11471) - OSTANDARDTOOLBAR (808) - at address 99956
> MSG_ONIDLE (1564) - OMAIN (579) - at address 172963
> MSG_AFTERCLOSEWORKSPACE (11188) - OMAIN (579) - at address 172700
> GET_CLOSEWORKSPACE (11436) - OMAIN (579) - at address 97736
> MSG_LOADWORKSPACE (11439) - OMAIN (579) - at address 97886
> GET_EXECUTE@0 (9518) - OOBJECT (444) - at address 88800
> MSG_ONCOMMAND@1 (9535) - OACTIONMANAGER (442) - at address 57842
> MSG_REQUESTCOMMAND (11455) - OOPENWORKSPACEITEM (629) - at address 98286
> [start] - at address 173351
>
> After click "Ok", another error:
>
> C:\Arquivos de programas\Visual DataFlex 14.1\Bin\Studio.exe
> Invalid message. GET_PEVIEWCONTEXT
>
> Error: 98
>
> Please report this error to Data Access Corporation
>
> (-89079) - [global] - at address 89086
> GET_PSTOOLTIP (1569) - OOBJECT (448) - at address 89259
> SET_PSTOOLTIP (1556) - OSAVEITEM (811) - at address 99957
> MSG_UPDATEBUTTONS (11471) - OSTANDARDTOOLBAR (808) - at address 99957
> MSG_ONIDLE (1564) - OMAIN (579) - at address 172963
> MSG_AFTERCLOSEWORKSPACE (11188) - OMAIN (579) - at address 172700
> GET_CLOSEWORKSPACE (11436) - OMAIN (579) - at address 97736
> MSG_LOADWORKSPACE (11439) - OMAIN (579) - at address 97886
> GET_EXECUTE@0 (9518) - OOBJECT (444) - at address 88800
> MSG_ONCOMMAND@1 (9535) - OACTIONMANAGER (442) - at address 57842
> MSG_REQUESTCOMMAND (11455) - OOPENWORKSPACEITEM (629) - at address 98286
> [start] - at address 173351
>
> And some others like these (need kill Studio process to stop it).
>
> Regards,
> Ivan Kaupa
>
>

Dave Robinson
7-Oct-2008, 08:27 AM
Assuming this is now the way forward..... Any chance of reporting it rather as an either/or to removing it? Like

Register_Function My_Function //WARNING: FUNCTION NOT REFERENCED

ivankaupa
7-Oct-2008, 12:02 PM
Ok.

Thank's.

Regards,
Ivan Kaupa
"Stephen W. Meeley" <stephen-m@dataaccess.com> escreveu na mensagem news:7b5Q19HKJHA.4112@dacmail.dataaccess.com...
Hi Ivan,

Re: 1) Error 4306 compiling the migrated code.

This is a migration issue. During migration all of the Field_Validate_msg references need to have Register_Function statements generated for them. The Data Dictionary Modeler will do this if you define a new Field_Validate_msg, and it will remove the Register_Function if the reference count for a particular function goes to 0.

We'll get this fixed.

Best regards,

-SWM-



"Ivan Kaupa" <ivankaupa@gmail.com> wrote in message news:03qNxqBKJHA.1636@dacmail.dataaccess.com...
> Hello,
>
> Great work! I loved the changes.
>
> I test the migration process to VDF 14.1 of some Workspaces and get some
> errors.
>
> 1) Error 4306 compiling the migrated code.
>
> I got lot off errors 4306 in my .DDs (about 50). A example:
>
> Set Field_Validate_msg Field Produto.Cd_Cliente To get_Validate_CD_Cliente
>
> This line was in the Define_Fields and Define_Field was after the
> Validate_CD_Cliente function.
>
> Now, this line was moved to Construct_Object and the Validate_CD_Cliente is
> after that. So, I got this error.
>
> 2) Unhandled Studio Error if you try to migrate 2 Workspace without close
> Studio.
>
> After migrate a Workspace, if I try to migrate another, I got some errors:
>
> C:\Arquivos de programas\Visual DataFlex 14.1\Bin\Studio.exe
> Invalid message. GET_PBCHANGED
>
> Error: 98
>
> Please report this error to Data Access Corporation
>
> GET_ISENABLED (8556) - OOBJECT (448) - at address 89252
> SET_PBENABLED (1537) - OSAVEITEM (811) - at address 99956
> MSG_UPDATEBUTTONS (11471) - OSTANDARDTOOLBAR (808) - at address 99956
> MSG_ONIDLE (1564) - OMAIN (579) - at address 172963
> MSG_AFTERCLOSEWORKSPACE (11188) - OMAIN (579) - at address 172700
> GET_CLOSEWORKSPACE (11436) - OMAIN (579) - at address 97736
> MSG_LOADWORKSPACE (11439) - OMAIN (579) - at address 97886
> GET_EXECUTE@0 (9518) - OOBJECT (444) - at address 88800
> MSG_ONCOMMAND@1 (9535) - OACTIONMANAGER (442) - at address 57842
> MSG_REQUESTCOMMAND (11455) - OOPENWORKSPACEITEM (629) - at address 98286
> [start] - at address 173351
>
> After click "Ok", another error:
>
> C:\Arquivos de programas\Visual DataFlex 14.1\Bin\Studio.exe
> Invalid message. GET_PEVIEWCONTEXT
>
> Error: 98
>
> Please report this error to Data Access Corporation
>
> (-89079) - [global] - at address 89086
> GET_PSTOOLTIP (1569) - OOBJECT (448) - at address 89259
> SET_PSTOOLTIP (1556) - OSAVEITEM (811) - at address 99957
> MSG_UPDATEBUTTONS (11471) - OSTANDARDTOOLBAR (808) - at address 99957
> MSG_ONIDLE (1564) - OMAIN (579) - at address 172963
> MSG_AFTERCLOSEWORKSPACE (11188) - OMAIN (579) - at address 172700
> GET_CLOSEWORKSPACE (11436) - OMAIN (579) - at address 97736
> MSG_LOADWORKSPACE (11439) - OMAIN (579) - at address 97886
> GET_EXECUTE@0 (9518) - OOBJECT (444) - at address 88800
> MSG_ONCOMMAND@1 (9535) - OACTIONMANAGER (442) - at address 57842
> MSG_REQUESTCOMMAND (11455) - OOPENWORKSPACEITEM (629) - at address 98286
> [start] - at address 173351
>
> And some others like these (need kill Studio process to stop it).
>
> Regards,
> Ivan Kaupa
>
>

ivankaupa
7-Oct-2008, 12:07 PM
Stephen,

The first workspace were in 14.0 and the second one in 12.1.

But.... I tried reproduce it again and I couldn't.

Regards,
Ivan Kaupa

"Stephen W. Meeley" <stephen-m@dataaccess.com> escreveu na mensagem
news:aLJHJvHKJHA.7988@dacmail.dataaccess.com...
> Ivan,
>
> Re: 2) Unhandled Studio Error if you try to migrate 2 Workspaces without
> closing the Studio.
>
> I just tried migrating two example workspaces with the latest internal
> Studio build and it worked ok, so this may have been caught by other fixes
> already. However, what revision were you migrating from? I want to double
> check this and make sure I'm as close to duplicating your actions as
> possible.
>
> Best regards,
>
> -SWM-
>
>
>
> "Ivan Kaupa" <ivankaupa@gmail.com> wrote in message
> news:03qNxqBKJHA.1636@dacmail.dataaccess.com...
>> Hello,
>>
>> Great work! I loved the changes.
>>
>> I test the migration process to VDF 14.1 of some Workspaces and get some
>> errors.
>>
>> 1) Error 4306 compiling the migrated code.
>>
>> I got lot off errors 4306 in my .DDs (about 50). A example:
>>
>> Set Field_Validate_msg Field Produto.Cd_Cliente To
>> get_Validate_CD_Cliente
>>
>> This line was in the Define_Fields and Define_Field was after the
>> Validate_CD_Cliente function.
>>
>> Now, this line was moved to Construct_Object and the Validate_CD_Cliente
>> is after that. So, I got this error.
>>
>> 2) Unhandled Studio Error if you try to migrate 2 Workspace without close
>> Studio.
>>
>> After migrate a Workspace, if I try to migrate another, I got some
>> errors:
>>
>> C:\Arquivos de programas\Visual DataFlex 14.1\Bin\Studio.exe
>> Invalid message. GET_PBCHANGED
>>
>> Error: 98
>>
>> Please report this error to Data Access Corporation
>>
>> GET_ISENABLED (8556) - OOBJECT (448) - at address 89252
>> SET_PBENABLED (1537) - OSAVEITEM (811) - at address 99956
>> MSG_UPDATEBUTTONS (11471) - OSTANDARDTOOLBAR (808) - at address 99956
>> MSG_ONIDLE (1564) - OMAIN (579) - at address 172963
>> MSG_AFTERCLOSEWORKSPACE (11188) - OMAIN (579) - at address 172700
>> GET_CLOSEWORKSPACE (11436) - OMAIN (579) - at address 97736
>> MSG_LOADWORKSPACE (11439) - OMAIN (579) - at address 97886
>> GET_EXECUTE@0 (9518) - OOBJECT (444) - at address 88800
>> MSG_ONCOMMAND@1 (9535) - OACTIONMANAGER (442) - at address 57842
>> MSG_REQUESTCOMMAND (11455) - OOPENWORKSPACEITEM (629) - at address 98286
>> [start] - at address 173351
>>
>> After click "Ok", another error:
>>
>> C:\Arquivos de programas\Visual DataFlex 14.1\Bin\Studio.exe
>> Invalid message. GET_PEVIEWCONTEXT
>>
>> Error: 98
>>
>> Please report this error to Data Access Corporation
>>
>> (-89079) - [global] - at address 89086
>> GET_PSTOOLTIP (1569) - OOBJECT (448) - at address 89259
>> SET_PSTOOLTIP (1556) - OSAVEITEM (811) - at address 99957
>> MSG_UPDATEBUTTONS (11471) - OSTANDARDTOOLBAR (808) - at address 99957
>> MSG_ONIDLE (1564) - OMAIN (579) - at address 172963
>> MSG_AFTERCLOSEWORKSPACE (11188) - OMAIN (579) - at address 172700
>> GET_CLOSEWORKSPACE (11436) - OMAIN (579) - at address 97736
>> MSG_LOADWORKSPACE (11439) - OMAIN (579) - at address 97886
>> GET_EXECUTE@0 (9518) - OOBJECT (444) - at address 88800
>> MSG_ONCOMMAND@1 (9535) - OACTIONMANAGER (442) - at address 57842
>> MSG_REQUESTCOMMAND (11455) - OOPENWORKSPACEITEM (629) - at address 98286
>> [start] - at address 173351
>>
>> And some others like these (need kill Studio process to stop it).
>>
>> Regards,
>> Ivan Kaupa
>>
>
>