Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 无法加载文件或程序集xxx或其依赖项之一。试图加载格式不正确的程序_Asp.net_Visual Studio - Fatal编程技术网

Asp.net 无法加载文件或程序集xxx或其依赖项之一。试图加载格式不正确的程序

Asp.net 无法加载文件或程序集xxx或其依赖项之一。试图加载格式不正确的程序,asp.net,visual-studio,Asp.net,Visual Studio,我检查了所有类似的问题,但没有解决方案: 我将web应用程序构建属性设置为:所有配置的任何CPU。(我也尝试了所有的组合)-这是解决类似问题的主要方法 此外,在应用程序池中,我将32位应用程序设置为TRUE。 我在IIS 7.5上运行我的网站 我的web应用程序是在没有错误的情况下构建的,但是当我运行它时,我从日志中得到以下错误: *** Assembly Binder Log Entry (23.3.2016 @ 9:51:19) *** The operation failed. Bin

我检查了所有类似的问题,但没有解决方案: 我将web应用程序构建属性设置为:所有配置的任何CPU。(我也尝试了所有的组合)-这是解决类似问题的主要方法

此外,在应用程序池中,我将32位应用程序设置为TRUE。 我在IIS 7.5上运行我的网站

我的web应用程序是在没有错误的情况下构建的,但是当我运行它时,我从日志中得到以下错误:

*** Assembly Binder Log Entry  (23.3.2016 @ 9:51:19) ***

The operation failed.
Bind result: hr = 0x8007000b. An attempt was made to load a program with an     incorrect format.

Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable  C:\WINDOWS\SysWOW64\inetsrv\w3wp.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: DisplayName = SM.EORD.Web
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: SM.EORD.Web | Domain ID: 3
WRN: A partial bind occurs when only part of the assembly display name is   provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the   assembly,
WRN: that consists of the simple name, version, culture, and public key  token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase =   file:///D:/Documents/Projekti/TFSProd/eOrdering/Main/Source/SM.EORD/SM.EORD.Web/
LOG: Initial PrivatePath =   D:\Documents\Projekti\TFSProd\eOrdering\Main\Source\SM.EORD\SM.EORD.Web\bin
LOG: Dynamic Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary    ASP.NET Files\eorddev\883938bb
LOG: Cache Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary   ASP.NET Files\eorddev\883938bb
LOG: AppName = ad349442
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:   D:\Documents\Projekti\TFSProd\eOrdering\Main\Source\SM.EORD\SM.EORD.Web\web.conf ig
LOG: Using host configuration file:   C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET   Files/eorddev/883938bb/ad349442/SM.EORD.Web.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/eorddev/883938bb/ad349442/SM.EORD.Web/SM.EORD.Web.DLL.
LOG: Attempting download of new URL file:///D:/Documents/Projekti/TFSProd/eOrdering/Main/Source/SM.EORD/SM.EORD.Web/bin/SM.EORD.Web.DLL.
LOG: Assembly download was successful. Attempting setup of file: D:\Documents\Projekti\TFSProd\eOrdering\Main\Source\SM.EORD\SM.EORD.Web\bin\SM.EORD.Web.dll
LOG: Entering download cache setup phase.
LOG: Assembly Name is: SM.EORD.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
ERR: Invalid assembly platform or ContentType in file (hr = 0x8007000b).
ERR: Setup failed with hr = 0x8007000b.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.

*** Assembly Binder Log Entry  (23.3.2016 @ 9:51:19) ***

The operation failed.
Bind result: hr = 0x8007000b. An attempt was made to load a program with an incorrect format.

Assembly manager loaded from:   C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable  C:\WINDOWS\SysWOW64\inetsrv\w3wp.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: DisplayName = SM.EORD.Web
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: SM.EORD.Web | Domain ID: 3
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///D:/Documents/Projekti/TFSProd/eOrdering/Main/Source/SM.EORD/SM.EORD.Web/
LOG: Initial PrivatePath = D:\Documents\Projekti\TFSProd\eOrdering\Main\Source\SM.EORD\SM.EORD.Web\bin
LOG: Dynamic Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\eorddev\883938bb
LOG: Cache Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary  ASP.NET Files\eorddev\883938bb
LOG: AppName = ad349442
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:   D:\Documents\Projekti\TFSProd\eOrdering\Main\Source\SM.EORD\SM.EORD.Web\web.config
LOG: Using host configuration file:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET   Files/eorddev/883938bb/ad349442/SM.EORD.Web.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/eorddev/883938bb/ad349442/SM.EORD.Web/SM.EORD.Web.DLL.
LOG: Attempting download of new URL file:///D:/Documents/Projekti/TFSProd/eOrdering/Main/Source/SM.EORD/SM.EORD.Web/bin/SM.EORD.Web.DLL.
LOG: Assembly download was successful. Attempting setup of file: D:\Documents\Projekti\TFSProd\eOrdering\Main\Source\SM.EORD\SM.EORD.Web\bin\SM.EORD.Web.dll
LOG: Entering download cache setup phase.
LOG: Assembly Name is: SM.EORD.Web, Version=1.0.0.0, Culture=neutral,  PublicKeyToken=null
ERR: Invalid assembly platform or ContentType in file (hr = 0x8007000b).
ERR: Setup failed with hr = 0x8007000b.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
有什么想法吗


br,Simon

可能完全重复。这个确切的问题以前已经被问过很多次了。