Re: A first chance exception of type 'System.InvalidProgramException' when adding breakpoints for debugging

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Mon, 05 May 2008 18:33:59 -0700, Pixel.to.life <pixel.to.life@xxxxxxxxx> wrote:

Thanks Pete. Are you an MVP with Microsoft? Because the only useful
information I found in your reply was in ~10% of the text. Rest all I
could throw away. Hah:-)

You could, assuming you are happy getting a reputation as someone not worth helping. People asking for free help and who are impatient are often ignored outright.

Anyways, I appreciate what you suggest, but I am still willing to
understand the problem rather than trying hasty system un/re-installs.

If a reinstall fixes the problem, then there's nothing to "understand". It's a simple matter of some component in the various layers that got corrupted. You could waste a lot of time tracking down exactly what got corrupted, and not come to any useful conclusion except that the fix is to uninstall and reinstall.

On the other hand, if you uninstall and reinstall, all the way down to a clean OS reinstall, and the problem persists then you can confidently start investigating more thoroughly, knowing that the effort will be rewarded with an answer to a consistently reproducible problem.

I doubt you'll get that far, but at least if you do you'll know that you're not wasting your time.

I am running PEVerify.exe on the binary to see if it points out any
glitches in the metadata / intermediate assembly first.

And if there are, then what? If there's some problem with the compiled assembly, all that tells you is that whatever's corrupted is leading to a corrupted assembly.

Btw a thread persists with same question on MSDN forum for Csharp.. no
takers yet.

The fact that no one has a specific answer there should be a strong indication that this isn't a common problem, and that you're unlikely to find anyone here with any better answer than that given already.

Pete
.



Relevant Pages

  • RE: SBS 2003 Fax Service - Cant "Pause Printing" and ...
    ... How about Exchange Server? ... and all outbound fax will go out thru one fax modem. ... I suggest you reinstall the Fax component to see if it help. ... Services'' to uninstall it. ...
    (microsoft.public.windows.server.sbs)
  • Re: Word 2003 Crash on Open
    ... Office uninstall / reinstall as it didn't work previously! ... problems so why did you waste time doing that instead of following the FAQ ... what happens when you start in Safe Mode - THE MOST IMPORTANT TEST ...
    (microsoft.public.word.application.errors)
  • RE: Remote Web Page 403 error
    ... I tried to uninstall the Intranet Compenet and the uninstall is now failing. ... > I uninstalled server tools, It wanted to delete the user shared folders, I ... at lease we need to reinstall these two components. ...
    (microsoft.public.windows.server.sbs)
  • Re: Removing programs and unins000.dat Windows XP Home edition
    ... I've no experience with Onecare so I've no idea ... when the uninstall files have names like ... I have also tried to repair and reinstall the ... first place because I was using download managers from various TV ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: MS Office 2003 on XP
    ... not reinstall. ... Dell said if I did that it would ... I uninstall it then try to install it again with the disc I have it will ...
    (microsoft.public.office.setup)