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
- In the CBC Console, edit the policy > sensor tab > bottom of the page add an Exclusion.
- Select the radio button ‘All reporting and sensor operations’
- 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
- Under "-AND- select “Add another attribute” - ‘Process type’ > ‘Process’ - ‘Attribute’ > 'Path’
- 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 .
- Check the ‘Inheritance’ descendent processes’ checkbox
- Click on ‘Next’ then "Save" twice.
- 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