"Unrecoverable build error" (an unrecoverable build error) error message appears when you generate and deploy a project.

Source: Internet
Author: User
"Unrecoverable build error" (an unrecoverable build error) error message appears when you generate and deploy a project.

Environment: win2003server + vs2003
An error occurred while generating the installation file ".
Previously normal, but this time I added a reference to the COM component,

Using ADOX;

// Create an Access File
ADOX. catalogclass cat = New ADOX. catalogclass ();
Cat. Create ( @" Provider = Microsoft. Jet. oledb.4.0; Data Source = " + File + " ; " );
Cat = Null ;

For the added reference of COMCodeAfter this code is added, a problem occurs.
I started to think that it was caused by adding references to com. But I checked the information and said
This problem is generally caused by a low version of the C:/program files/common files/Microsoft shared/Msi tools/mergemod. dll file. You only need to download a new version and register it.
Download the new mergemod. dll and solve the problem after registration.
Refer:
Microsoft's explanation:
Http://support.microsoft.com/default.aspx? SCID = KB; ZH-CN; 329214
Arui's explanation:Http://arui.cnblogs.com/archive/2005/07/29/202934.html

Appendix:
Microsoft explained:
Symptom
When you try to generate an installation and deployment project created in Visual Studio. NET, you may receive the following error message:
Unrecoverable build Error

Cause
Generally, this problem occurs due to the following reasons: • multiple windows are opened in the Visual Studio. NET development environment.
• In Your Visual Studio. NET project, Multiple folders have the same name.
• Some interfaces in the Registry are missing.
• In the registry, mergemod. dll is not registered or an incomplete mergemod. dll version is registered.
• You have upgraded from Visual Studio. NET beta 2 to release.

 

Solution
• Too many open code and design windows
To solve this problem, close all startup, code, or design windows that are not used in the Visual Studio. NET Interactive Development Environment (IDE. You can access these windows through the tabs or the MDI type of the IDE workspace.
• Multiple folders with the same name
To solve this problem, specify a unique name for each folder in the Visual Studio. NET project.
• Registration loss
Warning if the registry is incorrectly modified using the Registry Editor or other methods, it may cause serious problems. These problems may need to be solved by re-installing the operating system. Microsoft cannot guarantee that you can resolve these problems. You are at your own risk to modify the registry.

To solve this problem, import or manually add lost information in the registry. To do this, follow these steps: 1. Click start and then click Run ". In the open text box, type regedit and click OK to start the Registry Editor.
2. Add the following registry key: • hkey_classes_root/interface/{00020404-0000-0000-c000-000000000046}
Set the default value to ienumvariant.
• Hkey_classes_root/interface/{00020404-0000-0000-c000-000000000046}/nummethods
Set the default value to 7.
• Hkey_classes_root/interface/{00020404-0000-0000-c000-000000000046}/proxystubclsid
Set the default value to {00020421-0000-0000-c000-000000000046}
• Hkey_classes_root/interface/{00020404-0000-0000-c000-000000000046}/proxystubclsid32
Set the default value to {00020421-0000-0000-c000-000000000046}


• Mergemod. dll is incorrectly registered
To solve this problem, register mergemod. dll again. Normally, mergemod. dll is located in the following folder:
C:/program files/common files/Microsoft shared/Msi tools/mergemod. dll
To register mergemod. dll, type the following command at the command prompt and press Enter:
Regsvr32 "C:/program files/common files/Microsoft shared/Msi tools/mergemod. dll"
• Upgrade from Visual Studio. NET beta 2
To solve this problem, delete beta 2 of Visual Studio. NET and reinstall the release. For more information about how to delete Visual Studio. NET beta, click Article To view the articles in the Microsoft Knowledge Base:
312383 (http://support.microsoft.com/kb/312383/) how to delete Visual Studio. NET beta and prerelease

 

Status
This is caused by design.

Arui's explanation:

Today, I am working on an installation project. during compilation, there is always an "irreparable generation error", so I am rolling over the mountains and wading through the mountains, finally, the problem was found in C:/program files/common files/Microsoft shared/Msi tools/mergemod. the dll version is incorrect ~~~~, Version is 1.20.1827.1, the latest version is 2.0.2542.0, on the Internet to find A, when the next, re-register a solution, here also introduce you to a professional search DLL website http://www.webzila.com /? WZ = DLL, pretty good

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.