Disable testing popup

2728
2
04-05-2012 06:53 AM
Labels (1)
CorySchinkel
New Contributor II
Hi,

Is there a way to disable the popup that appears when starting a Runtime application that is using a testing license?  With my old beta 2 license (pre Apr2) I was able to run my code without calling SetLicense in my code but after updating to the new beta license this no longer works (if anyone can explain that I would love to hear it as well).  So now I (and the rest of the dev team) are stuck with the annoyance of dismissing a popup each time we debug our application.

Thanks,
Cory
0 Kudos
2 Replies
MichaelBranscomb
Esri Frequent Contributor
Hi,

By default the ArcGIS Runtime API will first look for your developer license which is established when running the Software Authorization Wizard immediately after the installation. It's possible your central developer license file may now contain the old, expired licenses in addition to the new extended licenses. In order to resolve this you should:

#1. Copy/backup your existing keycodes file:
64-bit OS: "C:\Program Files (x86)\ESRI\License10.1\sysgen\keycodes"
32-bit OS: "C:\Program Files\ESRI\License10.1\sysgen\keycodes"

#2. Open the keycodes file in a text editor and delete the expired license strings

#3. Try your application without the SetLicense call.

#4. If this doesn't work, try rerunning the Software Authorization Wizard (accessed from the start menu > ArcGIS > Runtime SDK 1.0 for WPF > Runtime Tools) providing your new license file.


The license warning message displays when you are setting a developer/test license string. Calling the SetLicense method will override your developer license file but only needs to be used in testing scenarios where the deployment machine does not have a central developer license.

Cheers

Mike
0 Kudos
CorySchinkel
New Contributor II
Thanks Mike, that worked perfectly!
0 Kudos