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 AX (Archived)

SQL Native Client 11.0 inside AX 2009

(0) ShareShare
ReportReport
Posted on by

I want to connect to external database, I created System DSN SQL Native Client 11.0 but it gives me the below error. Recently I installed RU 8 to solve this problem but it didn't work. Can anyone help how I can solve this problem?

1884.Untitled.jpg

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    The AX installer already has SQL Server Native Client installed, there is no need to do anything else. The DSN must be set up on the correct tier (client computer for client-side code, AX AOS for server-side code), and of the correct architecture (32 vs 64 bit). Maybe the problem is not with the drivers but the code you are trying to use.

    Have a look at the following example:

    msdn.microsoft.com/.../ee677510(v=ax.50).aspx

    If that does not work, you could still use the .Net namespace from X++ and implement it like if you would do it in C#, like using your own connection string instead of relying on a DSN.

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans