ASP Precompilation failed - An attempt was made to load a program with an incorrect format
I've started doing a regular scan of a VS 2013 product and, at the end of the translate phase I see this message several times:
aspnet_compiler: error ASPCONFIG: Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.
ODAC is installed (both 32bit and 64bit) and seems to be picked up properly as the regular build I'm performing prior to scanning is succesful.
I've tried adding debug and verbose options to the translate phase but the resulting log shows no ASP / ODAC errors...
Some additional info:
Command used for scanning: sourceanalyzer -b %BUILDID% -debug -verbose -logfile %BUILDID%_translate.log devenv Solution.sln /REBUILD Fortify, where BUILD_ID gets replaced at runtime. I have a special "Fortify" configuration because I wanted to skip scanning some modules, but the issue appears regardless of the config used.
Fortify version: 4.31
Any suggestion on what I should try next to debug this?
Thanks and regards,