The command esesriregasm.exe XXXXX \ XX. dll "/P: desktop/u/s" has been exited during ArcGIS Engine Development. The code is-1 error solution.

Source: Internet
Author: User
Tags windows 7 x64

I have been struggling with my problem for several days. It seems like a very small problem. Compile a good engine system on someone else's machine. Here I am not able to compile it, and even report an error during the cleaning process. The error message is as follows:
The error message displayed in English vs is:
Error 12 the command "esriregasm.exe" C: \ Users \ Chen. CYY-PC \ Desktop \ code_0805 \ dll \ basw.ls \ bin \ debug \ basw.ls. DLL "/P: desktop/u/s" exited with code-1. c: \ Users \ Chen. CYY-PC \ Desktop \ code_0805 \ dll \ basw.ls. csproj 212 5 basw.ls

The error message in Chinese vs is:

The error is caused by Windows 7 x64 + vs2010 + ArcGIS Engine 10.1. I don't know if there are any other ArcGIS versions or operating system environments.

No matter whether I delete the licenses. licx file in the project, compile the project into x86, or set "Interoperability mode" = false for all referenced ArcGIS DLL files. Finally, I tried to manually delete the "bin" directory with the error reported in windows. vs compilation was finally released.
The odd question is that Google cannot find the answer, but it can only be done by itself, but it is better to solve it. There will be a reference in the future.

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.