Problem Description

When this warning occurs at the beginning of a DotNet analysis, none of the files of the project are analyzed and the analyzer directly proceeds to the saving step, as shown in the below analysis log file.
Analysis log file

2018-08-01 16:22:22.688052  Warning MODULMSG ; Job execution    No 'web.config' found in T:\Deploy\APP_NEW\Sources_Package\APP_V1503_CAST_DOT_NET\APP\APP\Tests\Wrapper.Test. The folder isn't a website, and won't be analyzed.
2018-08-01 16:22:22.688052  Warning MODULMSG ; Job execution    No 'web.config' found in T:\Deploy\APP_NEW\Sources_Package\APP_V1503_CAST_DOT_NET\APP\Wrapper. The folder isn't a website, and won't be analyzed.
2018-08-01 16:22:22.745666      MODULMSG ; Job execution    Comparing objects on server . . .
2018-08-01 16:22:23.765132      MODULMSG ; Job execution    Comparison completed.
2018-08-01 16:22:23.765132      MODULMSG ; Job execution    Merging objects on server . . .
2018-08-01 16:22:24.499460      MODULMSG ; Job execution    Merge completed.
2018-08-01 16:22:24.719172  Information MODULMSG ; Job execution    New Job status
2018-08-01 16:22:24.721125  Information MODULMSG ; Job execution        Execution date=2018/08/01 15:22
2018-08-01 16:22:24.726008  Information MODULMSG ; Job execution        Execution duration=0 days, 00 hours, 00 mins, 06 secs
2018-08-01 16:22:24.727961  Information MODULMSG ; Job execution        Execution result=success
2018-08-01 16:22:24.727961  Information MODULMSG ; Job execution    Analysis completed
2018-08-01 16:22:24.892013  Information MODULMSG ; Job execution    0 fatal error(s); 0 error(s); 27 warning(s); 3274 information message(s).

Although the message is just a warning, it has a strong impact since no objects of the project are analyzed.

Observed in CAST Extension Version


Release

Yes/No

1.0(tick) 
Observed in RDBMS

RDBMS

Yes/No

Oracle Server (tick) 
Microsoft SQL Server (tick) 
CSS3(tick) 
CSS2 (tick) 
Step by Step Scenario
  1. Run analysis for a DotNet application
  2. Open analysis log file and see the warning
Action Plan

Perform the below actions

  1. Check if the folder is a web site or not. If it contains a (*.csproj) or a (*.vbproj) file, then it is NOT a web site. In case of doubt, ask the development team.
    1. If the project is not a web site, then the warning occurs because the corresponding analysis unit is wrongly configured as "Microsoft Visual Studio C#/VB.NET Web Sites" in Cast-MS. Change the analysis unit type into "Microsoft Visual Studio C# project"
    2. If the project is a web site, then the warning occurs because the analyzer cannot find the required web.config file inside the folder. Check with development team if source files are not missing.
  2. Relaunch analysis.
  3. If the above steps do not solve your issue contact CAST Technical Support. with the Relevant Input for reproduction of the issue
Notes/comments