Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Closed] Net framework error.

Featured Replies

Hello,

Was the issue discussed here resolved?

I am getting the same or similar error:

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: Could not find file 'C:\Users\user\AppData\Roaming\Lockheed Martin\Prepar3D v4\add-ons.cfg'.
File name: 'C:\Users\user\AppData\Roaming\Lockheed Martin\Prepar3D v4\add-ons.cfg'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at MadMilkman.Ini.IniFile.Load(String filePath)
   at FSRebornAILightsConfig.Configuration.NT5aGj225n()
   at FSRebornAILightsConfig.Configuration.Kx7arFGGSm(Object  , EventArgs  )
   at System.Windows.Forms.Form.OnShown(EventArgs e)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
AI Lights Reborn Professional
    Assembly Version: 1.25.0.0
    Win32 Version: 1.25.0.0
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/AI%20Lights%20Reborn%20Professional.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
FSRebornUIControls
    Assembly Version: 1.25.0.0
    Win32 Version: 1.25.0.0
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/FSRebornUIControls.DLL
----------------------------------------
Syncfusion.SfDataGrid.WinForms
    Assembly Version: 18.1460.0.52
    Win32 Version: 18.1460.0.52
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/Syncfusion.SfDataGrid.WinForms.DLL
----------------------------------------
Syncfusion.Shared.Base
    Assembly Version: 18.1460.0.52
    Win32 Version: 18.1460.0.52
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/Syncfusion.Shared.Base.DLL
----------------------------------------
Syncfusion.Data.WinForms
    Assembly Version: 18.1460.0.52
    Win32 Version: 18.1460.0.52
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/Syncfusion.Data.WinForms.DLL
----------------------------------------
Syncfusion.Core.WinForms
    Assembly Version: 18.1460.0.52
    Win32 Version: 18.1460.0.52
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/Syncfusion.Core.WinForms.DLL
----------------------------------------
Syncfusion.GridCommon.WinForms
    Assembly Version: 18.1460.0.52
    Win32 Version: 18.1460.0.52
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/Syncfusion.GridCommon.WinForms.DLL
----------------------------------------
Syncfusion.SfInput.WinForms
    Assembly Version: 18.1460.0.52
    Win32 Version: 18.1460.0.52
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/Syncfusion.SfInput.WinForms.DLL
----------------------------------------
Syncfusion.SfListView.WinForms
    Assembly Version: 18.1460.0.52
    Win32 Version: 18.1460.0.52
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/Syncfusion.SfListView.WinForms.DLL
----------------------------------------
Syncfusion.DataSource.WinForms
    Assembly Version: 18.1460.0.52
    Win32 Version: 18.1460.0.52
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/Syncfusion.DataSource.WinForms.DLL
----------------------------------------
LockheedMartin.Prepar3D.SimConnect
    Assembly Version: 4.4.0.0
    Win32 Version: 
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/LockheedMartin.Prepar3D.SimConnect.DLL
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.106.0
    Win32 Version: 1.0.106.0
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/System.Data.SQLite.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
MadMilkman.Ini
    Assembly Version: 1.0.6.0
    Win32 Version: 1.0.6.0
    CodeBase: file:///C:/Program%20Files/AI%20Lights%20Reborn%20Professional%20Edition/MadMilkman.Ini.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.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.


I've tried uninstalling and installing from scratch but it did not help.

I am using P3D v5.1 latest HF, it started showing up out of nowhere. Thanks!

 

Shom

Shom

 

MSFS2024 running on Win 11, 4K screen, Z790 AORUS ELITE AX-W, i9-14900K, MSI 3080Ti, Corsair 2x32GB 6000 MHz, 1+2TB M.2 NVMEs

  • Commercial Member
4 minutes ago, Shomron said:

System.IO.FileNotFoundException: Could not find file 'C:\Users\user\AppData\Roaming\Lockheed Martin\Prepar3D v4\add-ons.cfg'.
File name: 'C:\Users\user\AppData\Roaming\Lockheed Martin\Prepar3D v4\add-ons.cfg'

Your issue is different, the system cannot find the add-ons.cfg file for your P3D V4. Do you have P3D V4 installed? if you don;t then it means you have registry keys left behind regarding P3D V4.

Remove them and the error will go away.

Regards,

S.

Signature3.png

Oficial Website: https://www.FSReborn.com
Discord Channel: https://discord.gg/XC82TqvKQ3

  • Author
Just now, simbol said:

Your issue is different, the system cannot find the add-ons.cfg file for your P3D V4. Do you have P3D V4 installed? if you don;t then it means you have registry keys left behind regarding P3D V4.

Remove them and the error will go away.

Regards,

S.

Thanks will check but I assume all should be good in my v5 installation until I get this issue resolved? I have both installed on my computer

Edited by Shomron

Shom

 

MSFS2024 running on Win 11, 4K screen, Z790 AORUS ELITE AX-W, i9-14900K, MSI 3080Ti, Corsair 2x32GB 6000 MHz, 1+2TB M.2 NVMEs

  • Commercial Member
1 minute ago, Shomron said:

Thanks will check but I assume all should be good in my v5 installation until I get this issue resolved? I have both installed on my computer

V5 should be working ok.. but your V4 install seems to be damaged in hence the error AILRP is producing.

S.

Signature3.png

Oficial Website: https://www.FSReborn.com
Discord Channel: https://discord.gg/XC82TqvKQ3

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.