petecoales
Posts: 2
Joined: Thu Jul 10, 2014 11:10 am

Error building project

Hi

I'm receiving the following error when trying to build my project:

Error calling MSI API: 1627 Method: MsiDatabaseCommit Table: AI_SQLScript. Extended Error: 1: 2213 2: C:\Users\pete\OneDrive\Documents\Installer Projects\Communicator\afinitis.communicator.16_4_1.msi 3: 4: .

Advanced Installer 12.2.1 build 64247
*** Stack Trace (x86) ***

[0x7574dae8] RaiseException()
[0x77e4872d] CxxThrowException()
[0x0179d1ba] -----
[0x013c0000] MODULE_BASE_ADDRESS

Any ideas?

Pete
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error building project

Hi Pete.

It seems this happens because your project contains duplicate or incomplete rows in the "AI_SQLScript" table. I'm not sure how your project reached this corrupt state.

Can you please send us your AIP (project file) to support at advancedinstaller dot com, so we can investigate it and try to find the problem? Also, can you please try to isolate this error in a test case scenario? Maybe you can find a working version of your project and starting from that working project state try to find out a pattern (test case) which always replicates this error. This would be very useful for us so we can isolate and investigate this issue.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jon Conyers
Posts: 1
Joined: Mon Jan 14, 2019 6:44 pm

Re: Error building project

I had a similar problem. I added different SQL scripts to my AIP and received the 1627/2213 error set. I checked around on another thread and discovered that my file names night be too long. I shortened the file names and the AIP compiled without error.

Hope this helps the next victim of 1627/2213.

Jon
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error building project

Hi Jon and welcome to our forums.

Thank you for sharing the solution with us, I'm sure it will help other users facing the same issue.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kai
Posts: 7
Joined: Fri Oct 02, 2020 10:02 am

Re: Error building project

For us it has been also a problem with the names of SQL scripts. It seems that they contained invalid characters when autogenerated. After changing the names building was successful once again.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error building project

Thank you for your insights on this.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Error building project

Hello,

This has been fixed in version 21.5 of Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”