IBM Support

How to prevent the error when saving a Rhapsody model ("Failed to
open file ....rpw for write)

Question & Answer


Question

Why does an error occurs when saving the Rhapsody model ("Failed to open file ....rpw for write)?

Cause

When Rhapsody is installed to a single location, the DesignManager.properties file (e.g. C:\Tools\Rhapsody8.1.5\Share\DesignManager\DesignManager.properties) will be shared by all users who use Rhapsody on that computer.

The value of ModelsFolder (specified in that file) should be based on the value of %WORKSPACE% and thus be dynamic, but during Rhapsody usage it seems to be overwritten as a fixed path, e.g.

ModelsFolder=C:\Users\Fred\AppData\Local\Temp\DesignManager\Models

Subsequently when other users (who do not have access to C:\Users\Fred\) are working with DM models in Rhapsody and they attempt to save the model, they will get this error.

Answer

The workaround is to change the value of ModelsFolder to a commonly accessible path such as C:\Tools\DMmodelsTempDir

This issue was fixed in Rhapsody 8.2 onwards, so upgrading should allow each user to have their own OMROOT folder.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.5;8.0.6;8.1;8.1.1;8.1.2;8.1.2.1;8.1.3;8.1.4;8.1.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg22010368