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)

access .mdb file using odbc without sharing folder

(0) ShareShare
ReportReport
Posted on by 77

Hi,

suppose that i have server A(AX), and server B(local server where .mdb file located)

normally, we can set odbc DSN in server A and connect .mdb file in server B(sharing folder might be used)

however, is it possible to setup DSN in server B targeting .mdb file locally, and create connection string through IP to connect server B from server A(AX server)?

any help would be helpful,

Antineus Daniel

*This post is locked for comments

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

    Refer to the documentation:

    [View:https://msdn.microsoft.com/en-us/library/ee677510.aspx:750:50]

    "Create the DSN on the tier where the X++ code will call the DSN from. This will be either on the client computer or on the Application Object Server (AOS) computer."

    That sounds like a no to me. Unless there is a tricky way to establish the ODBC connection in C# using a remote DSN or a connection string defined by you, and you would use that C# library within AX.

  • Antineus Daniel Profile Picture
    77 on at

    Hi Vilmos,

    Thank you for the information, so my best option might be either :

    creating 32-bit system DSN on the server where .mdb file resides, and do the process in ax client without batch jobs service

    or

    creating 64-bit system DSN on AX server and using sharing folder

    so that AX can run batch jobs service

    Antineus Daniel

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    The above statement stands valid, but going through C# is also an equally good option, since AX supports the .Net namespaces.

    Are we talking about a one-time task, or something regular? Doing a network share should not be that big of a deal, to be able to do it from the AX AOS.

    That makes hand-over of the solution easier, since everything is in one place.

  • Antineus Daniel Profile Picture
    77 on at

    Hi Vilmos,

    this operation is for daily purpose, and i agree with you that it is easier and maintenance wise when i put in one place

    since i did not get such "privilege", i might try going through C#

    Thank you,

    Antineus Daniel

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