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
...全文
89 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
NoThatNo 2005-12-19
  • 打赏
  • 举报
回复
woding
zbyh331 2005-12-19
  • 打赏
  • 举报
回复
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.

提示你配制文件有错啊
引用文件名WebClusterMC没找到,加个NAMESPACE看看?
yichuan1982 2005-09-01
  • 打赏
  • 举报
回复
没遇到过
你是怎么引用的?

62,046

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧