Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

How do I read the Dynamics.dic file - what file viewer or process do I need

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I need to read the Dynamics.dic file to retrieve the max number of licensed users for our client sites.  I want to automate the license true-up, how can I open this file

*This post is locked for comments

  • Suggested answer
    Patrick Roth Profile Picture
    Patrick Roth on at
    RE: How do I read the Dynamics.dic file - what file viewer or process do I need

    "I  opened a ticket with MS, they said it was not in a table, but in the dictionary file"

    They should have said "it is encoded in the registration keys".

    You didn't say how/when you needed this info.  For example, you could ask one of the users to open the GP About window and ask them how many users it says.

    But if you were writing some kind of application and needed to know this on a programmatic basic, you could try the Interop.GPRegistration.dll.

    This is installed into the folder:

    C:\Program Files\Common Files\microsoft shared\Dexterity\v2.0

    There is a method for NumUsers which should give us the number of GP users for the given keys (you have to provide them to the method).

    I can't find any documentation on this assembly on exactly how to use it but the class looks somewhat straightforward.

    One thing I'd note is that this assembly is quite old and I'm sure hasn't been updated in quite a few years - probably before the change for GP limited and self-service users.  So you'll have to see if the NumUsers is correct for the different counts.

    Otherwise if you are inside of GP when you are running this, you can pull the user count from the global variables.

    'Max Number User In System'[USERTYPE_FULL] of globals + 'Max Number User In System'[USERTYPE_LIMITED] of globals + 'Max Number User In System'[USERTYPE_SELFSERVICE] of globals ;

    The constants are 1,2,3 if you were going to use this from a vstools application.

    Using the globals is the best solution if you are in Dexterity or Vstools inside of GP.

    If you had to be outside of GP, the interop assembly is the only shot you'd have.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: How do I read the Dynamics.dic file - what file viewer or process do I need

    I would imagine that is built into some algorithm in the dexterity DYNAMICS.DIC file that is based on your registration keys. I do not think Microsoft would be willing to share that type of information.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How do I read the Dynamics.dic file - what file viewer or process do I need

    Thanks for the speedy response.  But, what table?  I found the table where the licenses are, but not the max user count.  I  opened a ticket with MS, they said it was not in a table, but in the dictionary file.   I would love to hear from you on where this information is stored.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: How do I read the Dynamics.dic file - what file viewer or process do I need

    The number of users under your license is kept in SQL. Even if you had Dexterity running you would not find this information in your DYNAMICS.DIC file.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans