IBM Support

Unable to map drive to ClearCase view on Windows

Troubleshooting


Problem

This technote explains why you may see []network error 1222[] on Microsoft® Windows® when trying to map a drive letter to an IBM® Rational® ClearCase® view.

Symptom


Attempting to map a drive to a ClearCase view on Windows reports error:

network error 1222


Other symptoms may include this error message when attempting to access the MVFS view path name (\\view by default):

This file does not have a program associated with it for performing this action. Create an association in the folder options control panel.

Note: The dynamic view drive (M: by default) is accessible without error.

Cause

Sometimes on Windows, the service control manager times out before the cccredmgr is initialized and the service does not run.

Note: This is a generic problem with some services on Windows.

Diagnosing The Problem


Verify that the mapped drive letter is not in use with the NET USE command from the command line. If the drive letter was used previously, Windows holds on to the drive letter as in use. A reboot is sometimes required to flush this reference out.

Resolving The Problem


Microsoft KB article 884495 provides a workaround for this issue for a different service; however, the solution can be applied to this issue as well.



After applying the steps in the KB article, cccredmgr will start correctly upon restart and thus allow the net use command to succeed from the command line.

Note: These steps are not always sufficient in every case. Sometimes, Windows Explorer starts before the cccredmgr process is initialized. Windows Explorer will remember that the cccredmgr service was not available and thus disable the MVFS view from the exploring ClearCase neighborhood window. Running \\view from the command line will not work even after cccredmgr is running. The solution to this specific issue is to open up the task manager, kill the Windows Explorer process and then run a new Windows Explorer instance from the task manager window itself.
  1. Hit Ctrl + Alt + Del to bring up Task Manager.
  2. After Task Manager opens, sort the processes by clicking on the Image Name column (arrow) then look for the explorer.exe process.
  3. Right click on explorer.exe and click on End Process.
  4. Then click Yes in the Task Manager Warning window to end the process. This will cause the desktop to disappear. It's possible that any open application(s) will still be visible, while applications that were minimized will not be shown.
  5. At this point Task Manager will remain open. Click on File \ New Task (Run…). In the Create New Task window, type explorer.exe. Click OK.
  6. Windows Explorer Shell will restart, displaying the desktop and all applications that were open before it froze. At this point, it's best to save any data and continue working.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"MVFS","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21264389