18.04.2015 Views

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPLICATION DEVELOPMENT AND LICENSE INITIALIZATION<br />

Step 3: Initialize the application<br />

Step 4: Check extensions in and<br />

out<br />

The checkout of licenses may fail even though<br />

the availability check was successful. This is<br />

particularly possible in cases in which Desktop<br />

Concurrent licenses were initially available but<br />

may have since been checked out by another<br />

application.<br />

Step 5: Shutdown<br />

Step 1: Check product license<br />

availability<br />

Step 2: Check extension license<br />

availability<br />

Step 3: Initialize the application<br />

Step 4: Check extensions in and<br />

out<br />

The checkout of licenses may fail even though<br />

the availability check earlier in the process was<br />

successful. This is particularly possible in cases<br />

where Desktop Concurrent licenses—instead of<br />

Single Use ones—were initially available but<br />

may have since been checked out by another<br />

application.<br />

Step 5: Shutdown<br />

4. Check out the ArcView product license by initializing the application. If the<br />

license checked out, proceed to the next step in the initialization process. If<br />

not, discontinue this attempt and restart initialization with any tertiary level<br />

of allowable product licensing.<br />

5. Check out the 3D Analyst extension. If the license checked out, proceed with<br />

checkout for any other needed extensions. If the license failed to check out,<br />

discontinue this attempt and restart initialization with any tertiary level of<br />

allowable product licensing.<br />

6. Check out the <strong>ArcGIS</strong> Spatial Analyst extension. Since no other extension<br />

licenses are needed, if the licenses are checked out, the application has been<br />

successfully configured with licenses. If not, discontinue this attempt and<br />

restart initialization with any tertiary level of allowable product licensing.<br />

7. The final step in the initialization process is ensuring that the licenses are<br />

released when the application is shut down.<br />

Attempting initialization with the ArcEditor product license<br />

In this example, if both the first (<strong>ArcGIS</strong> <strong>Engine</strong>) and second (ArcView) product<br />

levels fail to initialize correctly, a third level of licensing—ArcEditor—is available.<br />

The application makes a final attempt to initialize by following the defined<br />

process.<br />

1. Check whether an ArcEditor product license is available. If yes, proceed to<br />

the next step in the initialization process. If not, discontinue this final attempt.<br />

The application cannot run successfully at this time.<br />

2. Determine whether a 3D Analyst extension license is available with the<br />

ArcEditor product license. If yes, proceed with checks for any other needed<br />

extensions. If not, discontinue this final attempt. The application cannot run<br />

successfully at this time.<br />

3. Check whether an <strong>ArcGIS</strong> Spatial Analyst extension license is available with<br />

the ArcEditor product license. If yes, since no other extensions are needed,<br />

proceed to the next step in the initialization process. If not, discontinue this<br />

final attempt. The application cannot run successfully at this time.<br />

4. Check out the ArcEditor product license by initializing the application. If the<br />

license checked out, proceed to the next step in the initialization process. If<br />

the license failed to check out, discontinue this final attempt. The application<br />

cannot run successfully at this time.<br />

5. Check out the 3D Analyst extension. If the license checked out, proceed with<br />

checkout for any other needed extensions. If the license failed to check out,<br />

discontinue this final attempt. The application cannot run successfully at this<br />

time.<br />

6. Check out the <strong>ArcGIS</strong> Spatial Analyst extension. Since no other extension<br />

licenses are needed, if the licenses are checked out, the application has been<br />

successfully configured with licenses. If not, discontinue this final attempt.<br />

The application cannot run successfully at this time.<br />

7. The final step in the initialization process is ensuring that the licenses are<br />

released when the application is shut down.<br />

Chapter 5 • Licensing and deployment • 267

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!