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

GPConNet.dll with GP2015

(0) ShareShare
ReportReport
Posted on by 121

I have been looking for documentation on GPConNet.dll but I have thus far been wildly unsuccessful, so hopefully someone here can help. 

I am creating an add-in which exports item class information when an item class is created, updated or deleted to an XML file. This requires me to call a stored procedure that I created for the purpose of this add-in.

When I use a normal SQL account, it works fine. The issue I am having is when attempting to use the Dynamics login account's login credentials to authenticate instead of hard-coding a set of credentials into the code (before it is suggested, Windows authentication isn't what I'm after!)

Everywhere I have gone says this is possible with the `GPConnection` class from GPConNet.dll. But they all reference a set of registration keys which are passed to the `GPConnection.Init(string, string)` method.

Intellisense in Visual Studio tells me that the names of the parameters are actually `user` and `password`. So my questions are as follows:

  1. Is Intellisense correct, or is it supposed to still be `key1` and `key2`?
  2. If it's still supposed to be keys, where exactly can these be requested from?
  3. If it's user and password, which user and password combination is it referring to? I have tried the login account's user/password combination but this does not work.
  4. Perhaps most importantly - where can I find the docs??

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Lucas Miller Profile Picture
    on at

    Ryan,

    You will need to have registration keys generated to use GPConnNet.dll.  You can open a Dynamics GP support case to request these keys and we'll also provide the documentation.  This would be considered a non-chargeable case for you.

    Let me know if you have any questions.

  • RyanSinfield Profile Picture
    121 on at

    Hi Lucas,

    That is really helpful, thank you.

    Do you have a link or contact address for raising the Dynamics GP support case? I have spoken to three different MSFT representatives who weren't much help!

    Thanks in advance!

  • Lucas Miller Profile Picture
    on at

    Hello Ryan,

    If you go to CustomerSource (mbs.microsoft.com/.../northamerica) and log in you should see a link to open a Support Request both on the main page or if you drill down into the Dynamics GP product.

    You can also call into 888-477-7877 to initiate a case via phone.

  • RyanSinfield Profile Picture
    121 on at

    Hi Lucas,

    Yes I've tried raising a support request from CustomerSource, which leads me to Microsoft Professional Support (support.microsoft.com/OAS). After this point it won't allow me to proceed without selecting a payment option/existing support contract.

    I think maybe I'm missing an obvious location to raise this support request from within CustomerSource?

  • Lucas Miller Profile Picture
    on at

    Ryan,

    I'm not terribly familiar with the experience creating a case from the outside, but I'm pretty sure you're going to need to have a support contract or a form or payment to initiate the case.  Once it gets to the support team and we see that it is a non-chargeable issue we would mark the case as such and you would not be charged for the case.

    If you have a Dynamics GP Partner you could probably reach out to them to open a case on your behalf as well since they likely have a support contact.

  • RyanSinfield Profile Picture
    121 on at

    Unfortunately neither is an option for us. :(

    Is there no other way to raise a support request even if it is non-chargeable?

  • Lucas Miller Profile Picture
    on at

    The only other way would be to call the number I provided, but they would also ask for your account or payment information in order to initiate a support case.  I've never seen a way to create a case as non-chargeable right off the bat.  This is exactly where a Dynamics GP partner cam be a valuable asset to a company.

  • Richard Wheeler Profile Picture
    75,848 Moderator on at

    You can do this one of two ways.

    1) Have your partner request the GPConnet.dll registrations keys for you.

    2) Call sales operations directly at 800-456-0025 and request the registration keys. This call is non-chargable.

    Once you have the keys you will be able to obtain the user credentials from the user currently logged into GP.

  • Lucas Miller Profile Picture
    on at

    Richard,

    Actually, Sales Ops has no involvement with the GPConnNet.dll keys.  They are generated and maintained by support, which is probably where SalesOps will send you should you contact them.

  • Richard Wheeler Profile Picture
    75,848 Moderator on at

    Well that is where I got my keys 20 years ago. Perhaps the trick is to call Sales Ops and have them create a non-chargable tech support incident. Then tech support can generate the keys. Somehow the non-chargable incident needs to be created and Sales Ops sounds like the logical choice to start. Back when I did this I knew everyone in Fargo so things like this were done without thought. Now there are so many layers you just hope for the best.

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

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans