Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Answered

eConnect errors login to TWO database

Posted on by 10

eConnect OutGoing Service: Cannot open database "TWO" requested by the login. The login failed. Zillions of errors in the event log.

Naturally, the database does not exist in our installation. It must have been deleted in SQL Server but not in GP

pastedimage1666793840023v1.png

  • Verified answer
    RE: eConnect errors login to TWO database

    The 'new' ClearCompanies script can be found at this article:

    How to remove a company that is no longer being used - Dynamics GP | Microsoft Learn

    The direct download link to it is here:

    https://mbs2.microsoft.com/fileexchange/downloadfile.aspx?fileid=e1140f50-afc0-4a4d-83ef-e9826aff6d64

    Thanks

  • vitala Profile Picture
    vitala 10 on at
    RE: eConnect errors login to TWO database

    In my case the issue was that there remained references to sample database 'TWO' in the eConnect config files. I replaced those with references to our production database and the errors stopped filling up the event log.

    In my case also, TWO already did not exist in [DYNAMICS].[SY01500]. Still, I am sure that ClearCompanies is invaluable in other cases. Can you point me to the latest version of the script? All I have been able to find is

    www.gpug.com/.../DownloadDocumentFile.ashx

    Thanks for your help.

  • Verified answer
    RE: eConnect errors login to TWO database

    If the TWO database shows in the GP system tables, but does not exist in SQL Server, I'd run the ClearCompanies script to remove it, that way nothing is seeing TWO mentioned and then looking for it, causing problems.

    For example, this would cause GP Utilities to hang looking for the database should you try and do an upgrade.

    Once you do that, then I'd see if that resolves or changes this eConnect Outgoing error.

    Thanks

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans