无法在Web服务器上启动调试."System.Net.DigestClient"的类型初始值设定项引发异常,Unable to debug System.Net.DigestClient throws...

Re: Unable to debug System.Net.DigestClient throws an exception 
  Was this post helpful ?
 

 

Have any of you got a referenced assembly called Security.dll?

I read somewhere that if you have a dll of this name in your web bin folder, this will be used first for any basic security, and, of course, you will not have the relevant methods available.

I got this working by renaming the output of my Security.dll to have a fully qualified assembly name, so as to differentiate it from yer actual security.dll.

 











在微软MSDN上查到这个,意思是说在你的项目下如果有一个DLL的的名称是Security.Dll的话,.Net会认为是它自己的Security.Dll,就会进行相应处理,从而导致错误,将自己的Security.Dll改名,就可以避免此错误。
经过试验,我的项目确实有一个自己的Security.Dll,改名后重新启动IDE,正常。大家可以试一试。


转载于:https://www.cnblogs.com/GavinCome/archive/2008/05/12/1193901.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值