.NET Framework exception [Resolved]

Report problems with JoinFS.
Post Reply
mutley
Posts: 17
Joined: Wed Oct 05, 2016 6:26 pm
Contact:

.NET Framework exception [Resolved]

Post by mutley »

I have just had to re install Windows 10/64
I am running P3Dv3 3.4.14.18870
JoinFS - 14TEST, 1.0.10 release

When running the TEST or release version I get an error
The specified module could not be found. (Exception from HRESULT: 0x8007007E)

------------------------------------------------------------------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at JoinFS.Sim.DoWork()
at JoinFS.MainForm.DoWork(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
JoinFS
Assembly Version: 1.0.0.0
Win32 Version: 1.0.14.0
CodeBase: file:///F:/Addon%20Programs/JoinFS/JoinFS.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

-----------------------------------------------------------------------------

The .NET verification tool confirms all my installations are ok, I have the following installed:
2.0 SP2
3.0 SP2
3.5 SP1
4 Client
4 Full
4.5, 4.51, 4.52
4.6,4.61,4.62

---------------------------------------------------------------------------------

Any ideas?

Thanks,
Joe
Last edited by mutley on Sun Nov 13, 2016 11:03 am, edited 1 time in total.
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: .NET Framework exception

Post by Peter »

Hi Joe,

Interesting that a fresh Windows install caused it. It doesn't look like a .NET issue since it has got to that point in the program. It's possibly related to the Visual C/C++ libs. I do include the correct one in the JoinFS installer, but i wonder if there is a problem with it.

Could you try installing the C++ lib from Microsoft, here https://www.microsoft.com/en-gb/downloa ... x?id=30679? I'd be interested to know if that works.

Best regards,
Peter
mutley
Posts: 17
Joined: Wed Oct 05, 2016 6:26 pm
Contact:

Re: .NET Framework exception (Resolved)

Post by mutley »

Hi Peter,

Thanks for your very quick response :)

I found the problem to be Simconnect, as this may be useful for others I navigated to my prepar3d/dist folder and installed all the simconnect modules and problem solved.

I've marked as resolved ;)

Regards
Joe
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: .NET Framework exception

Post by Peter »

Ah, well done, Joe. Seems so obvious now :)

There is a another thread with the same issue, I'll reply to that as well.

Steam users can install the required SimConnect module from <FSX>\SDK\Core Utilities Kit\SimConnect SDK\LegacyInterfaces\FSX-XPACK\SimConnect.msi

Peter
Post Reply