Skip to main content

Enabling Long Path Support in CxSAST Application

.NET framework 4.6.2 and above supports the Long Path feature by default. The following actions should be taken in order for the Long Path feature to be defined.

This configuration should only be added on a station with .NET 4.6.2 or above installed, otherwise there will be issues in the application.

The following configuration must be added to the Web Service and REST API:

<httpRuntime targetFramework="4.6.2" />

The web.config file is usually located in the following path: <Installation folder>\Checkmarx\Checkmarx Web Services\CxWebInterface\web.config , for example C:\Program Files\Checkmarx\Checkmarx Web Services\CxWebInterface\web.config

For example:

<system.web>

<httpRuntime targetFramework="4.6.2" />

<compilation targetFramework="4.5.1" debug="true"/>

</system.web>

If the httpRuntime already exists, add the targetFramework attribute as follows:

<httpRuntime maxRequestLength="2097151" executionTimeout="36000" targetFramework="4.6.2" />