Problem Description

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

2017-09-25 16:08:13.272668  Information MODULMSG ; Job execution    About to run CAST_DotNet_Job_NewAnalyzer job 'My Source file based execution unit_28336'
2017-09-25 16:08:13.319468  Information MODULMSG ; Job execution    Total physical memory: 16383 MB.
2017-09-25 16:08:30.775899  Information MODULMSG ; Job execution    External link component has loaded 227 objects 
2017-09-25 16:08:32.289101  Warning MODULMSG ; Job execution    Internal exception occurred during processing listener ManageDmtProjectAction::Process on instance CAST_DotNet_Job_NewAnalyzer #2 : unknown exception
2017-09-25 16:08:32.304701      MODULMSG ; Job execution    Comparing objects on server . . .  
2017-09-25 16:08:33.240703      MODULMSG ; Job execution    Comparison completed.  
2017-09-25 16:08:33.240703      MODULMSG ; Job execution    Merging objects on server . . .
2017-09-25 16:08:33.693104      MODULMSG ; Job execution    Merge completed.
2017-09-25 16:08:33.833504  Information MODULMSG ; Job execution    New Job status
2017-09-25 16:08:33.833504  Information MODULMSG ; Job execution        Execution date=2017/09/25 14:08
2017-09-25 16:08:33.833504  Information MODULMSG ; Job execution        Execution duration=0 days, 00 hours, 00 mins, 20 secs
2017-09-25 16:08:33.833504  Information MODULMSG ; Job execution        Execution result=success
2017-09-25 16:08:33.833504  Information MODULMSG ; Job execution    Analysis completed
2017-09-25 16:08:33.864704  Information MODULMSG ; Job execution    0 fatal error(s); 0 error(s); 1 warning(s); 28428 information message(s).

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

It is related to Code Access Security (CAS) Policy, and happens when the analysis is done using an installation of Cast-MS located on a network drive

For Error Free Logs refer CMS Snapshot Analysis - Run DOTNet Analyzer - C Sharp - Error Free Logs - CAST AIP 8

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. Copy your CAST Installation Folder to a network drive
  2. Launch Cast-MS from this copy
  3. Run analysis for a DotNet application
Action Plan

Perform the below actions

  1. Install CAST AIP on a Local Drive
  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


Related Pages