"Exception from HRESULT: 0x8007000B "

3 ビュー (過去 30 日間)
Bharathwaj Murali
Bharathwaj Murali 2016 年 1 月 22 日
コメント済み: Walter Roberson 2016 年 1 月 22 日
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 件のコメント
Walter Roberson
Walter Roberson 2016 年 1 月 22 日
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?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by