ERROR

Runtime Error when connecting to ArcGIS Server license in Windows Service

Last Published: April 25, 2020

Error Message

When creating an Engine application, the following error may be returned at runtime:

Failed to bind to an ArcGIS Server runtime. Ensure that the specified runtime is installed before running this application.

Cause

This error occurs when the code binds to the ArcGIS Server product, and the target platform in Visual Studio is set to 32-bit.

Solution or Workaround

When binding to the ArcGIS Server product, the target platform in Visual Studio must be set to 64-bit because ArcGIS Server is a 64-bit product.

Article ID: 000014555

Software:
  • ArcObjects SDK Microsoft NET Framework
  • ArcGIS Engine
  • ArcGIS Server

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options