ArcGIS10.1 32-bit and 64-bit problem-solving solutions

Source: Internet
Author: User
Tags postgresql unsupported

After the server became 64, 64-bit background GP has also come out, and desktop, engine still 32, in use because of this 32-bit and 64-bit problems caused by the attendant. Some of these problems in the product to help provide a corresponding solution, a special summary for your reference.


1. ArcGIS Desktop and ArcGIS Server connection SDE Database

(1) Oracle

If the ArcGIS desktop and ArcGIS Server are installed on a single server, you will need to install both the 32Bit and 64Bit database clients. This is because ArcGIS Desktop10.1 is a 32Bit program and we need to install 32Bit Oracle clients to connect directly, but if you need to publish the relevant ArcGIS Server service, because ArcGIS Server10.1 is a 64Bit program, and if you are publishing a direct-attached mxd, then you need to install 64Bit Oracle clients.
The Windows operating system recognizes only the first environment variables, so it needs to put the environment variables of the 32Bit database client ahead, and if ArcGIS Server publishes direct-attached services, you need to put the environment variables of the 64BIT database clients ahead.
If ArcGIS desktop and ArcGIS Server are installed on different machines, you also need to be aware that the desktop Connection requires a 32-bit database client, while the server connection requires 64-bit clients to load.
(2) PostgreSQL

If the ArcGIS desktop and ArcGIS Server are installed on a single server, you will need to install both the 32Bit and 64Bit database client libraries.

The client files required for 64-bit client (Server) connections to the PostgreSQL database include Libeay32.dll, Libintl.dll, Libpq.dll, and Ssleay32.dll, copy these DLL files to the server installation directory bin directory;

The client files required to connect the 32-bit client (Desktop, Engine) to the PostgreSQL database include Libeay32.dll, Libiconv-2.dll, Libintl-8.dll, Libpq.dll, and Ssleay32.dll, copy these files to the desktop installation directory bin directory

If ArcGIS desktop and ArcGIS Server are installed on different machines, you should also pay attention to these issues.

(3) SQL Server
SQL Server installs 64-bit clients while installing a 32-digit client (Microsoft's official web site says: http://technet.microsoft.com/zh-tw/library/ms144259 (v=sql.105)), So you just need to install 64Bit of SQL Server clients.


2, background GP 64-bit operation

If you want to use a custom background 64-bit GP, make sure that you have 64-bit Python2.7.2, NumPy, and matplotlib installed on your computer, if ArcGIS for Server is installed on your computer 10.1, then 64-bit Python will also be installed (default path: C:\Python27\ ArcGISx6410.1, this spooler uses the server's 64-bit python, and if it has no 64-bit Python on its computer, 64-bit Python is installed automatically when the 64-bit spooler is installed.
If you are connecting to an enterprise-class spatial database, you need to install 64-bit database clients, direct-connect also requires 32BIT clients, 64-bit GP uses 64-bit clients, and the desktop uses 32-bit clients. Note that some tools are not capable of running in the background, and the tools that cannot be run in the background are:
Tools in the *metadata conversion (conversion tools) Tool Set
Tools in the *geodatabase administration (Data Management tools) Tool Set
* All Coverage Tools
* Drawing Tool (graphing tools, only the traditional 32-bit background processing)
* Custom scripts, models, or function tools that have been disabled by the user for background processing
Note: The Custom scripting tool may use 64-bit processes, and you need to make sure that no unsupported tools are invoked in the scripting tools. The scripting tools can be executed in the background, but calling unsupported tools can cause failure.


3. Custom Function tool (DLLs)
Custom tools can be used with 64-bit background geo-processing if they are registered or properly configured.


For tools developed with unmanaged languages such as C + +, it is necessary to compile in both 32-bit and 64-bit environments and to register in 32-bit and 64-bit environments.

For example, the tools developed by the managed language such as C #, you only need to create a compiler CPU type of "Any CPU" DLL (compile once) and then in both 32-bit and 64-bit environment to register, you can use 64-bit background geography processing.


4, ArcGIS Engine program connection SDE Database
ArcGIS Engine is a 32-bit application, please refer to the same desktop for database connection.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.