"Exception from HRESULT: 0x8007000B "
3 views (last 30 days)
Show older comments
I am using an 64 bit Windows OS. Which has MATLAB 64 bit installed. I added MWArray.dll to my project in Visual studio 2013. When I run the web application I get the following exception:
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Previously this worked in a 32 bit windows OS. Which has a 32 bit Matlab installed. And the Visual studio version is 2010. Is this error caused due to 64 Bit Matlab ?
1 Comment
Walter Roberson
on 22 Jan 2016
Is your project a 32 bit project or a 64 bit project? Is the MWArray.dll that you are adding the 32 bit version or the 64 bit version?
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!