您的位置:首页 > 其它

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

2008-05-12 16:42 701 查看
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,正常。大家可以试一试。

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐