2010-08-19 15 views
0

运行我的ASP.NET应用程序时出现以下错误。我正在WinXP 64上使用IIS 6.0运行此程序集。程序集已签名,因此需要一个强名称,但除了添加引用并使用dll中的函数之外,我不知道如何解决该错误。我曾尝试在GAC中安装该程序集,但这没有帮助。ASP.NET DLL部分绑定错误

 
=== Pre-bind state information === 
LOG: User = NT AUTHORITY\NETWORK SERVICE 
LOG: DisplayName = random 
(Partial) 
WRN: Partial binding information was supplied for an assembly: 
WRN: Assembly Name: random.dll | Domain ID: 10 
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:///C:/Root/Server/ 
LOG: Initial PrivatePath = C:\Root\Server\bin 
Calling assembly : (Unknown). 
=== 
LOG: This bind starts in default load context. 
LOG: Using application configuration file: C:\Root\Server\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/server/aeb22d03/3a6c0025/random.DLL. 
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/server/aeb22d03/3a6c0025/random/random.DLL. 
LOG: Attempting download of new URL file:///C:/Root/Server/bin/random.DLL. 
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated. 

回答

0

该问题已通过启用.NET v4.0 64位ISAPI扩展来解决。 32位扩展默认是启用的。