VS no longer allow debugging of Epicor

Hello to all!

I used to be able to use my debug from my VS 2010. ( I had installed the VS2017 PRO and debug was not available. ) So I kept 2010.

Recently I did use my 2017 env for an internal project (not epicor related) since then, I no longer able to debug under Epicor. (may not be related… but before I was able to debug and since I am not…)

I get the following error HRESULT

Exception caught in: VisualStudioDebugHelper

Détail erreur 
=============
Message: Exception de HRESULT : 0x8971001E
Programme: VisualStudioDebugHelper.dll
Méthode: Attach2

Suivi pile client 
=================
   à EnvDTE80.Process2.Attach2(Object Engines)
   à Ice.Lib.Customization.VisualStudioHelper.AttachToProcess(DTE2 instance, Int32 processId)
   à Ice.Lib.Customization.CustomizationDebugHelper.FilteredDebugInto(Int32 processId, String fileName, Int32 line, Int32 character)
   à Ice.Lib.Customization.CustomizationDebugHelper.<>c__DisplayClass6_0.<DebugInto>b__0()
   à Ice.Lib.Customization.OleMessageFilter.DoInFilter[TResult](Func`1 action)
   à Ice.Lib.Customization.CustomizationDebugHelper.DebugInto(Int32 processId, String fileName, Int32 line, Int32 character)
   à Ice.Lib.Customization.CustomScriptManager.DebugIntoCustomCode(String fullSource, String sourceFileName)

I uninstalled 2019 Community, rebooted , get error.
I uninstalled 2017 PRO, rebooted the debug option was greyed out.
I installed 2017 community, rebooted, got the error.

I reviewed some similar issues indicated about looking into the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DevDiv\vs\Servicing
and I do not seem to have similiar info: here is the current view:
image

When I installed I did not install all of it, just the c#…

So I desparatly need some help to make all this work again… otherwise I cannot work efficiently!

Anyone could provide a “pistes de solutions”?

Thank you.

If you are in 10.2.600.9 then you should be able to debug using VS 2017 or 2019

I know…that is what I have read in other blogs… but I keep getting that HResult error…I close the window and the form opens but not under the debug mode…of course…

Pierre

You must use the English Version of Visual Studio. It won’t work with French.

Yes, I also encountered the same problem, but I resolved it after reinstalling the English version of VS 2019 Community,
and In VS Tools - >Options -> Environment > International Settings, must be keep as English.

image

1 Like

To resolve, I had to format my disk, re-install as new my Windows and installed my VS and all my apps. My install was too corrupted…

It was a drastic solution but it Works now!

AND yes by mistake I installed the french version and got the Hresult error…change the language to english and worked .

Thank you all for your help…