Winforms VB application with Single Instance setting crashes for multiple users on terminal server #11232
Labels
area-VisualBasic
🪲 bug
Product bug (most likely)
blocking-migration
An issue that is preventing the developer from migrating from .NET Framework or earlier .NET
Security
Issues of runtime code vulnerabilities or unintentional exposing customer data side effect
tenet-compatibility
Incompatibility with previous versions or with WinForms for .NET Framework
Milestone
.NET version
.Net 9.0 SDK: 9.0.100-preview.4.24217.27
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No, repro in .Net 8
Issue description
Creating a Winforms .Net 9 or 8 VB application with setting "single instance application" to true, put it on a terminal server, more users with permission to work on this server using RDP. The first user starts the program just fine, the second user start the same app and it crashes on startup.
Here is the log when it is reproduced:
Steps to reproduce
MoreInfo: this is a customer feedback: https://developercommunity.visualstudio.com/t/NET-8-single-instance-winforms-crashes-/10634133
The text was updated successfully, but these errors were encountered: