IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

CBC: Error: Visual Studio / MS Build: Failed to write the updated manifest to the resource of file

CBC: Error: Visual Studio / MS Build: Failed to write the updated manifest to the resource of file

Environment

  • CBC Windows Sensor: 4.0.0.1292 and all 3.9.x sensor versions
  • CBC Console: All versions
  • Microsoft Windows: All versions
  • Microsoft Visual Studio / MS Build component: All versions

Symptoms

  • Problem does not occur with the CBC Windows 3.8.x sensor version
  • MS build jobs fail with an error similar to this dev environment error:
mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "..\..\output\bin\Debug\Platforms\Win32\Metro\{name_here}.dll". Access is denied.
 

Cause

This is issue DSEN-28051.

Resolution

  1. In the CBC Console, edit the policy > sensor tab > bottom of the page add an Exclusion.
  2. Select the radio button ‘All reporting and sensor operations’ 
  3. Process Type > ‘Parent Process’ - ‘Attribute’  'Path’ - ‘Path’ should be the path to the devenv.exe executable file that invokes vcbuildhelper.exe. The path may be  similar to >   C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe 
  4. Under "-AND- select “Add another attribute” - ‘Process type’ > ‘Process’ - ‘Attribute’ > 'Path’ 
  5. Set  ‘Path’  be the path to the vcbuildhelper.exe executable file. The path may be similar to > C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\VcBuildHelper.exe .
  6. Check the ‘Inheritance’  descendent processes’ checkbox 
  7. Click on ‘Next’ then "Save" twice.
  8. Wait 15 minutes for the new exclusion to be processed in the backend and propagated down to the manifest rules of the sensor,  and test.

Related Content


Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎03-28-2024
Views:
111