asp.net下出现组件访问被拒绝错误
xxxhn 2005-08-31 03:49:06 一个dll,调用了第三方的dll(不受控制的)
然后用桌面程序可以使用这个dll
但在asp.net的reference里添加这个dll后,web程序运行时出现组件调用被拒绝的错误
网上找到的信息大多是让我停掉Index services,但我停掉后也没用,不知道大家遇到这种情况么?一般原因会出现在哪里?多谢
附加错误信息:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: File or assembly name WebClusterMC, or one of its dependencies, was not found.
Source Error:
Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>
Source File: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 198
Assembly Load Trace: The following information can be helpful to determine why the assembly 'WebClusterMC' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = WebClusterMC
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/Simulate
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: WebClusterMC
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/simulate/98de1795/5e460da7/WebClusterMC.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/simulate/98de1795/5e460da7/WebClusterMC/WebClusterMC.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/Simulate/bin/WebClusterMC.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: WebClusterMC, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032