web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found

(0) ShareShare
ReportReport
Posted on by 7

I have a C# application where we use eConnect to pull and push data into Great Plains.  Recently we have experienced the error above.  I have checked that eConnect is running and we can call to connect and close the connection from the program.  I have stepped through the code and the issue occurs when I call the form show event.   It is saying that the file is not found, I have tried moving the file to the project and changing the reference to it, did not work, changed copy local value from True to False and that has no effect.  

System.IO.FileNotFoundException
  HResult=0x8007007E
  Message=Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found.
  Source=AHHGPCapitated
  StackTrace:
   at AHH.GreatPlainsExtension.frmCapitated.frmCapitated_Load(Object sender, EventArgs e) in H:\WorkSpace\GreatPlains\GP2015\Extensions\AHHGPCapitated\frmCapitated.cs:line 50
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at Microsoft.Dexterity.Shell.DexBaseForm.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

*This post is locked for comments

I have the same question (0)
  • MG-16101311-0 Profile Picture
    26,225 on at
    RE: Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found

    I have seen this error when either of the following is through:

    1. The version of the eConnect assembly does not match that of the one shipped with Microsoft Dynamics GP. You can easily resolve this by reinstalling the Dexterity Shared Components

    2. The Microsoft.Dexterity.Bridge assembly is missing from the Dynamics GP root folder.

    Other issue I can think of is, you have the Bridge assembly on your machine, but there's a version registered in the GAC not matching the one in the GP folder.

  • Keith Claypool Profile Picture
    7 on at
    RE: Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found

    none of these seemed to be the issue. The DLL is not currently in the GAC on any of the machines and it worked before.  I'm wondering if a Microsoft patch may have caused the issue?  This is the only thing that has changed on these servers over the last few months.

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found

    This file is sitting in

    C:\Program Files (x86)\Microsoft Dynamics\GP2018

    I use it all the time in my VS C# customizations.

    Try either doing a repair of GP or uninstall and reinstall. Or you can simply copy it from another computer.

    When you are building your customization check your references and see how the path to this reference is setup. It is possible the path on your server is different than the path on your development computer.

  • Keith Claypool Profile Picture
    7 on at
    RE: Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found

    the reference is pointing here C:\Program Files (x86)\Microsoft Dynamics\GP2015\Microsoft.Dexterity.Bridge.dll and the file is located there.

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found

    If you go into Control Panel->System->Administrative Tools->Computer Management->Shared Folders->Open Files this file is listed there is it? If it is remove it.

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found

    I will fire up a GP 2015 image upon which I have VS C# and will check out this file and get back to you. Is the server the only computer where your application does not run?

  • Keith Claypool Profile Picture
    7 on at
    RE: Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found

    both my dev and prod servers is gets the same error and then on my windows 10 development box I have the same issue as well.  

  • Keith Claypool Profile Picture
    7 on at
    RE: Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found

    the servers are Windows 2012 currently and up to date on all Microsoft patches.  

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found

    Then it must something in your environment.  I have dozens of workstations and servers that serve as development and workstation computers and I have never seen this. We have used Sophos and Trend Micro for anti-virus. If you click on Properties for Microsoft.Dexterity.Bridge.dll and then details what is the product version?

    H:\WorkSpace\GreatPlains\GP2015\Extensions\AHHGPCapitated\frmCapitated.cs:line can you show us what exactly what is throwing this error?

  • Keith Claypool Profile Picture
    7 on at
    RE: Could not load file or assembly 'Microsoft.Dexterity.Bridge.dll' or one of its dependencies. The specified module could not be found

    here is the button click event.  I sure that you need the more details than this

    private void btnRunCapitated_Click(object sender, EventArgs e)

           {

               StartRunDateTime = DateTime.Now;

               lblProgress.Text = "Retrieving Data";

               AHHAdapter.LogInfo("Capitated Processing", "Started", LogPacket);

               if (capBackgroundWorker.IsBusy != true)

               {

                   capBackgroundWorker.RunWorkerAsync();

                   btnRunCapitated.Enabled = false;

                   btnCancel.Enabled = true;

               }

           }

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans