Visual Studio Developer Center > Visual Studio Forums > Visual Studio Debugger > Unable to debug System.Net.DigestClient throws an exception
Ask a questionAsk a question
 

AnswerUnable to debug System.Net.DigestClient throws an exception

  • Wednesday, January 04, 2006 8:35 PMmselman Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I converted a VS2003 application to a VS2005 application. I have no errors and no warnings when I compile. When I attempt to run I get the error:

     

    Unable to start debugging on the web server. The type initializer for 'System.Net.DigestClinet' threw an exception.

    Any thoughts on how to fix this?

Answers

  • Friday, November 17, 2006 9:18 PMNoah CoadModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    There hasn't been any activity on this thread for awhile, but there is good content here so I'm going to close this thread by marking it as answered.  If they thread originator would like to revive the thread, they can unmark it as answered.  Thanks.  -Noah Coad, VS Debugger PM

All Replies

  • Thursday, January 05, 2006 6:43 PMGregg MiskellyMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I am assuming this is an IIS web application. Is this correct?

    Do you have the same problem for all web applications?

    Do you have the same problem on all computers?

  • Thursday, January 05, 2006 6:47 PMmselman Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Yes this is an IIS web application.

    I have hte same problem for any web application I try to convert. I do not get the error if I start a new project from scratch.

    I have not tried it on any other computers as I am the first developper to attempt to do this at my company.

  • Monday, January 09, 2006 10:06 PMGregg MiskellyMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    When you started from scatch, did you also make an IIS-based application?
  • Wednesday, January 11, 2006 8:10 PMmselman Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Yes I also made an IIS based application starting from scratch. I made a watered down version of what my converted application does.
  • Saturday, January 21, 2006 5:59 PMkitpan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    i have the same problem with,and even worth i can't debug any iis web applications include create a new one,SOS!
  • Thursday, February 02, 2006 11:34 PMRH63 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I am having the same problem.  Did you ever get a solution to this issue?  This is happening with both new and converted applications.

     

     

  • Monday, February 06, 2006 1:28 PMmselman Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Nope still haven't gotten a resolution for this.
  • Wednesday, February 22, 2006 7:37 PMJackDanielsDrinker Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Anyone get this resolved?  I have the exact same problem.  There is very little in Google on this.  I can't even find System.Net.DigestClient in the framework.

     

    Thanks,

    Charles

  • Thursday, February 23, 2006 1:01 PMdork Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Me too.. cannot debug from the IDE... I can of course attach to the asp.net process and do it that way, but it is a pain to have to do this each time I want to try something out.

    I tried setting the security loads of different ways but no luck. Nothing in the Event log. No details ANYWHERE!

    Absolutely no help anywhere!

    How do you register a bug at Microsoft?

  • Thursday, February 23, 2006 9:08 PMGregg MiskellyMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    To open a bug: http://lab.msdn.microsoft.com/ProductFeedback/

    We would be interested in knowing your operating system version, and anything about your IIS configuration that you think might be helpful in reproducing the problem.

    Thanks!

  • Friday, February 24, 2006 9:37 AMkitpan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    maybe something wrong with the config things between framework1 and frame work 2.0,this happend both on server 2003 & xp pro, but i just meet this trouble with projects convert from vs2003,now i find a stupid way to avoid this problem:

    open you vs2005  then set up a new iis site project,then run it ,every thing is ok, after this,close the current project (just close the current project not the vs2005) and open your trouble project in the same ide window ,everything should be allright now. not a smart way but it works. maybe vs2005 ide just wanna start from a framework 2.0 project ..hehe,BTW VS2005 still is a nice product ,i love ms ^_^.

  • Friday, February 24, 2006 2:02 PMdork Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    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.

  • Sunday, February 26, 2006 6:03 AMkitpan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks dork, u got the point
  • Friday, November 17, 2006 9:18 PMNoah CoadModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    There hasn't been any activity on this thread for awhile, but there is good content here so I'm going to close this thread by marking it as answered.  If they thread originator would like to revive the thread, they can unmark it as answered.  Thanks.  -Noah Coad, VS Debugger PM
  • Monday, November 20, 2006 5:51 PMToolsmith Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Did it ever occur to you that there's been no activity because YOU haven't answered the question??

    Your signature line indicates that you are the VisualStudio Debugger Project Manager, if that's true why don't YOU provide US an answer!!??!!

  • Thursday, December 21, 2006 7:47 PMeson.stanfordmed Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    was having similiar situation with same error message.  try removing references and readding them, and restart solution/project...
  • Wednesday, January 17, 2007 8:20 AMgilad g Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks, dork

    I was experiencing the same issue - i had a DLL called Security.dll. 

    After renaming it, the problem's gone :)

  • Tuesday, February 27, 2007 2:28 PMDavid Trussler Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    You guys are right - there is precious little on this out on Google.  I ran into the same problem and tried fully qualifying the assembly name of my custom Security.dll assembly, as suggested above, but it didn't help.  In the end I just bit the bullet and renamed it lock, stock and barrel and the problem went away.
  • Tuesday, March 13, 2007 3:04 AMsaiswa Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I got this exact error and your solution works! :) Thank you for posting this...
  • Monday, May 07, 2007 11:17 PMShawn_H Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Nice Dork,

     

    That was my problem, I created a new security project last week, forgot to fully qualify the assembly name when I created it, got pulled off on something else, and a week later after i cranked up VS with this solution, i had the problem.

     

    Fully qualfying the Security.dll to CompanyName.Security.dll solved the issue.