How to scan a Visual Studio Web Site Project

Question

When I scan a Visual Studio Web Site Project the scan does not complete. When scanning, I receive the error “Unable to load build session with ID …“[1].

Answer

Current versions of Fortify do not support scanning Visual Studio Web Site Projects (WSP).

The solution is to convert the WSP to a Web Application Project (WAP). The following guides can be used to help convert a WSP to a WAP:

Once the conversion is complete, the converted application can be scanned.

[1] Please note that this error message is not unique to a failure is scanning a WSP. It may occur whenever the scan phase is initiated for a build ID where the translation phase failed. However, if scanning a WSP, the information in this technical note should resolve the issue.