"Couldn't find ArcMap Controller"
I'm running Windows 7 32-bit as an administrator of the local machine. With ArcMap 10 SP 5 open, I have a polygon selected in a personal geodatabase. From DNRGPS Ver. 6.0.0.15, I click File > Load From > ArcMap > Layer and get the "Controller_Set" window with "dnrgps - Couldn't find ArcMap Controller".
I've tried uploading the selected graphic after converting the polygon to a graphic and get the same error. I has worked from time to time, but I'm not sure what changes to make it work.
Any ideas?
I've tried uploading the selected graphic after converting the polygon to a graphic and get the same error. I has worked from time to time, but I'm not sure what changes to make it work.
Any ideas?
Leave a comment
Lance,
Very interesting, and potentially useful information.
I don't know of anything available to our code that can turn off ArcGIS Online, or more importantly, effectively convince ArcGIS that your network is unavailable.
Unfortunately, many of us rely on a network connection to get to a license server, and dnrgps works fine for most of use with a network connection.
There must be something else at play. Nevertheless, this is the best clue I've had so far.
Thanks
-Regan
p.s. I'm going to post your response in Assembla, for help debugging this problem
On Fri, Jan 11, 2013 at 8:29 AM, Case, Lance <l.case@huber.com> wrote:
Hi Regan,
Well isn’t that somethin’?! I was thinking about our forester starting his computer away from his office and successfully loading data into his GPS unit from ArcMap. What’s different, and why it works on my laptop at the office but not my desktop, is the internet connection. I disabled my NIC card and restarted my desktop and everything works just fine. However, the minute I enable the network card, I get the controller error. Even if I turn off the NIC card, I continue to get the error. The only way to make it work again is to disable the NIC card (or unplug my ethernet cable) and restart my computer.
I’ve been trying to figure out how to disable the ArcGIS Online connection, but there doesn’t seem to be an easy solution. Lots of people have complained about this in the ESRI user forums. In 10.1 SP1, there is supposed to be an option to disable the ArcGIS Online connection. I don’t have it installed on any of our computers yet, so I can’t test it today.
Would it be any easier for you to address this in your code?
Thanks,
Lance
Lance Case | IT/GIS Support Specialist | Huber Resources Corp. | P.O. Box 554, Old Town, ME 04468 | p: 207.827.7195 x.133 | l.case@huber.com
Lance,
The error message is somewhat misleading. The ArcMap Controller is not a file on disk. The dll that contains the code for the controller has been loaded, otherwise you would be getting a different error. The message actually means that the dnrgps process was unable to establish communication with the ArcMap process. If I recall correctly I was experiencing a related problem intermittently during development, and ESRI was not very helpful in troubleshooting the problem as they could not reproduce the problem. As I was the only developer/tester to have this problem, we pushed forward. As far as I know, you are also the only user in the wild to have this problem. (note: I haven't had the problem as a user, only intermittently while developing the code).
I'm not aware of any changes to the dnrgps code between the 6.0.0.0 and 6.0.0.15 that are related to this arcmap <-> dnrgps communication, which leads me to believe it must be stemming from some obscure quirk in the OS.
You might try
launching ArcMap first, then launch dnrgps, or visa versa
in arcmap do file->new, then file->open, to reload your file.
closing/opening arccatalog, arcscene, or any other ESRI products
hopefully, something different than normal may get it to work, or give us a clue as to how to move forward
Also, any clues from your forester as to what might have been different between it working and not working would be great. There has to be something besides Gremlins.
-Regan
Very interesting, and potentially useful information.
I don't know of anything available to our code that can turn off ArcGIS Online, or more importantly, effectively convince ArcGIS that your network is unavailable.
Unfortunately, many of us rely on a network connection to get to a license server, and dnrgps works fine for most of use with a network connection.
There must be something else at play. Nevertheless, this is the best clue I've had so far.
Thanks
-Regan
p.s. I'm going to post your response in Assembla, for help debugging this problem
On Fri, Jan 11, 2013 at 8:29 AM, Case, Lance <l.case@huber.com> wrote:
Hi Regan,
Well isn’t that somethin’?! I was thinking about our forester starting his computer away from his office and successfully loading data into his GPS unit from ArcMap. What’s different, and why it works on my laptop at the office but not my desktop, is the internet connection. I disabled my NIC card and restarted my desktop and everything works just fine. However, the minute I enable the network card, I get the controller error. Even if I turn off the NIC card, I continue to get the error. The only way to make it work again is to disable the NIC card (or unplug my ethernet cable) and restart my computer.
I’ve been trying to figure out how to disable the ArcGIS Online connection, but there doesn’t seem to be an easy solution. Lots of people have complained about this in the ESRI user forums. In 10.1 SP1, there is supposed to be an option to disable the ArcGIS Online connection. I don’t have it installed on any of our computers yet, so I can’t test it today.
Would it be any easier for you to address this in your code?
Thanks,
Lance
Lance Case | IT/GIS Support Specialist | Huber Resources Corp. | P.O. Box 554, Old Town, ME 04468 | p: 207.827.7195 x.133 | l.case@huber.com
Lance,
The error message is somewhat misleading. The ArcMap Controller is not a file on disk. The dll that contains the code for the controller has been loaded, otherwise you would be getting a different error. The message actually means that the dnrgps process was unable to establish communication with the ArcMap process. If I recall correctly I was experiencing a related problem intermittently during development, and ESRI was not very helpful in troubleshooting the problem as they could not reproduce the problem. As I was the only developer/tester to have this problem, we pushed forward. As far as I know, you are also the only user in the wild to have this problem. (note: I haven't had the problem as a user, only intermittently while developing the code).
I'm not aware of any changes to the dnrgps code between the 6.0.0.0 and 6.0.0.15 that are related to this arcmap <-> dnrgps communication, which leads me to believe it must be stemming from some obscure quirk in the OS.
You might try
launching ArcMap first, then launch dnrgps, or visa versa
in arcmap do file->new, then file->open, to reload your file.
closing/opening arccatalog, arcscene, or any other ESRI products
hopefully, something different than normal may get it to work, or give us a clue as to how to move forward
Also, any clues from your forester as to what might have been different between it working and not working would be great. There has to be something besides Gremlins.
-Regan