This page outlines for the below mentioned error when you try to Package Source Code in DMT .
com.microsoft.tfs.core.exceptions.TECoreException:The working folder A:\ is already in use by the workspace xxxxxx;<UserName> on computer <HostName>.
at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:93)
at com.microsoft.tfs.core.exceptions.mappers.VersionControlExceptionMapper.map(VersionControlExceptionMapper.java:46)
at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.createWorkspace(VersionControlClient.java:511)
at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.createWorkspace(VersionControlClient.java:446)
at com.castsoftware.dmt.extractor.tfs.TFSExtractor.export(TFSExtractor.java:378)
at com.castsoftware.dmt.extractor.tfs.TFSExtractor.exportPath(TFSExtractor.java:312)
at com.castsoftware.dmt.extractor.tfs.TFSExtractor.exportPath(TFSExtractor.java:348)
at com.castsoftware.dmt.extractor.tfs.TFSExtractor.extract(TFSExtractor.java:273)
at com.castsoftware.dmt.engine.extraction.ExtractionEngine.extractInternal(ExtractionEngine.java:639)
at com.castsoftware.dmt.engine.extraction.ExtractionEngine.access$15(ExtractionEngine.java:620)
at com.castsoftware.dmt.engine.extraction.ExtractionEngine$1.run(ExtractionEngine.java:614)
at com.castsoftware.dmt.engine.extraction.ExtractionEngine$1.run(ExtractionEngine.java:1)
at com.castsoftware.dmt.engine.extraction.ExtractionEngine.execute(ExtractionEngine.java:569)
at com.castsoftware.dmt.engine.extraction.ExtractionEngine.extract(ExtractionEngine.java:609)
at com.castsoftware.dmt.engine.extraction.cli.Extract.processDMTCommand(Extract.java:62)
at com.castsoftware.dmt.engine.cli.AbstractDeliveryEngineCommandLine.process(AbstractDeliveryEngineCommandLine.java:322)
at com.castsoftware.cli.CommandLineApplication$4.call(CommandLineApplication.java:1015)
at com.castsoftware.cli.CommandLineApplication$4.call(CommandLineApplication.java:1)
at com.castsoftware.util.logger.Logging
Release | Yes/No |
---|---|
8.0.x | |
7.3.x | |
7.2.x | |
7.0.x |
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS2 | |
CSS1 |
- Add a 'New Version' Source Code.
- For the 'Source Package', set the 'Server', 'Repository Path', 'Version' & 'Credentials' to login to 'TFS using WebService API'.
- Try to Package it, you get the Error as shown above.
This issue occurs when you add a 'New Version' Source Code in DMT, using the login to 'TFS-Team Foundation Server'.
For the 'Source Package', set the 'Server', 'Repository Path', 'Version' & 'Credentials' to login to 'TFS using WebService API'. When you try to Package it, you get the Error as shown above.
Note: "A:\" drive is a floppy drive.
DMT searches for A:\" drive in your computer, when it does not find it will throw an error.
- Map any external device which corresponds to the "A:\" drive to the analysis machine and try packaging it as a workaround
Action To Perform to map "A:\" drive:-
- Insert any external USB hard drive or flash drive.
- To assign a static drive letter to an external USB drive open Computer Management (Go to RUN window> type "compmgmt.msc" and click Enter)
- In the tree on the left, select Disk Management under Storage. To change the drive letter for a USB external or flash drive, right-click on the drive in the list and select Change Drive Letter and Paths from the popup menu.
- The Change Drive Letter and Paths dialog box displays for the selected drive showing the current drive letter. To change the drive letter, click Change.
- On the Change Drive Letter or Path dialog box, select the "Assign the following drive letter option". Select the "A" drive letter and click OK button.
- The following warning displays "Some programs that rely on drive letters might not run correctly. Do you want to continue?" select Yes.
- The new drive letter displays next to the drive on the Computer Manager dialog box.
Impact of issue: Not able to package the source code successfully.
Impact after applying solution: Able to package the source code successfully.