Skip to main content

Notifications

Announcements

No record found.

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

  • Eder Jimenez Profile Picture
    Eder Jimenez 25 on at
    RE: Error in VB application

    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

  • Suggested answer
    Tim Foster Profile Picture
    Tim Foster 8,515 on at
    RE: Error in VB application

    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
    Eder Jimenez 25 on at
    RE: Error in VB application

    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

  • Tim Foster Profile Picture
    Tim Foster 8,515 on at
    Re: Error in VB application

    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

  • Tim Foster Profile Picture
    Tim Foster 8,515 on at
    Re: Error in VB application

    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

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    Re: Error in VB application

    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.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans