简体   繁体   English

无法加载文件或程序集“ MWArray”或其依赖项之一。 试图加载格式错误的程序

[英]Could not load file or assembly 'MWArray' or one of its dependencies. An attempt was made to load a program with an incorrect format

When ever im trying to run my matlab with Asp.NET i'm getting 每当我尝试使用Asp.NET运行Matlab时,我都会

"Could not load file or assembly 'MWArray' or one of its dependencies. An attempt was made to load a program with an incorrect format" “无法加载文件或程序集'MWArray'或其依赖项之一。试图加载格式错误的程序”

error. 错误。 I tried to change CPU from x86 to x64 to Any CPU but none of them working. 我试图将CPU从x86更改为x64,再改为Any CPU,但是它们都不起作用。 Even i configured IIS server but fail to load assembly. 即使我配置了IIS服务器,但无法加载程序集。

I am referencing this dll too and here are my configuration of the project that references it that actually work: 我也引用了这个dll,这是我对实际起作用的项目的配置:

在此处输入图片说明

I don't know exactly what your configuration, it would help if you add more info. 我不知道您的配置是什么,如果您添加更多信息,它将有所帮助。 Can you make console app and try if this configuration works, then continue to web app like you actually do. 您能否制作控制台应用程序并尝试该配置是否有效,然后像实际一样继续使用Web应用程序。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载文件或程序集xxx或其依赖项之一。 试图加载格式错误的程序。 - Could not load file or assembly xxx or one of its dependencies. An attempt was made to load a program with an incorrect format. 无法加载文件或程序集“xxx”或其依赖项之一。 试图加载格式不正确的程序 - Could not load file or assembly 'xxx' or one of its dependencies. An attempt was made to load a program with an incorrect format BadImageFormatException 无法加载文件或程序集或其依赖项之一。 试图加载格式不正确的程序 - BadImageFormatException Could not load file or assembly or one of its dependencies. An attempt was made to load a program with an incorrect format 无法加载文件或程序集“...”或其依赖项之一。 试图加载格式不正确的程序 - Could not load file or assembly '...' or one of its dependencies. An attempt was made to load a program with an incorrect format 无法加载文件或程序集“sapnco”或其依赖项之一。 试图加载格式不正确的程序 - Could not load file or assembly 'sapnco' or one of its dependencies. An attempt was made to load a program with an incorrect format 无法加载文件或程序集“SharpSvn”或其依赖项之一。 尝试加载格式不正确的程序 - Could not load file or assembly 'SharpSvn' or one of its dependencies. An attempt was made to load a program with an incorrect format 无法加载文件或程序集“ MyLibrary”或其依赖项之一。 试图加载格式错误的程序 - Could not load file or assembly 'MyLibrary' or one of its dependencies. An attempt was made to load a program with an incorrect format 无法加载文件或程序集“ Oracle.DataAccess”或其依赖项之一。 试图加载格式错误的程序。 缓存 - Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format. Ncache 无法加载文件或程序集“ myApp.Web”或其依赖项之一。 试图加载格式错误的程序 - Could not load file or assembly 'myApp.Web' or one of its dependencies. An attempt was made to load a program with an incorrect format 无法加载文件或程序集“JsonFx.Json”或其依赖项之一。 尝试加载格式不正确的程序 - Could not load file or assembly 'JsonFx.Json' or one of its dependencies. An attempt was made to load a program with an incorrect format
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM