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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP 2013 - get actual DSN name when GP is RUN

(0) ShareShare
ReportReport
Posted on by 1,240

Dear friends !!!

I am checking GP 2013 with multiple DSN and companies on a single machine. I noticed while checking that it prompts you exact companies only when you run GP from specified folder only. Suppose I have created two Dynamics database and attached companies in following way-

case 1 : C:\Program Files (x86)\Microsoft Dynamics\GP2013$INDYNA3 (Related to Dynamics named "DYNA3" with DSN named "Dynamics GP 2013 - 01")

case 2 : C:\Program Files (x86)\Microsoft Dynamics\GP2013$INDYNA4 (Related to Dynamics named "DYNA4" with DSN named "Dynamics GP 2013 - 02")

Suppose in case 1, if I run GP from the specified folder and even if I choose incorrect DSN  "Dynamics GP 2013 - 02" ( which is wrong but GP allows it to do so), it will list companies related to  "Dynamics GP 2013 - 01" only.

My scenario : I am working on ad ADDON project and maitain the database information to create SysAdmin and Company connections. I do not want user to choose a wrong DSN and select the right company. I either want to propmt a proper message then terminate the application OR I would wish to get the correct DSN name even if it was wrongly choosen. Is there any way so that I may get DSN name when I run GP.EXE from appropriate folder,

 

 

 

 

 

*This post is locked for comments

I have the same question (0)
  • Richard Whaley Profile Picture
    25,195 on at

    I have had problems with spaces in DSN names.Try creating DSNDynamicsGp201301 et cetera

  • Jitendra Verma Profile Picture
    1,240 on at

    it created DSN names automatically when I created it multiple times.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Dan Liebl Profile Picture

Dan Liebl 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans