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.
Identifier | DOTNET.0001 |
Message | Missing mandatory reference towards mscorlib: project {0} will be skipped. The references to mscorlib are mandatory to the analysis of the .Net projects. |
Severity | Fatal Error |
Explanation | As missing mandatory reference towards mscorlib.dll. the project will be skipped. |
User Action | During the delivery of the sources, have a delivery of the framework assemblies and check that mscorlib is delivered as well. |
Identifier | DOTNET.0002 |
Message | Analysis failure, could not load a type. The following assemblies could not be loaded as well. |
Severity | Error |
Explanation | The analysis has not ended correctly, because the listed assemblies cannot be loaded. |
User Action | Check that the listed assemblies are been correctly delivered. |
Identifier | DOTNET.0003 |
Message | Unknown exception |
Severity | Error |
Explanation | An exception has occured. the analysis has stopped uncorrectly. |
User Action | Contact CAST support. |
Identifier | DOTNET.0004 |
Message | Trying to save a symbol twice. |
Severity | Error |
Explanation | A .Net object is saved into the database twice. this is an anormal situation. |
User Action | Contact CAST support. |
Identifier | DOTNET.0005 |
Message | Unmanaged database access kind. An error has occured and related external links will not be saved. |
Severity | Error |
Explanation | An 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 Action | Contact CAST support. |
Identifier | DOTNET.0006 |
Message | Unmanaged database access kind. An error has occured and related external links will not be saved. |
Severity | Error |
Explanation | An 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 Action | Contact CAST support. |
Identifier | DOTNET.0007 |
Message | Unknown language. Couldn't load project. |
Severity | Error |
Explanation | The project cannot be loaded as the language is unknown. |
User Action | Contact CAST support. |
Identifier | DOTNET.0008 |
Message | Could not load project {0}. The project will not be analyzed. |
Severity | Error |
Explanation | The project will not be analysez as it cannot be loaded. |
User Action | Contact CAST support. |
Identifier | DOTNET.0009 |
Message | Could not load project. The project will not be analyzed. |
Severity | Error |
Explanation | The project will not be analysez as it cannot be loaded. |
User Action | Contact CAST support. |
Identifier | DOTNET.0010 |
Message | Could not compute GUID for: " + Symbol.Accept(AnalysisSharedObjects.Instance.ManglingVisitor), e); |
Severity | Error |
Explanation | The GUID cannot be calculated for the listed symbol. The symbol cannot be saved and the analysis will be incomplete. |
User Action | Contact CAST support. |
Identifier | DOTNET.0011 |
Message | Analysis of " + project.Path + " has failed. An unexpected error happened leaving the analysis in an unknown state.\r\n" |
Severity | Error |
Explanation | An expected error has happened during the analysis of the project leaving the project in an anexpected state. The analysis is an unknown state. |
User Action | Contact CAST Support. |
Identifier | DOTNET.0012 |
Message | Could not load assembly {0}. No link will be saved toward its objects. (candidates are {1})", assemblyRef.Key, filePaths); |
Severity | Warning |
Explanation | The assembly listed could not be loaded, therefore the links to this assembly cannot be created. |
User Action | Check that the assembly is part of the |
Identifier | DOTNET.0013 |
Message | Failed to compile project " + project.FilePath + ". The project will not be analyzed.", e |
Severity | Warning |
Explanation | An issue has occured and the project cannot be compiled therefore it cannot be analyzed. |
User Action | Please check that the project compile in Visual Studio and add any missing element. if the problem is still present, please contact CAST Support. |
Identifier | DOTNET.0014 |
Message | An error occured when creating link for string ""{0}"": {1}", interpretedString, e.Message |
Severity | Warning |
Explanation | An issue has occured when trying to create a link to the listed string. The analysis results will be incomplete. |
User Action | Conctact the CAST Support. |
Identifier | DOTNET.0015 |
Message | No code behind source code found for " + _fileName |
Severity | Warning |
Explanation | There is no code behind found to the file listed in the message. |
User Action | Please check if there is any code source behind for the listed file and if it is the case contact the CAST Support. |
Identifier | DOTNET.0016 |
Message | WebService directive is missing in " + _fileName |
Severity | Warning |
Explanation | In the asmx file, the web service directive is missing, therefore the analysis can be incomplete. |
User Action | Please check that the web service directive is part of the file. |
Identifier | DOTNET.0017 |
Message | Source language " + WebServiceDirective.Language + " in " + _fileName + " is not supported." |
Severity | Warning |
Explanation | The language present in the file is not supported therefore it will not be analysed. |
User Action | Contact CAST Support |
Identifier | DOTNET.0018 |
Message | WebService ignored : " + _fileName |
Severity | Warning |
Explanation | The web service is ignored and will not be analysed therefore the results of the analysis will be incomplete. |
User Action | Contact CAST Support. |
Identifier | DOTNET.0019 |
Message | Ignored unknown directive \"" + directiveName + "\" in " + _fileName |
Severity | Warning |
Explanation | The directive listed in the asmx file is unknown by the .Net analyser therefore the analysis results will be incomplete. |
User Action | Contact CAST Support. |
Identifier | DOTNET.0020 |
Message | Error while processing visitor: " + astAnalyzer.GetType().Name + ". The analysis results may be incomplete." |
Severity | Warning |
Explanation | An error has occured while processing visitor and the analysis results may be incomplete. |
User Action | Contact CAST Support. |
Identifier | DOTNET.0021 |
Message | Error while processing visitor: " + castilAnalyzer.GetType().Name + ". The analysis results may be incomplete." |
Severity | Warning |
Explanation | An issue has occured during the analysis, during the processing a visitor. the analysis may be incomplete. |
User Action | Contact CAST Support. |
Identifier | DOTNET.0022 |
Message | Error when creating devirtualization link: {0}. The analysis results may be incomplete.", e.Message |
Severity | Warning |
Explanation | An issue has occured when creating devirtualisation links. The results of the analysis may be incomplete. |
User Action | Contact CAST support. |
Identifier | DOTNET.0023 |
Message | Could not trace link for {0}: {1}. The analysis results may be incomplete.", request, e.Message |
Severity | Warning |
Explanation | An issue has occured during the build of the external links therefore the link cannot be created. The analysis may be incomplete. |
User Action | Contact CAST support. |
Identifier | DOTNET.0024 |
Message | Failed to load types from referenced assembly: {0}. The analysis results may be incomplete.", ex.Message |
Severity | Warning |
Explanation | An issue has occured and the types has not been loaded from the indicated assembly. |
User Action | Contact CAST support. |
Identifier | DOTNET.0025 |
Message | Could not load referenced assembly {0} in {1}. The analysis results may be incomplete.", asmName.Value, svcmapFile.FullName |
Severity | Warning |
Explanation | The referenced assembly cannot be loaded therefore the results may be incomplete. |
User Action | Contact CAST support. |
Identifier | DOTNET.0026 |
Message | Failed to generate code for web reference: {0}. The analysis results may be incomplete.", wsdlFile |
Severity | Warning |
Explanation | An issue has occured while generating code for the web reference. the results analysis may be incomplete. |
User Action | Contact CAST support. |
Identifier | DOTNET.0027 |
Message | An error happened while treating {0}. The analysis results may be incomplete.", wsdlFile.FullName |
Severity | Warning |
Explanation | An issue has occured while treating the WSDL file. The results of the analysis may be incomplete. |
User Action | Contact CAST support. |
Identifier | DOTNET.0028 |
Message | An error happened while treating {0}. The analysis results may be incomplete.", xsdFile.FullName |
Severity | Warning |
Explanation | An issue has occured while threating the file therefore the results of the analysis may be incomplete (loss of objects and links). |
User Action | Contact CAST support. |
Identifier | DOTNET.0029 |
Message | DOTNET.0029:Unexpected exception: {0}", ex.Message |
Severity | Warning |
Explanation | An unexpected exception occured with unknown impact on the results of the analysis. |
User Action | Contact CAST support. |
Identifier | DOTNET.0030 |
Message | Failed to generate proxy code for service reference: {0}. The analysis results may be incomplete.", svcmapFile |
Severity | Warning |
Explanation | An 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 Action | Contact CAST support. |
Identifier | DOTNET.0031 |
Message | Failed to create the WSDL importer. The analysis results may be incomplete." |
Severity | Warning |
Explanation | An 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 Action | Contact CAST support. |
Identifier | DOTNET.0032 |
Message | Failed to create the WSDL importer. The analysis results may be incomplete. |
Severity | Warning |
Explanation | An issue has occured and the WSDL importer could not be created. |
User Action | Contact CAST Support. |
Identifier | DOTNET.0033 |
Message | Could not generate {0} files from XAML files: {1} not found. The analysis results may be incomplete.", sourceExtension, exe |
Severity | Warning |
Explanation | Because 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 Action | Contact CAST Support. |
Identifier | DOTNET.0034 |
Message | Could not generate {0} files from XAML files. The analysis results may be incomplete.", sourceExtension |
Severity | Warning |
Explanation | The analyzer can not generate the files from the XAML files that are used for the analysis, therefore the analysis results are incomplete. |
User Action | Contact CAST Support. |
Identifier | DOTNET.0035 |
Message | Could not generate {0} files from XAML files. The analysis results may be incomplete.", sourceExtension |
Severity | Warning |
Explanation | The analyzer can not generate the files from the XAML files that are used for the analysis, therefore the analysis results are incomplete. |
User Action | Contact CAST Support. |
Identifier | DOTNET.0036 |
Message | Failed to generate code for dataset: {0}. The analysis results may be incomplete.", xsdFile |
Severity | Warning |
Explanation | The 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 Action | Concact CAST Support. |
Identifier | DOTNET.0037 |
Message | File could not be loaded: {0}. The analysis results may be incomplete.", file.AbsolutePath |
Severity | Warning |
Explanation | The file cannot be loaded therefore the results of the analysis can be impacted with missing objects and links. |
User Action | Contact CAST support. |
Identifier | DOTNET.0038 |
Message | Missing project dependency: {0}. The analysis results may be incomplete.", projectPathWithCase); |
Severity | Warning |
Explanation | Mising project dependency therefore analysis results may be incomplete. |
User Action | Contact CAST Support. |
Identifier | DOTNET.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." |
Severity | Warning |
Explanation | The 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 Action | Review the application and have sources for only one language in the App_Code folder. |
Identifier | DOTNET.0040 |
Message | Source file is never referenced, and therefore will be ignored: " + source.FullName + ". The analysis results may be incomplete."); |
Severity | Warning |
Explanation | The indicated source file is never referenced by any project, therefore the file will not be taken into account during the analysis. |
User Action | Check that the file is used by a project and if this not the case remove it from the analysis. |
Identifier | DOTNET.0041 |
Message | Source file '{0}' referenced in '{1}' was not found. The analysis results may be incomplete.", codeFile, asmxFile.FullName); |
Severity | Warning |
Explanation | The asmx source file indicated was not found. This will impact the result of the analysis. |
User Action | Check that the asmx source file indicated is part of the project and has been included to the delivery. |
Identifier | DOTNET.0042 |
Message | Source file '{0}' referenced in '{1}' was not found. The analysis results may be incomplete.", codeFile, asmxFile.FullName); |
Severity | Warning |
Explanation | The source file indicated was not found. This will impact the result of the analysis. |
User Action | Check that the source file indicated is part of the project and has been included to the delivery. |
Identifier | DOTNET.0043 |
Message | Could not load assembly " + assdir.AssemblyName + ". The analysis results may be incomplete."); |
Severity | Warning |
Explanation | The indicated assembly could not be loaded. The results of the analysis can be incomplete with fewer objects and links. |
User Action | Check that the assembly is part of the sources and the delivery of the sources has been done without any error and warnings. |
Identifier | DOTNET.0044 |
Message | Source file '{0}' referenced in '{1}' was not found. The analysis results may be incomplete.", srcFile, aspxFile.FullName); |
Severity | Warning |
Explanation | The source file referenced has not been found and therefore cannot be analysed.The result of the analysis will be impacted |
User Action | Check that referenced file is available in the sources and the delivery of the sources has been done without any error or warnings. |
Identifier | DOTNET.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); |
Severity | Warning |
Explanation | As 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 Action | Check 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. |
Identifier | DOTNET.0046 |
Message | Duplicated project path will be ignored: {0}. The analysis results may be incomplete.", castProject.Path); |
Severity | Warning |
Explanation | For 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 Action | Contact CAST Support. |
Identifier | DOTNET.0047 |
Message | Duplicated project path will be ignored: {0}. The analysis results may be incomplete.", castProject.Path |
Severity | Warning |
Explanation | For 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 Action | Contact CAST Support. |
Identifier | DOTNET.0048 |
Message | Error while loading XML document '{0}': {1}. The analysis results may be incomplete.", uri, z.Message |
Severity | Warning |
Explanation | The XML document could not be loaded as an error has occured therefore the results of the analysis could be incomplete. |
User Action | Contact CAST Support. |
Identifier | DOTNET.0049 |
Message | Running managed analyzer for .NET languages |
Severity | Info |
Explanation | The analysis of .net languages has started. |
User Action | None |
Identifier | DOTNET.0050 |
Message | Starting analysis of " + project.Path + " (" + (++i) + " / " + nbProjects + ") |
Severity | Info |
Explanation | The analysis of the project has started. |
User Action | None. |
Identifier | DOTNET.0051 |
Message | Cleaning AST objects out of memory |
Severity | Info |
Explanation | The AST objects are cleaned up from memory. |
User Action | None. |
Identifier | DOTNET.0052 |
Message | Visiting file " + document.FilePath |
Severity | Info |
Explanation | The file indicated is being analysed. |
User Action | None |
Identifier | DOTNET.0053 |
Message | Saving CastIL |
Severity | Information |
Explanation | The CAST Intermediate Language is being saved. |
User Action | None. |
Identifier | DOTNET.0054 |
Message | Calling extensibitity callbacks |
Severity | Info |
Explanation | The operation of calling extensibility callback has started. |
User Action | None |
Identifier | DOTNET.01 |
Message | Visiting file " + document.FilePath |
Severity | Info |
Explanation | The file specified is being analysed. |
User Action | None |
Identifier | DOTNET.0130 |
Message | Memory profile: GC: {0:n0} / Total: {1:n0} / Peak: {2:n0}", GC.GetTotalMemory(gcCollect), p.PrivateMemorySize64, p.PeakWorkingSet64 |
Severity | Info |
Explanation | The profile of the memory consumtion is displayed. |
User Action | None |
Identifier | DOTNET.0131 |
Message | Starting to remove references |
Severity | Info |
Explanation | The operation to remove references has started. |
User Action | None |
Identifier | DOTNET.0056 |
Message | End of removing references |
Severity | Info |
Explanation | The operation of removing referenced has ended. |
User Action | None. |
Identifier | DOTNET.0057 |
Message | Starting to look for external link entry points (dataflow mode) for " + GetDatabaseAccessName(kind) |
Severity | Info |
Explanation | Starting to look for the external links entry points for the specified database. |
User Action | None |
Identifier | DOTNET.0058 |
Message | {x} candidates found, starting external link engine (dataflow mode)", entryPoints.Count |
Severity | Info |
Explanation | A number of candidates found for the external links builder. Starting link engine. |
User Action | None |
Identifier | DOTNET.0059 |
Message | Starting to look for external link entry points (grep mode)" |
Severity | Info |
Explanation | Started to look for the external links entry points for the external link builder. |
User Action | None |
Identifier | DOTNET.0060 |
Message | DOTNET.0060:{0} candidates found, starting external links engine (grep mode)", greppedCandidates.Count |
Severity | Info |
Explanation | A number of candidates for the external link builder have been found, starting external links engine in grep mode. |
User Action | None |
Identifier | DOTNET.0061 |
Message | {0} candidates found, starting dataflow resolution", filteredGreppedCandidates.Count |
Severity | Info |
Explanation | A number of candidates for the external link builder have been found. The dataflow resolution has been started. |
User Action | None |
Identifier | DOTNET.0062 |
Message | DOTNET.0062:IdToSymbol:\t{0}\tIdToProjects:\t{1}\tUsed memory (estimation):\t{2}\t{3}\t{4} |
Severity | Info |
Explanation | The used memory for object in the poject indicated. |
User Action | None |
Identifier | DOTNET.0063 |
Message | Project loaded: " + projectPathWithCase |
Severity | Info |
Explanation | The indicated project has loaded |
User Action | None. |