Cadet 3rd Class
Cadet 3rd Class
3188 views

Fortify SCA Scan Failed Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND

Hi,

I am trying to scan my visual studio solution using Fortify Analyse Solution. However after successfully building of solution, I get below error.

 

Fortify SCA...
Running: CLEAN : "-b" "DeloitteCRM" "-clean"
Scan Failed Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr, Int32[] expectedHRFailure)
at Microsoft.VisualStudio.Project.Automation.OAProjectItem`1.get_Kind()
at FortifyBase.Scanner.TranslationUtil._GetAllProjectFiles(ProjectItems pitems, List`1 DependentFiles, HashSet`1 sharedProjectPaths)
at FortifyBase.Scanner.TranslationUtil._GetAllProjectFiles(ProjectItems pitems, List`1 DependentFiles, HashSet`1 sharedProjectPaths)
at FortifyBase.Scanner.TranslationUtil.GetAllProjectFiles(Project project, List`1 DependentFiles, HashSet`1 sharedProjectPaths)
at FortifyBase.Scanner.TranslationUtil.GetTranslatableFiles(Project project, List`1 DependentFiles, List`1 sharedProjectFiles)
at FortifyBase.Scanner.TranslationUtil.CreateDotNetTranslationScanObject(Project project, String projectName)
at FortifyBase.Scanner.TranslationUtil._CompileCommand(Project project, String projectName)
at FortifyBase.Scanner.TranslationUtil.CompileCommand(String projectName)
at FortifySoftware.SCAPackage.ScanUtil2005AndLater.compileScanList(String buildID)
at FortifyCommon.Scanner.BuildListeners.VSBuildDone(vsBuildScope scope, vsBuildAction action)
Scan Failed:
Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))

 

P.S.  I am using Fortify 18.10, Visual Studio 2017 Enterprise

 

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

Hi Avinash

This actually looks to me like the clean command already failing, which does not need any dependencies.

Can you make sure that SCA is in the path and reachable from your VS installation?

Also you can always open a ticket for issues like this via our software support online portal

Lucas

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.