web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Integration Manager 2016 ERROR: Unable to open source queries because Query 'XXXXX' is not found in the database. - ADO Field is nothing.

(0) ShareShare
ReportReport
Posted on by 55

We receive the "ERROR: Unable to open source queries because Query 'XXXXX' is not found in the database. - ADO Field is nothing". When attempting to integrate multiple batches from a SQL DB. I have researched the this error and have check off every possible cause that I have found so far. It seems to be a timeout issue as the integration seems to only fail when there are lots of batches. When we decrease the number of batches it goes through fine. I have had no luck in finding if there is a way to increase the timeout in IM.

*This post is locked for comments

I have the same question (0)
  • Frank_Heslin Profile Picture
    895 on at
    RE: Integration Manager 2016 ERROR: Unable to open source queries because Query 'XXXXX' is not found in the database. - ADO Field is nothing.

    I haven't had to change the timeout in forever, but I would make sure the settings are the same on the server & the client to avoid conflict.

  • WCJMON Profile Picture
    55 on at
    RE: Integration Manager 2016 ERROR: Unable to open source queries because Query 'XXXXX' is not found in the database. - ADO Field is nothing.

    Looks like we narrowed the issue down to a long running source SQL view that the Integration calls. We are looking at ways to improve that, but in mean time would like to increase the time out in IM. I edited the CommandTimeout in both .ini files on the client side, but it doesn't seem to be taking affect. Do I need to do the same on the server side?

  • WCJMON Profile Picture
    55 on at
    RE: Integration Manager 2016 ERROR: Unable to open source queries because Query 'XXXXX' is not found in the database. - ADO Field is nothing.

    Thanks Frank.

    Both ini files are indeed in the same folder and are located on the clients machine. However, being that you made the distinction between the client-side and presumably the server-side. Should the files be edited on the Server-side as well?

  • Suggested answer
    Frank_Heslin Profile Picture
    895 on at
    RE: Integration Manager 2016 ERROR: Unable to open source queries because Query 'XXXXX' is not found in the database. - ADO Field is nothing.

    Both ini files should be in the same folder.  There are also a client-side versions of these files.

    IM-INI-Files.png

  • WCJMON Profile Picture
    55 on at
    RE: Integration Manager 2016 ERROR: Unable to open source queries because Query 'XXXXX' is not found in the database. - ADO Field is nothing.

    I copied the Microsoft.Dynamics.GP.IntegrationManager.ini and created the "IMRun.ini". Unfortunately, this still did not correct our issue. I've even increased the CommandTimeout in hopes that would help.  

  • WCJMON Profile Picture
    55 on at
    RE: Integration Manager 2016 ERROR: Unable to open source queries because Query 'XXXXX' is not found in the database. - ADO Field is nothing.

    I cannot find this file, Microsoft.Dynamics.GP.IntegrationManager.IMRun.ini on the server. Is there a specific path I can find that file under?

    I was able to edit the Microsoft.Dynamics.GP.IntegrationManager.ini but that had no affect. 

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Integration Manager 2016 ERROR: Unable to open source queries because Query 'XXXXX' is not found in the database. - ADO Field is nothing.

    IM has trouble with large amounts of data. So the less you ask it to do the better the chance for success. Whenever I see IM acting in an odd way I turn this option off.

  • WCJMON Profile Picture
    55 on at
    RE: Integration Manager 2016 ERROR: Unable to open source queries because Query 'XXXXX' is not found in the database. - ADO Field is nothing.

    Hi Richard. Thanks for the reply. I was hoping you could shed a little more light on what that will do. I have a decent idea, just from the wording, but I wan't to make sure I understand how that could possibly address our issue. (Not an expert in IM)

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Integration Manager 2016 ERROR: Unable to open source queries because Query 'XXXXX' is not found in the database. - ADO Field is nothing.

    Try UseOptimizedFiltering=False. You willfind this in your Microsoft.Dynamics.GP.IntegrationManager.ini & the Microsoft.Dynamics.GP.IntegrationManager.IMRun.ini files

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans