# Solution for ToMSSQL error: attempt to load program with incorret format

**URL:** <https://forum.ayanova.com/t/solution-for-tomssql-error-attempt-to-load-program-with-incorret-format/2270>\
**Category:** SQL related\
**Created:** [June 12, 2015, 8:47am UTC](https://forum.ayanova.com/t/solution-for-tomssql-error-attempt-to-load-program-with-incorret-format/2270 "2015-06-12T08:47:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AyaNovaSupport](https://forum.ayanova.com/user_avatar/forum.ayanova.com/ayanovasupport/32/229_2.png) [@AyaNovaSupport](https://forum.ayanova.com/u/AyaNovaSupport)\
**Post date:** [June 12, 2015, 8:47am UTC](https://forum.ayanova.com/t/solution-for-tomssql-error-attempt-to-load-program-with-incorret-format/2270/1 "2015-06-12T08:47:32Z")

</div>

Issue:  
Had installed AyaNova on a 64bit computer (your “server”) selecting QBI and the Firebird to SQL Migration utility  
When performing step 5 of [http://www.ayanova.com/AyaNova7webHelp/network\_sql\_express\_configurat.htm](http://www.ayanova.com/AyaNova7webHelp/network_sql_express_configurat.htm) creating the AyaNova SQL database, you receive the following error:

Firebird Connection failed  
Check your connection string  
Full error was:  
An attempt was made to load a program with an incorrect format. (exception from HRESULT: 0x8007000b)

Solution:  
Run the AyaNova setup again.  
This time UNCHECK the QBI option, leaving the Firebird to SQL Migration utility checkmarked.  
Now perform step 5 of [http://www.ayanova.com/AyaNova7webHelp/network\_sql\_express\_configurat.htm](http://www.ayanova.com/AyaNova7webHelp/network_sql_express_configurat.htm) again

Cause:  
QBI installation on a 64bit computer interferes with the server related programs AyaNova Network Generator and the ToMSSQL.exe  
Only install QBI onto a computer that does not run either of these “server” related programs.

![ToMSSQLincorrectformaterror](https://forum.ayanova.com/uploads/default/original/1X/6d404a632742c318af8098bcbb6e66bf9af2d956.jpg)
