Error (Help)

Mathayus

New member
Nov 15, 2022
6
1
0
29
I only just installed the program and this is the error message I get. I am unable to do anything after this apart from closing the program.



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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at RAT3.frmMain.VB$StateMachine_44_cbServerConnection_Click.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
RAT3
Assembly Version: 1.0.0.0
Win32 Version: 3.0.2.2
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/RAT3.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.4536.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.4579.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.4550.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.4390.0 built by: NET48REL1LAST_C
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
----------------------------------------
Telerik.WinControls.UI
Assembly Version: 2021.3.1123.40
Win32 Version: 2021.3.1123.40
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Telerik.WinControls.UI.DLL
----------------------------------------
Telerik.WinControls
Assembly Version: 2021.3.1123.40
Win32 Version: 2021.3.1123.40
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Telerik.WinControls.DLL
----------------------------------------
System.Data.SQLite
Assembly Version: 1.0.114.0
Win32 Version: 1.0.114.0
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/System.Data.SQLite.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4584.0 built by: NET48REL1LAST_B
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
----------------------------------------
Telerik.WinControls.Scheduler
Assembly Version: 2021.3.1123.40
Win32 Version: 2021.3.1123.40
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Telerik.WinControls.Scheduler.DLL
----------------------------------------
TelerikCommon
Assembly Version: 2021.3.1123.40
Win32 Version: 2021.3.1123.40
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/TelerikCommon.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.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
----------------------------------------
Telerik.WinControls.GridView
Assembly Version: 2021.3.1123.40
Win32 Version: 2021.3.1123.40
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Telerik.WinControls.GridView.DLL
----------------------------------------
Telerik.WinControls.RadToastNotification
Assembly Version: 2021.3.1123.40
Win32 Version: 2021.3.1123.40
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Telerik.WinControls.RadToastNotification.DLL
----------------------------------------
Microsoft.Toolkit.Uwp.Notifications
Assembly Version: 7.0.0.0
Win32 Version: 7.0.0.1
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Microsoft.Toolkit.Uwp.Notifications.DLL
----------------------------------------
Windows.ApplicationModel
Assembly Version: 255.255.255.255
Win32 Version: 10.0.10011.16384
CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.ApplicationModel.winmd
----------------------------------------
Windows.Storage
Assembly Version: 255.255.255.255
Win32 Version: 10.0.10011.16384
CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.Storage.winmd
----------------------------------------
System.Runtime
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll
----------------------------------------
DynamicComActivator
Assembly Version: 0.0.0.0
Win32 Version: 7.0.0.1
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Microsoft.Toolkit.Uwp.Notifications.dll
----------------------------------------
Windows.UI
Assembly Version: 255.255.255.255
Win32 Version: 10.0.10011.16384
CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.UI.winmd
----------------------------------------
System.Runtime.InteropServices.WindowsRuntime
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices.WindowsRuntime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.WindowsRuntime.dll
----------------------------------------
System.Deployment
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.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
Discord.Net.Core
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Discord.Net.Core.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
----------------------------------------
Discord.Net.WebSocket
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Discord.Net.WebSocket.DLL
----------------------------------------
Discord.Net.Rest
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Discord.Net.Rest.DLL
----------------------------------------
System.Collections.Immutable
Assembly Version: 5.0.0.0
Win32 Version: 5.0.20.51904
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/System.Collections.Immutable.DLL
----------------------------------------
System.Threading.Tasks.Extensions
Assembly Version: 4.2.0.1
Win32 Version: 4.6.28619.01
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/System.Threading.Tasks.Extensions.DLL
----------------------------------------
Newtonsoft.Json
Assembly Version: 13.0.0.0
Win32 Version: 13.0.1.25517
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Newtonsoft.Json.DLL
----------------------------------------
System.Net.Http
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.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
Microsoft.Bcl.AsyncInterfaces
Assembly Version: 5.0.0.0
Win32 Version: 5.0.20.47505
CodeBase: file:///C:/Program%20Files/NomadSoft/7D2D%20RAT%203/Microsoft.Bcl.AsyncInterfaces.DLL
----------------------------------------
Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.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.
 
That's a new one... I'd recommend uninstalling and reinstalling. Sorry I don't have a better suggestion at this point, but.. never seen that before.

It looks like you might be clicking the connect to server button without configuring things first?
 
That's a new one... I'd recommend uninstalling and reinstalling. Sorry I don't have a better suggestion at this point, but.. never seen that before.

It looks like you might be clicking the connect to server button without configuring things first?
I have tried uninstalling and reinstalling but the program remembers all my previous settings. Also, this error is from when I first launched into the program before I even configured anything. unless it's trying to auto-connect?
 
Sorry fresh installed worked my dumbass forgot to delete to file from the AppData folder. also, I found out that the error will still appear if I change anything under the server connection tab. what could be causing this? am I setting up something wrong?
 
It sounds like access to the DB isn't working. When you installed, did you change anything from the defaults? Meaning like the "Install just for me" or "install for everyone" prompt? I've heard once before that someone changed that to (whatever isn't the default) and something similar happened. Basically the file is written in a way RAT can't access it or something.

I'd recommend reinstalling (again, sorry) if you changed any of the defaults at all and just see if that fixes it. If so, we can try and figure out what is going on to get it installed where you want.
 
Okay, I'm getting places I have setup everything up got my config in and am able of starting the server from within the program. The next issue is once I am in the game the program doesn't show the online players or any chat logs within the game. also, I'm getting this error inside the rat log after booting up of server.

2022-11-17 11:14:56 - Error getting response from WebAPI: Unable to connect to the remote server
2022-11-17 11:14:58 - Error getting response from WebAPI: The remote server returned an error: (403) Forbidden.

Sorry for all the issues I got. kinda new to all this stuff.
 
No problem at all, I'm really bad at creating documentation, etc... so more my fault than anyone else's when they run into issues. =)

Such as, your current issue, can be resolved by doing what I posted in this reply to someone else.


Basically, update your webpermissons.xml file and reset the web token. Let me know if you have any other questions/problems.
After a few more uninstalling and reinstalling and doing what you have told me everything is up and running. Thank you for the help.
 
  • Like
Reactions: Trekkan