[QODBC-Desktop] QB Begin Session Failed. Error = 80040408, Could not start QuickBooks
Posted by Rajendra Dewani (QODBC Support) on 26 December 2013 09:43 AM
|
|
Problem DescriptionBegin Session Failed. S0000 00000 [QODBC] QB Begin Session Failed. Error = 80040408, Could not start QuickBooks. Begin Session Failed. S0000 00000 [QODBC] QB Begin Session Failed. Error = 80040408, Could not start Reckon Accounts.
SolutionsThere can be multiple causes of the issue "Could not start QuickBooks". The common cause is QuickBooks or your application is running in elevated user mode or QuickBooks and your application is running in two Windows user sessions. If you are using a service-based application such as ASP, ASP.NET, PHP, SQL Server, Web Server with QODBC / QRemote - Please refer to solution number 3. Solution 1:Restart your machine. If you have recently installed or updated QuickBooks or installed QODBC, you need to restart your computer. Solution 2:Your QuickBooks file should be accessible and should not be in the restricted folder. Please start the QuickBooks application, log in to your QuickBooks company file as a QuickBooks Admin user. Try connecting to QuickBooks Data using your application. If you are still facing the issue, please make sure that your QuickBooks is not running as "Run as Administrator".
Enable columns Verify "QBW32.EXE" should not be Elevated - Yes. "QBW32.EXE" Elevated should be "No"
You can verify it by right-clicking the QuickBooks shortcut, go to "Properties" & navigate to the "Compatibility" tab & make sure that the "Run this program as an administrator" option is unchecked. If this option is enabled, then please disable it & apply the changes.
Right-click on the QuickBooks application shortcut from the Desktop Make sure "Run as Administrator" or "Run this program as an Administrator" is unchecked.
Make sure "Run as Administrator" or "Run this program as an Administrator" is unchecked.
Right-click on QBW32.exe and other QuickBooks applications that start with QBW32 Make sure "Run as Administrator" or "Run this program as an Administrator" is unchecked. Click Change settings for all users.
Make sure "Run as Administrator" or "Run this program as an Administrator" is unchecked.
Please restart the Close QuickBooks application and restart your machine. After restart, please start QuickBooks and log in to your QuickBooks company file as a QuickBooks Admin user. Optional - You may switch to single-user mode. Try connecting with your application.
Solution 3:
If you are using Web Application, SQL Server, IIS, PHP, or Service application, please use QRemote DSN
If you are still facing the issue, please try connecting to QuickBooks using QODBC Support Wizard.
Solution 4:QODBC and QuickBooks Auto Login: If you are trying to run QODBC/QuickBooks in auto-login? And is your machine having Terminal serviced/remote desktop enabled? i.e. multiple users logging into your machine using the Remote desktop connection. Then, I would like to inform you that QuickBooks SDK has a known issue with this type of Environment setup and cannot start the QuickBooks in the background. (If more than one user is logged into the machine and QBW32.exe is running on more than one user account). Also, please verify the company file path on QODBC and QuickBooks, these two paths should be the same. You can find the QODBC company file path via the QODBC setup screen -> General tab. You could find the QuickBooks company file via QuickBooks UI, press the F2 key you will see the file information. OR You can select "Use the Company file that's open in QuickBooks" and test again.
OR 2) Keep QuickBooks running (No need to login to the company file, just keep the QuickBooks window open) and try connecting OR 3) For QODBC 13.0.0.291 and upwards, under the Advanced tab, enable "Force Start QuickBooks", Make sure you unselect the option of "Keep QuickBooks running for quick start-up" under QuickBooks -- Edit Preferences --, General Additional Information: 20140321.113817 I 3404 RequestProcessor Connection opened by app named 'FLEXquarters QODBC' Solution:This is showing that your app is running under elevated permission. QB and the app have to be running at the same level, either both as the standard user or both using Run As Admin. They cannot be mixed. Try fixing the permissions and see if that resolves the issue. This also happens when there is more than one user logged in (and has QBW32.exe running in user process) to the machine using (remote desktop connection) and trying to run QuickBooks with auto Login. QuickBooks SDK shall not be able to find the instance in such a case. A workaround is to keep QuickBooks running, no need to login to the machine, just keep the window open. Refer: http://stackoverflow.com/questions/20905010/getting-error-2147220472-could-not-start-quickbooks
Keywords: 80040418, autologin
SolutionsSolution 1:
| |
|
I would like to inform you that this is known issue with QuickBooks SDK (In Multiuser Environment setup and cannot start the QuickBooks in background.) not with QODBC.
I would like to inform you that recently QuickBooks has fixed this issue on QuickBooks 2014 R6.
Fixed an issue that caused QuickBooks to close when duplicating a transaction after a menu item is added through the SDK.
Fixed an issue that caused the error “Could not find or create an instance of QuickBooks using InstanceFinder”, when connecting to QuickBooks while it is not running in UI.
Please refer below mentioned link for more information:
http://support.quickbooks.intuit.com/support/articles/inf24723
So you may try QuickBooks 2014 R6 or above version.
To know whether issue resolved in QuickBooks or not. You should refer release note of QuickBooks.
Please provide a link or navigation directions to the release notes that you are referring to.
Thank you.
You need to get in touch with Intuit for QuickBooks release note.