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)

Error in VB application

(0) ShareShare
ReportReport
Posted on by 8,515

I've inherited an Add-in developed in VB for Dynamics GP 10.  It's not working quite right in GP 2010, so I opened the Project in VS 2008.  I'm trying to use GPConnNet.dll to communicate with SQL using the GP user's SQL connection.  VS complained that I needed a Reference to Microsoft.Dexterity.Bridge, so I added one.  Now I get the following Error message when I try to run the code:

Error   Could not load file or assembly 'Microsoft.Dexterity.Bridge, Version=11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependancies.  An attempt was made to load a program with an incorrect format, StackTrack  at

Is there another reference I should be making?

Tim Foster

 

*This post is locked for comments

I have the same question (0)
  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    What service pack have you applied to VS 2008?

    C:\Program Files\Microsoft Dynamics\GP10 VS Tools SDK\Microsoft.Dexterity.Bridge.dll

    This is where I am looking for this reference. Perhaps you are pointing at the wrong one?

    I will check to see if the VS Toolkit for GP 10 works with GP 2010 as well.

  • Tim Foster Profile Picture
    8,515 on at

    I have applied SP1 to VS2008.  I have VS Toolkit SDK for GP 2010.

    The reference I have made is:

    C:\Program Files (x86)\Microsoft Dynamics\GP2010 VS Tools SDK\Microsoft.Dexterity.Bridge.dll

    since I am compiling for GP2010 (11.0)

    Thanks

    Tim Foster

  • Tim Foster Profile Picture
    8,515 on at

    Figured it out....

    The reference:

    C:\Program Files (x86)\Microsoft Dynamics\GP2010 VS Tools SDK\Microsoft.Dexterity.Bridge.dll

    is only valid for a GP add In project.  The missing dependency was the Dynamics GP application.

    I think some training might be helpful.

    TIm Foster

  • Eder Jimenez Profile Picture
    25 on at

    Hi,

    I've been having a similar error. I've inherited an Add-in developed in VB for Dynamics GP 10 and it worked OK, but when I updated it to GP2010, it shows me a error like this: File.dll: Method not found : ' Microsoft.Dexterity.Applications.DynamicsModifiedDictionary.RMCashApply....

    The strange thing is that not all PCs get this error. In some PCs the new .dll (GP2010) works pecfectly.

    If you now something about this, I'll be thankful.

    Thank!

    Eder Jimenez.

    ederjimenez@gmail.com

  • Suggested answer
    Tim Foster Profile Picture
    8,515 on at

    Do you run Local Clients on each user's PC?  Your error mentions Dynamics Modified Dictionary.  Is it possible that not all Clients are running the Modified window?  Or is it possible that the step in utilities "Upgrade modified Forms and Reports" was missed on some clients?

    Tim

  • Eder Jimenez Profile Picture
    25 on at

    Hi,

    Yes, I run Local Clients on each user's PC.

    I have a modified window (Sop Entry), and all clients are running the same Modified window. For example in my own PC I get the error. but in another PC with the same modified window and the same .dll works OK.

    thanks for your reply

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