Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4998 Discussions

"File is not executable binary" error

Torsten_Hoff
Beginner
759 Views
I just installed Inspector XE 2011 Update 10 (build 233717) and any binary I navigate to when creating a project returns a "File xyz.exe is not executable binary." error. This is on Windows 7 Ultimate SP1 with Visual Studio 2010, and happens both integrated into VS2010 and when using the standalone version of IXE.

Strangely, if I browse for another file and then return to the original file, the error message sometimes does not appear. When using IXE integrated into VS2010 that's a bigger problem since the VS2010 project dictates the binary.
0 Kudos
4 Replies
Mark_D_Intel
Employee
759 Views
Is there anything strange about the executable name - non-ASCII characters, special characters, etc? (Given that the problem is intermittent, this is probably not the issue, but I'll ask anyway.)

Is the executable on a local filesystem?

Is there a virus scanner running? Occasionally we've seen problems where a virus scanner interferes with opening a file.

Mark
0 Kudos
Torsten_Hoff
Beginner
759 Views
The file names are simple and are composed entirely of alphabetic ASCII characters. There is a realtimeAV scanner running but the folders where the source and binaries are located are excluded from scanning. The problem even occurs when the AV scanner is entirely disabled.
0 Kudos
Mark_D_Intel
Employee
759 Views
Could you run Process Explorer (or Process Monitor) to see if another process has the target executable open?

Mark
0 Kudos
Torsten_Hoff
Beginner
759 Views
I checked all of the operations for the binary that is the target for the project, and they all succeed:

"Time of Day","Process Name","PID","Operation","Path","Result","Detail"

"5:22:22.4051533 PM","devenv.exe","5900","CreateFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened"

"5:22:22.4052088 PM","devenv.exe","5900","QueryBasicInformationFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","CreationTime: 8/15/2012 12:41:48 PM, LastAccessTime: 8/15/2012 12:41:48 PM, LastWriteTime: 8/15/2012 12:42:11 PM, ChangeTime: 8/15/2012 12:42:11 PM, FileAttributes: ANCI"

"5:22:22.4052389 PM","devenv.exe","5900","CloseFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS",""

"5:22:22.4054267 PM","devenv.exe","5900","CreateFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened"

"5:22:22.4055007 PM","devenv.exe","5900","QueryBasicInformationFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","CreationTime: 8/15/2012 12:41:48 PM, LastAccessTime: 8/15/2012 12:41:48 PM, LastWriteTime: 8/15/2012 12:42:11 PM, ChangeTime: 8/15/2012 12:42:11 PM, FileAttributes: ANCI"

"5:22:22.4055291 PM","devenv.exe","5900","CloseFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS",""

"5:22:24.1394502 PM","devenv.exe","5900","CreateFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened"

"5:22:24.1395051 PM","devenv.exe","5900","QueryBasicInformationFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","CreationTime: 8/15/2012 12:41:48 PM, LastAccessTime: 8/15/2012 12:41:48 PM, LastWriteTime: 8/15/2012 12:42:11 PM, ChangeTime: 8/15/2012 12:42:11 PM, FileAttributes: ANCI"

"5:22:24.1395337 PM","devenv.exe","5900","CloseFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS",""

"5:22:24.1397187 PM","devenv.exe","5900","CreateFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened"

"5:22:24.1397620 PM","devenv.exe","5900","QueryBasicInformationFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","CreationTime: 8/15/2012 12:41:48 PM, LastAccessTime: 8/15/2012 12:41:48 PM, LastWriteTime: 8/15/2012 12:42:11 PM, ChangeTime: 8/15/2012 12:42:11 PM, FileAttributes: ANCI"

"5:22:24.1397891 PM","devenv.exe","5900","CloseFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS",""

"5:22:32.4642723 PM","devenv.exe","5900","CreateFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened"

"5:22:32.4643293 PM","devenv.exe","5900","QueryBasicInformationFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","CreationTime: 8/15/2012 12:41:48 PM, LastAccessTime: 8/15/2012 12:41:48 PM, LastWriteTime: 8/15/2012 12:42:11 PM, ChangeTime: 8/15/2012 12:42:11 PM, FileAttributes: ANCI"

"5:22:32.4643586 PM","devenv.exe","5900","CloseFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS",""

"5:22:32.4645488 PM","devenv.exe","5900","CreateFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened"

"5:22:32.4645926 PM","devenv.exe","5900","QueryBasicInformationFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS","CreationTime: 8/15/2012 12:41:48 PM, LastAccessTime: 8/15/2012 12:41:48 PM, LastWriteTime: 8/15/2012 12:42:11 PM, ChangeTime: 8/15/2012 12:42:11 PM, FileAttributes: ANCI"

"5:22:32.4646213 PM","devenv.exe","5900","CloseFile","C:\Build\0.100\Output\project\Bin.idu\test.dll","SUCCESS",""

0 Kudos
Reply