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 Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg22010368