Symptom:
I am unable to select only the Upgrade Models check box in the Data to Upgrade step.
Solution:
When you select the data that you want to upgrade, you cannot select only the Upgrade Models check box. The reason is, you can upgrade models only if users and profiles are upgraded.
Symptom:
I have upgraded my models from r7.x to r9.x. The object counts were approximately 238K in my r7.x Mart. The File | Mart | Open dialog shows the object count as approximately 83K. When I open the model using r9.x erwin, move an entity, and save the changes back to the Mart, the object count grows to approximately 95K. Why are the object counts dramatically shrinking and then growing?
Solution:
The object count includes the deleted objects which are invisible within a model. So a model's object count can be very high, yet, there could be very few entities visible within that model. The deleted objects are stored to maintain the object history and to provide an audit trail.
When an r7.3.x model is upgraded to r8.x or later, the deleted invisible objects are removed from the model. Therefore the object count reduces dramatically when you upgrade models from r7.x to r9.x.
The r9.x model object counts grow dramatically after opening the upgraded models and then saving them back to the Mart for the first time. This happens because final conversions are made to the model the first time the model is saved to the Mart.
Symptom:
When I upgrade my models, a log entry similar to the following entry is added to the log file:
mmart://MYMARTNAME/MYLIBRARYNAME/MYMODELNAME
"System.Exception: Model Save failed to Destination mart.
05/08 09:40:50 WARNING: A connection with the server could not be established.
System.Runtime.InteropServices.COMException (0x80040837): Application Component ! Mart connection failed. at SCAPI.ApplicationClass.ConnectMMart(String sConnectionString, String sDispositionValue, Boolean bReconnect)
at DestinationConfigure.Program.Main(String[] args) in W:\DestinationConfigure\Program.cs:line 74
at MartUpgrade.ProcessModelsInDestinationMart.SaveModel(String sourcePath, String destPath, Boolean decSave) in W:\MartUpgrade\ProcessModelsInDestinationMart.cs:line 226
at MartUpgrade.ProcessModelsInDestinationMart.ProcessModels() in W:\MartUpgrade\ProcessModelsInDestinationMart.cs:line 110"
Solution:
The MartUpgrade utility attempts several times to upgrade a model, and each time the model fails to save, the failed attempt is reported as an error. The default retry count is 5 times. It is possible that the model is successfully saved into the destination Mart on one of the attempts. Therefore, verify that the model exists in the destination Mart.
Follow one of these methods to verify:
Method 1:
Method 2:
Run a Library/Model report in r9 erwin and verify whether the library/model is listed. You can also export the Library/Model report from r8 and compare it with the r9 report.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|