Unable to map drive to ClearCase view on Windows
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.
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.
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.
- Hit Ctrl + Alt + Del to bring up Task Manager.
- After Task Manager opens, sort the processes by clicking on the Image Name column (arrow) then look for the explorer.exe process.
- Right click on explorer.exe and click on End Process.
- 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.
- 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.
- 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.
Translate this page: