Page tree

This page presents the different messages that are produced by the .NET Analyzer during application source code analysis. Messages are presented with their identifier (referenced in the analysis log files), a description, and a possible remediation. 

IdentifierDOTNET.0001
MessageMissing mandatory reference towards mscorlib: project {0} will be skipped. The references to mscorlib are mandatory to the analysis of the .Net projects.
SeverityFatal Error
ExplanationAs missing mandatory reference towards mscorlib.dll. the project will be skipped.
User ActionDuring the delivery of the sources, have a delivery of the framework assemblies and check that mscorlib is delivered as well.
IdentifierDOTNET.0002
Message

Analysis failure, could not load a type. The following assemblies could not be loaded as well.

SeverityError
ExplanationThe analysis has not ended correctly, because the listed assemblies cannot be loaded.
User ActionCheck that the listed assemblies are been correctly delivered.
IdentifierDOTNET.0003
Message

Unknown exception

SeverityError
ExplanationAn exception has occured. the analysis has stopped uncorrectly.
User ActionContact CAST support.
IdentifierDOTNET.0004
Message

Trying to save a symbol twice.

SeverityError
ExplanationA .Net object is saved into the database twice. this is an anormal situation.
User ActionContact CAST support.
IdentifierDOTNET.0005
Message

Unmanaged database access kind. An error has occured and related external links will not be saved.

SeverityError
ExplanationAn error has occured during the access to the database. The related external links will not be saved into the database. the results of the analysis will not be complete.
User ActionContact CAST support.
IdentifierDOTNET.0006
Message

Unmanaged database access kind. An error has occured and related external links will not be saved.

SeverityError
ExplanationAn error has occured during the access to the database. The related external links will not be saved into the database. the results of the analysis will not be complete.
User ActionContact CAST support.
IdentifierDOTNET.0007
Message

Unknown language. Couldn't load project.

SeverityError
ExplanationThe project cannot be loaded as the language is unknown.
User ActionContact CAST support.
IdentifierDOTNET.0008
Message

Could not load project {0}. The project will not be analyzed.

SeverityError
ExplanationThe project will  not be analysez as it cannot be loaded.
User ActionContact CAST support.
IdentifierDOTNET.0009
Message

Could not load project. The project will not be analyzed.

SeverityError
ExplanationThe project will  not be analysez as it cannot be loaded.
User ActionContact CAST support.
IdentifierDOTNET.0010
Message

Could not compute GUID for: " + Symbol.Accept(AnalysisSharedObjects.Instance.ManglingVisitor), e);

SeverityError
ExplanationThe GUID cannot be calculated for the listed symbol. The symbol cannot be saved and the analysis will be incomplete.
User ActionContact CAST support.
IdentifierDOTNET.0011
Message

Analysis of " + project.Path + " has failed. An unexpected error happened leaving the analysis in an unknown state.\r\n"

SeverityError
ExplanationAn expected error has happened during the analysis of the project leaving the project in an anexpected state. The analysis is an unknown state.
User ActionContact CAST Support.
IdentifierDOTNET.0012
Message

Could not load assembly {0}. No link will be saved toward its objects. (candidates are {1})", assemblyRef.Key, filePaths);

SeverityWarning
ExplanationThe assembly listed could not be loaded, therefore the links to this assembly cannot be created.
User ActionCheck that the assembly is part of the
IdentifierDOTNET.0013
Message

Failed to compile project " + project.FilePath + ". The project will not be analyzed.", e

SeverityWarning
ExplanationAn issue has occured and the project cannot be compiled therefore it cannot be analyzed.
User ActionPlease check that the project compile in Visual Studio and add any missing element. if the problem is still present, please contact CAST Support.
IdentifierDOTNET.0014
Message

An error occured when creating link for string ""{0}"": {1}", interpretedString, e.Message

SeverityWarning
ExplanationAn issue has occured when trying to create a link to the listed string. The analysis results will be incomplete.
User ActionConctact the CAST Support.
IdentifierDOTNET.0015
Message

No code behind source code found for " + _fileName

SeverityWarning
ExplanationThere is no code behind found to the file listed in the message.
User ActionPlease check if there is any code source behind for the listed file and if it is the case contact the CAST Support.
IdentifierDOTNET.0016
Message

WebService directive is missing in " + _fileName

SeverityWarning
ExplanationIn the asmx file,  the web service directive is missing, therefore the analysis can be incomplete.
User ActionPlease check that the web service directive is part of the file.
IdentifierDOTNET.0017
Message

Source language " + WebServiceDirective.Language + " in " + _fileName + " is not supported."

SeverityWarning
ExplanationThe language present in the file is not supported therefore it will not be analysed.
User ActionContact CAST Support
IdentifierDOTNET.0018
Message

WebService ignored : " + _fileName

SeverityWarning
ExplanationThe web service is ignored and will not be analysed therefore the results of the analysis will be incomplete.
User ActionContact CAST Support.
IdentifierDOTNET.0019
Message

Ignored unknown directive \"" + directiveName + "\" in " + _fileName

SeverityWarning
ExplanationThe directive listed in the asmx file is unknown by the .Net analyser therefore the analysis results will be incomplete.
User ActionContact CAST Support.
IdentifierDOTNET.0020
Message

Error while processing visitor: " + astAnalyzer.GetType().Name + ". The analysis results may be incomplete."

SeverityWarning
ExplanationAn error has occured while processing visitor and the analysis results may be incomplete.
User ActionContact CAST Support.
IdentifierDOTNET.0021
Message

Error while processing visitor: " + castilAnalyzer.GetType().Name + ". The analysis results may be incomplete."

SeverityWarning
ExplanationAn issue has occured during the analysis, during the processing a visitor. the analysis may be incomplete.
User ActionContact CAST Support.
IdentifierDOTNET.0022
Message

Error when creating devirtualization link: {0}. The analysis results may be incomplete.", e.Message

SeverityWarning
ExplanationAn issue has occured  when creating devirtualisation links. The results of the analysis may be incomplete.
User ActionContact CAST support.
IdentifierDOTNET.0023
Message

Could not trace link for {0}: {1}. The analysis results may be incomplete.", request, e.Message

SeverityWarning
ExplanationAn issue has occured during the build of the external links therefore the link cannot be created. The analysis may be incomplete.
User ActionContact CAST support.
IdentifierDOTNET.0024
Message

Failed to load types from referenced assembly: {0}. The analysis results may be incomplete.", ex.Message

SeverityWarning
ExplanationAn issue has occured and the types has not been loaded from the indicated assembly.
User ActionContact CAST support.
IdentifierDOTNET.0025
Message

Could not load referenced assembly {0} in {1}. The analysis results may be incomplete.", asmName.Value, svcmapFile.FullName

SeverityWarning
ExplanationThe referenced assembly cannot be loaded therefore the results may be incomplete.
User ActionContact CAST support.
IdentifierDOTNET.0026
Message

Failed to generate code for web reference: {0}. The analysis results may be incomplete.", wsdlFile

SeverityWarning
ExplanationAn issue has occured while generating code for the web reference. the results analysis may be incomplete.
User ActionContact CAST support.
IdentifierDOTNET.0027
Message

An error happened while treating {0}. The analysis results may be incomplete.", wsdlFile.FullName

SeverityWarning
ExplanationAn issue has occured while treating the WSDL file. The results of the analysis may be incomplete.
User ActionContact CAST support.
IdentifierDOTNET.0028
Message

An error happened while treating {0}. The analysis results may be incomplete.", xsdFile.FullName

SeverityWarning
ExplanationAn issue has occured while threating the file therefore the results of the analysis may be incomplete (loss of objects and links).
User ActionContact CAST support.
IdentifierDOTNET.0029
Message

DOTNET.0029:Unexpected exception: {0}", ex.Message

SeverityWarning
ExplanationAn unexpected exception occured with unknown impact on the results of the analysis.
User ActionContact CAST support.
IdentifierDOTNET.0030
Message

Failed to generate proxy code for service reference: {0}. The analysis results may be incomplete.", svcmapFile

SeverityWarning
ExplanationAn issue has occured during the preprocessing of the wsdl file. The resultats of the analysis may be incomplete leading to loss of objects and links.
User ActionContact CAST support.
IdentifierDOTNET.0031
Message

Failed to create the WSDL importer. The analysis results may be incomplete."

SeverityWarning
ExplanationAn issue has ocurred during the oreprocess of the WSDL. The results of the analysis may be incomplete leading of the loss of objects and links.
User ActionContact CAST support.
IdentifierDOTNET.0032
Message

Failed to create the WSDL importer. The analysis results may be incomplete.

SeverityWarning
ExplanationAn issue has occured and the WSDL importer could not be created.
User ActionContact CAST Support.
IdentifierDOTNET.0033
Message

Could not generate {0} files from XAML files: {1} not found. The analysis results may be incomplete.", sourceExtension, exe

SeverityWarning
ExplanationBecause XAML files are not found,  the generation of the intermediate file that will be analyzed cannot be done therefore the analysis results may be incomplete.
User ActionContact CAST Support.
IdentifierDOTNET.0034
Message

Could not generate {0} files from XAML files. The analysis results may be incomplete.", sourceExtension

SeverityWarning
ExplanationThe analyzer can not generate the files from the XAML files that are used for the analysis, therefore the analysis results are incomplete.
User ActionContact CAST Support.
IdentifierDOTNET.0035
Message

Could not generate {0} files from XAML files. The analysis results may be incomplete.", sourceExtension

SeverityWarning
ExplanationThe analyzer can not generate the files from the XAML files that are used for the analysis, therefore the analysis results are incomplete.
User ActionContact CAST Support.
IdentifierDOTNET.0036
Message

Failed to generate code for dataset: {0}. The analysis results may be incomplete.", xsdFile

SeverityWarning
ExplanationThe source code for the dataset ca not be generated. This source code is used in the analysis of the application, therefore the results of the analysis could be incomplete.
User ActionConcact CAST Support.
IdentifierDOTNET.0037
Message

File could not be loaded: {0}. The analysis results may be incomplete.", file.AbsolutePath

SeverityWarning
ExplanationThe file cannot be loaded therefore the results of the analysis can be impacted with missing objects and links.
User ActionContact CAST support.
IdentifierDOTNET.0038
Message

Missing project dependency: {0}. The analysis results may be incomplete.", projectPathWithCase);

SeverityWarning
ExplanationMising project dependency therefore analysis results may be incomplete.
User ActionContact CAST Support.
IdentifierDOTNET.0039
Message

App_Code folder contains both C# code and VB code. Could not create a compilation unit for that folder. The analysis results will be incomplete."

SeverityWarning
ExplanationThe application that is about to be analysed contains both C# and VB .Net source code in the App_Code folder and the analyser cannot create a compilation unit for that folder. All the source code contained in that folder will not be analysed and therefore the resullts will be incomplete.
User ActionReview the application and have sources for only one language in the App_Code folder.
IdentifierDOTNET.0040
Message

Source file is never referenced, and therefore will be ignored: " + source.FullName + ". The analysis results may be incomplete.");

SeverityWarning
ExplanationThe indicated source file is never referenced by any project, therefore the file will not be taken into account during the analysis.
User ActionCheck that the file is used  by a project and if this not the case remove it from the analysis.
IdentifierDOTNET.0041
Message

Source file '{0}' referenced in '{1}' was not found. The analysis results may be incomplete.", codeFile, asmxFile.FullName);

SeverityWarning
ExplanationThe asmx source file indicated was not found. This will impact the result of the analysis.
User ActionCheck that the asmx source file indicated is part of the project and has been included to the delivery.
IdentifierDOTNET.0042
Message

Source file '{0}' referenced in '{1}' was not found. The analysis results may be incomplete.", codeFile, asmxFile.FullName);

SeverityWarning
ExplanationThe source file indicated was not found. This will impact the result of the analysis.
User ActionCheck that the source file indicated is part of the project and has been included to the delivery.
IdentifierDOTNET.0043
Message

Could not load assembly " + assdir.AssemblyName + ". The analysis results may be incomplete.");

SeverityWarning
ExplanationThe indicated assembly could not be loaded. The results of the analysis can be incomplete with fewer objects and links.
User ActionCheck that the assembly is part of the sources and the delivery of the sources has been done without any error and warnings.
IdentifierDOTNET.0044
Message

Source file '{0}' referenced in '{1}' was not found. The analysis results may be incomplete.", srcFile, aspxFile.FullName);

SeverityWarning
ExplanationThe source file referenced has not been found and therefore cannot be analysed.The result of the analysis will be impacted
User ActionCheck that referenced file is available in the sources and the delivery of the sources has been done without any error or warnings.
IdentifierDOTNET.0045
Message

No 'web.config' found in {0}. The folder is not a website, and will not be analyzed. The analysis results may be incomplete.", projectDesc.Path);

SeverityWarning
ExplanationAs there is not web.config file found the application cannot be considered as an web site and it will not be analysed. The results of the analysis will be incomplete.
User ActionCheck that the application has an web.config file. If that is the case then check that the delivery of the sources has been done without any error and warning.
IdentifierDOTNET.0046
Message

Duplicated project path will be ignored: {0}. The analysis results may be incomplete.", castProject.Path);

SeverityWarning
ExplanationFor the curent analysis there are project with a duplicated path. The duplicated path will be ignored and the results of tha analysis will be incomplete.
User ActionContact CAST Support.
IdentifierDOTNET.0047
Message

Duplicated project path will be ignored: {0}. The analysis results may be incomplete.", castProject.Path

SeverityWarning
ExplanationFor the curent analysis there are project with a duplicated path. The duplicated path will be ignored and the results of tha analysis will be incomplete.
User ActionContact CAST Support.
IdentifierDOTNET.0048
Message

Error while loading XML document '{0}': {1}. The analysis results may be incomplete.", uri, z.Message

SeverityWarning
ExplanationThe XML document could not be loaded as an error has occured therefore the results of the analysis could be incomplete.
User ActionContact CAST Support.
IdentifierDOTNET.0049
Message

Running managed analyzer for .NET languages

SeverityInfo
ExplanationThe analysis of .net languages has started.
User ActionNone
IdentifierDOTNET.0050
Message

Starting analysis of " + project.Path + " (" + (++i) + " / " + nbProjects + ")

SeverityInfo
ExplanationThe analysis of the project has started.
User ActionNone.
IdentifierDOTNET.0051
Message

Cleaning AST objects out of memory

SeverityInfo
ExplanationThe AST objects are cleaned up from memory.
User ActionNone.
IdentifierDOTNET.0052
Message

Visiting file " + document.FilePath

SeverityInfo
ExplanationThe file indicated is being analysed.
User ActionNone
IdentifierDOTNET.0053
Message

Saving CastIL

SeverityInformation
ExplanationThe CAST Intermediate Language is being saved.
User ActionNone.
IdentifierDOTNET.0054
Message

Calling extensibitity callbacks

SeverityInfo
ExplanationThe operation of calling extensibility callback  has started.
User ActionNone

 

 

IdentifierDOTNET.01
MessageVisiting file " + document.FilePath
SeverityInfo
ExplanationThe file specified is being analysed.
User ActionNone
IdentifierDOTNET.0130
Message

Memory profile: GC: {0:n0} / Total: {1:n0} / Peak: {2:n0}", GC.GetTotalMemory(gcCollect), p.PrivateMemorySize64, p.PeakWorkingSet64

SeverityInfo
ExplanationThe profile of the memory consumtion is displayed.
User ActionNone
IdentifierDOTNET.0131
Message

Starting to remove references

SeverityInfo
ExplanationThe operation to remove references has started.
User ActionNone
IdentifierDOTNET.0056
Message

End of removing references

SeverityInfo
ExplanationThe operation of removing referenced has ended.
User ActionNone.
IdentifierDOTNET.0057
Message

Starting to look for external link entry points (dataflow mode) for " + GetDatabaseAccessName(kind)

SeverityInfo
ExplanationStarting to look for the external links entry points for the specified database.
User ActionNone
IdentifierDOTNET.0058
Message

{x} candidates found, starting external link engine (dataflow mode)", entryPoints.Count

SeverityInfo
ExplanationA number of candidates found for the external links builder. Starting link engine.
User ActionNone
IdentifierDOTNET.0059
Message

Starting to look for external link entry points (grep mode)"

SeverityInfo
ExplanationStarted to look for the external links entry points for the external link builder.
User ActionNone
IdentifierDOTNET.0060
Message

DOTNET.0060:{0} candidates found, starting external links engine (grep mode)", greppedCandidates.Count

SeverityInfo
ExplanationA number of candidates for the external link builder have been found, starting external links engine in grep mode.
User ActionNone
IdentifierDOTNET.0061
Message

{0} candidates found, starting dataflow resolution", filteredGreppedCandidates.Count

SeverityInfo
ExplanationA number of candidates for the external link builder have been found. The dataflow resolution has been started.
User ActionNone
IdentifierDOTNET.0062
Message

DOTNET.0062:IdToSymbol:\t{0}\tIdToProjects:\t{1}\tUsed memory (estimation):\t{2}\t{3}\t{4}

SeverityInfo
ExplanationThe used memory for object in the poject indicated.
User ActionNone
IdentifierDOTNET.0063
Message

Project loaded: " + projectPathWithCase

SeverityInfo
ExplanationThe indicated project has loaded
User ActionNone.
  • No labels