A set of .NET Framework managed libraries for developing graphical user interfaces.
this is capture from another machine
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Unhandled Exception: System.InvalidOperationException: Category does not exist.
at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category)
at System.Diagnostics.PerformanceCounterCategory.GetCounterInstances(String categoryName, String machineName)
at System.Diagnostics.PerformanceCounterCategory.GetInstanceNames()
at SuperSocket.SocketEngine.PerformanceMonitor.GetPerformanceCounterInstanceName(Process process)
at SuperSocket.SocketEngine.PerformanceMonitor..ctor(IRootConfig config, IEnumerable`1 appServers, ILogFactory logFactory)
at SuperSocket.SocketEngine.DefaultBootstrap.Initialize(Func`2 serverConfigResolver, ILogFactory logFactory)
at SuperSocket.SocketEngine.DefaultBootstrap.Initialize(Func`2 serverConfigResolver)
at SuperSocket.SocketEngine.DefaultBootstrap.Initialize()
at SocketCommunicator.Program.RunAsConsole() in C:\EWE_EmployeeAttendanceApp\EWE_EmployeeAttendanceApp\SocketCommunicator\Program.cs:line 28
at SocketCommunicator.Program.Main(String[] args) in C:\EWE_EmployeeAttendanceApp\EWE_EmployeeAttendanceApp\SocketCommunicator\Program.cs:line 20
I have tired all the solutions available online. 1. uninstall and reinstall .net framework 2. update windows 2. Scan your computer for malware 3. Troubleshooting process 4. Install the .NET Framework manually 5. Run the .NET Framework repair tool 6. Perform SFC scanning 7. Clean Clean and access Safe Mode
note that the application only not working on one device, but working on other devices without any issues
A set of .NET Framework managed libraries for developing graphical user interfaces.
.NET: Microsoft Technologies based on the .NET software framework. Runtime: An environment required to run apps that aren't compiled to machine language.
this is capture from another machine
Looks like something has corrupted your performance counters. If you click on the green plus icon, does it show any counters?
Do you see errors in the application eventlog? You could try running the lodctr command to reload the counters.
at System.Diagnostics.PerformanceCounterCategory.GetCounterInstances(String categoryName, String machineName)
at System.Diagnostics.PerformanceCounterCategory.GetInstanceNames()
at SuperSocket.SocketEngine.PerformanceMonitor.GetPerformanceCounterInstanceName(Process process)
That doesn't look like a DotNet problem. It looks like your program is trying to query a performance counter that does not exist.
What is the program doing?
If you run perfmon.exe can you view the counters that the program is querying?