Arcengine attempt to read or write protected memory

Source: Internet
Author: User

Let's talk about my development environment:

Win10 + ArcGIS10.0 + ArcEngine10.0 + Framework4.0

The new GP tool that is called today appears "trying to read or write protected memory." This usually indicates that other memory is corrupted "exception (in this environment, yesterday, I was able to call GP normally). For this problem, there are two strange things: first, the environment has not changed, yesterday can be normal call GP, call any GP today error; second, the code written yesterday is still able to perform the GP normally.

Baidu, Google a day, in addition to check the code itself, but also tried various aspects of testing: License permissions issues, COM objects are not released, database schema lock, database name, database format, feature class, config configuration file, etc., have not been resolved!

Netizens also have a variety of explanations for this issue, such as:

Http://www.cnblogs.com/summer_adai/p/3412514.html

Final Solution

Download and install the ArcGIS 10.0 SP5, download link:

http://support.esri.com/en/downloads/patches-servicepacks/view/productid/67/metaid/1876

I first ruled out the environmental problem (because yesterday was also the environment did not appear this situation, as for why, I do not know, the need for advanced people to explain), the equivalent of me along the opposite direction ...

Arcengine attempt to read or write protected memory

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.