IBM Support

Snapshot view's view.dat file is corrupt or missing

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.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"View: Snapshot","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF015","label":"IRIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"2002.05.00;2003.06.00;7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"View: Snapshot","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21209320