Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Solved: GPConnNet & Dynamics.Globals : SQL Connection

(0) ShareShare
ReportReport
Posted on by 1,588

Solution: I had entered the GPConnNet key incorrectly. It had a double quote in it which I did not realize was part of the key.

See screenshot: https://www.screencast.com/t/scFgA0xV

I am failing to create a connection using GPConnNet. I believe it is due to sending GPConnection.Connect() incomplete information on its DsnName parameter.

The example I am working from sends Dynamics.Globals.SqlDataSourceName.Value. I have printed this out to a file for verification and I find that value is RUBIN2014 which is my named SQL instance but without the <server> portion. The full name of the server is R90HGYQV\RUBIN2014. Would you concur with my assessment and how do I get the proper value to send to the Connect() method?

*This post is locked for comments

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans