|
Rank: Newbie Groups: Member
Joined: 6/27/2015 Posts: 8
|
I am having numerous customers report this exact error to me: Could not load file or assembly 'EO.Base, Version=16.1.75.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc' or one of its dependencies. The system cannot find the file specified.
I am using the EO.WebBrowser.dll control version 16.1.75.0 in a Windows Forms C# .NET Framework 4.0 application. This dll is deployed locally the target machine with EO.Base.dll and EO.WebEngine.dll. 95% of my customers do not see this error. The ones that do, the only way I have been able to have them resolve the error is to reinstall my application the error it goes away but may come back at a later date.
I'm guessing there is some unmanaged C++ late bound dependency that is missing or of a incompatible version possibly due to the customer installing other software on there machines that gets them into this state. Any idea what the dependency might be or if I upgrade to the latest release is there assurance that this problem is solved.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi,
This is a version mismatch somewhere or somehow the DLL file is missing. There is no unmanaged C++ late bound dependency in our DLLs (we load unamanged code dynamically and they will not cause any .NET DLL to fail to load). So make sure you check if the file exists or is the correct version next time you get this error.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/27/2015 Posts: 8
|
When I have looked into this for my customers all 3 .NET .dll's existed and they were all the same version. Since you mention you load un-managed code a run-time would you mind sharing those dependencies as I can't help but think there is something related as about 3% of my customers have reported this problem. Everything works just fine until some point at which when the WebBrowser control is being constructed or loaded it get a .NET exception with this error:
Exception: Could not load file or assembly 'EO.Base, Version=16.1.75.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc' or one of its dependencies. The system cannot find the file specified. Stack Trace: at MyWebBrowserWinForm.InitializeComponent() at MyWebBrowserWinForm..ctor(e4473Form e4473Form) at MyMainForm.button_Click(Object sender, EventArgs e)
My thought is either another Windows application has changed dependencies or Windows Update, etc, etc. If the error message included the actual dependency that was missing that would be very helpful
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
There is absolutely no external dependency in term of unmanaged code. The unmanged code are embeded inside our mananged DLLs. They have nothing to do with your .NET DLL loading error. When you hit a .NET DLL loading error, it is a 100% .NET DLL loading error. It has nothing to do with anything else or the unmanaged code portion. So there is no such thing as "actual dependency". When you see it can not find EO.Base.dll, it means it can not find EO.Base.dll. There is nothing else to this. As such you should just treat it as a .NET dll loading error and focus on whatever means to troubleshoot such error. For example, you can use Fusion Log Viewer to view .NET DLL loading logs and that may help you find out the root cause.
|
|