Troubleshooting
Problem
This technote details some of the errors that will occur when the view.dat (.view.dat) is corrupt or has been removed from the root of an IBM® Rational® ClearCase® snapshot view.
Cause
Scenario 1:
The view.dat file has become corrupt, and attempting to create a view shortcut in ClearCase Explorer fails with:
The pathname specified does not resolve to a registered view
Note: This error will also occur if the selected directory is not actually the view root of a snapshot view.
Scenario 2:
After removing the view.dat from the root directory of a snapshot view, the view will stop working.
Accessing or updating the snapshot view from ClearCase Explorer returns:
The pathname specified for this snapshot view shortcut does not represent the root of a snapshot view. Use the Shortcut Properties dialog to modify the shortcut.
When trying to update the snapshot view from command line returns:
C:\admin_view>ct update -graphical
cleartool: Error: 'C:\admin_view' is not a valid snapshot view path.
Resolving The Problem
The view.dat file must be restored from backup or regenerated if no copy is available.
Follow the instructions in technote 1204161 for information on how to regenerate a snapshot view's view.dat file.
The errors will stop appearing after the view.dat is replaced or put back in the workspace of the snapshot view.
Related Information
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21209320