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 1: Check product license<br />

availability<br />

Step 2: Check extension license<br />

availability<br />

Step 3: Initialize the application<br />

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

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

particularly possible in cases where Desktop<br />

Concurrent licenses were initially available but<br />

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

application.<br />

Step 4: Check extensions in and<br />

out<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 />

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 in<br />

which 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 4: Check extensions in and<br />

out<br />

Attempting initialization with the ArcEditor product license<br />

In this example, a secondary level of licensing is available if the first <strong>ArcGIS</strong><br />

<strong>Engine</strong> product level fails to initialize correctly. The application once again attempts<br />

to initialize by following the defined 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 attempt and<br />

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

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

the ArcEditor product license. If yes, proceed to the next step in the initialization<br />

process. If not, discontinue this attempt and restart initialization with<br />

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

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

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

If the license failed to check out, discontinue this attempt and restart initializationwith<br />

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

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

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

configured with licenses.<br />

If the license failed to check out, discontinue this attempt and restart initialization<br />

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

5. 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 ArcInfo product license<br />

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

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

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

process.<br />

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

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

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

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

the ArcInfo product license. If yes, proceed to the next step in the initialization<br />

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

successfully at this time.<br />

3. Check out the ArcInfo product license by initializing the application. If the<br />

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

cannot run successfully at this time.<br />

4. 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 the license failed to check out,<br />

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

time.<br />

Chapter 5 • Licensing and deployment • 269

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

Saved successfully!

Ooh no, something went wrong!