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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

"ODBC operation failed.\nUnable to log on to the database " error in D365FO

(0) ShareShare
ReportReport
Posted on by 20

Hi ,

Hope you all are good.

I am facing an error "ODBC operation failed.\nUnable to log on to the database." while doing Sql connection in D365 F & O.

I tried with the suggested code change  but could not fix it.

logInProperty.setDSN(systemInfo.getloginDSN());

Value is returning in this is null.

It would be great if anyone could help on this.

Regards,

DAX

I have the same question (0)
  • Hiroki Kanemaru Profile Picture
    on at

    Hi,

    The following link might be your help, though this is regarding AX2012.

    social.msdn.microsoft.com/.../manage-synchronization-failing-with-an-odbc-error

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 58 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 42

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans