Domanda

When I start my application I get the following error:

method not found microsoft.visualbasic.msgboxresult

Does anyone know what causes this? I have tried repairing my .NET installation.

Note: This error only occurs on one machine. On every other machine it works fine which makes me think something with the .NET assemblies was corrupted. It was working fine on the broken machine a few days ago.

Proof of Error Message:

Error Message

È stato utile?

Soluzione

It is somewhat likely there are corrupt assemblies in your .NET installation. I have fixed similar problems like this before, and I hope I can share some insights to help you solve this relatively quickly, as it is extremely annoying.

  1. Use this tool here to verify your installation of .NET 2.0. As a note, this can be used to verify any version of the .NET Framework.

  2. Regardless if errors are found, I would try repairing .NET 2.0. If your problem goes away, great. However, if that doesn't work, I would try uninstalling it and then re-installing it.

    • Now, if you're on Vista or Later, you might not actually be able to remove it via Control Panel -> Programs and Settings. If this is the case, the following steps probably won't work either. You might have to repair your OS installation.
  3. If you've done the above steps and you still can't get it to work, or step 2 fails (which can happen on corrupt installations), then you'll want to try using the .NET Framework Cleanup Tool.

    • Read the blog carefully and make sure you understand the risks/caveats related to this tool
    • You will likely have to re-install other version of the .NET framework if you remove .NET 2.0. That is why I listed this step last.

The last time I dealt with this kind of problem, the only thing that worked for me was step 3. Hopefully you have better luck than I did.

Altri suggerimenti

It looks like .NET installation is corrupted. Try to reinstall .NET Framework. Use .NET from Microsoft's website. It is known that some versions of AutoCAD have been shipped with modified version of .NET.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top