Previous Topic: Your License does not Permit Connection to this Mart


Unable to Select Upgrade Models Check Box

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.

Back to Top

Object Count Shrinks and then Grows Again After Upgrading from Release 7 (r9.6)

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.

Status Window or Log Files Report Failures to Save Models (r9.6)

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:

  1. Log in to CA ERwin Mart Administrator or connect to the r9 Mart through CA ERwin DM r9.
  2. Go to the required library and see the list of models.

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

Copyright © 2015 CA. All rights reserved. All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.