Hello,
I'm trying to 'Debug with Memory Profiler' form inside Visual Studio 2013. This Web application consumes couple C++/CLI assemblies which are built as 64-bit. As such it can be hosted only under 64-bit IIS Express.
Visual Studio has a setting Tools\Options\Projects and Solutions\Web Projects\Use the 64 bit version of IIS Express so it starts IIS Express from (C:\Program Files\IIS Express). Unfortunately Memory Profiler does not use this setting and starts 32-bit version from C:\Program Files (x86)\IIS Express. This results in "Server Error in '/' Application Could not load file or assembly XXX", BadImageFormatException: Could not load file or assembly 'XXX' or one of its dependencies. An attempt was made to load a program with an incorrect format.
How can instruct Memory Profiler to use 64-bit IIS Express for 'Debug with Memory Profiler' feature?
Thanks,
Georgy
Debug using 64-bit IIS Express
-
- Posts: 1030
- Joined: Wed Mar 02, 2005 7:53 pm
Re: Debug using 64-bit IIS Express
The current version of the profiler will always run the 32-bit version of IIS Express. This is an oversight by us that we have quickly corrected. We have added an option where you can select to use the 64-bit version when profiling IIS Express (see screenshot). When you start profiling an IIS Express project from Visual Studio using "Start Memory Profiler" or "Debug with Memory Profiler", the profiler will now automatically initialize the 64-bit option based on the "Web Projects\Use the 64 bit version of IIS Express" setting.
We have not yet released this fix officially, but you can download the latest installer from http://cdn.memprofiler.com/download/Mem ... _0_118.exe.
Thanks for bringing this to our attention.
We have not yet released this fix officially, but you can download the latest installer from http://cdn.memprofiler.com/download/Mem ... _0_118.exe.
Thanks for bringing this to our attention.
Best regards,
Andreas Suurkuusk
SciTech Software AB
Andreas Suurkuusk
SciTech Software AB
Who is online
Users browsing this forum: No registered users and 10 guests