arcMap addin tool issue: it closes the arcMap as we click the addin button

2850
6
12-17-2015 04:19 AM
TabraizAhmed
New Contributor II

hello, how are you all

Can any body help me out with an issue raised with my arcmap tool, I have recently made a tool for arcmap its working good but the issue is the issue is that is some systems THE ARCMAP IS CLOSED as we click the button. i dont know what this issue is, somewhere its working ok but in some systems it's not.  

Tags (1)
0 Kudos
6 Replies
RebeccaStrauch__GISP
MVP Emeritus

I'm assuming the various systems are using the same version/patches of ArcGIS ?

If it is working on some and not others, you may want to try Resetting your ArcGIS application profile​ on the machines that are not working to see if that fixes the issue.

0 Kudos
FreddieGibson
Occasional Contributor III

Is this a Python addin or a .NET Addin?

TabraizAhmed
New Contributor II

its a .net addin

0 Kudos
KenBuja
MVP Esteemed Contributor

Does it close or does it crash?

0 Kudos
TabraizAhmed
New Contributor II

its close. it exits arcmap

0 Kudos
KenBuja
MVP Esteemed Contributor

Sometimes when there is an uncaught error, ArcMap will shut down. I would suggest adding in Try..Catch blocks in your code to see if there are errors occurring that cause a fatal failure.

0 Kudos