"Exception from HRESULT: 0x8007000B "

3 visualizaciones (últimos 30 días)
Bharathwaj Murali
Bharathwaj Murali el 22 de En. de 2016
Comentada: Walter Roberson el 22 de En. de 2016
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 comentario
Walter Roberson
Walter Roberson el 22 de En. de 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?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by