crowbarmaster / BedrockManagementService

A multiple host, multiple server, Minecraft bedrock server management service and GUI manager.
Apache License 2.0
33 stars 5 forks source link

Exception upon editting a players pemission level via player manager #107

Open l33m4n opened 3 months ago

l33m4n commented 3 months ago

If i click on the drop down menu, to edit a players permission level within the Player manager form, it will recieve this exception. I have re-installed .net 6.0 runtime multiple times, and this issue has persisted.

The following exception occurred in the DataGridView 
System.Threading.ThreadStateException: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. 
  at 
System.Windows.Forms.ComboBox.set_AutoCompleteSource(A utoCompleteSource value) 
  at
System.Windows.Forms.DataGridViewComboBoxCell.lnitializeE ditingControl(Int32 rowlndex, Object initialFormattedValue, DataGridViewCellStyle dataGridViewCellStyle) 
  at 
System.Windows.Forms.DataGridView.lnitializeEditingControl Value(DataGridViewCellStyle& dataGridViewCellStyle, DataGridViewCell dataGridViewCell) 

To replace this default dialog please handle the DataError event. 
crowbarmaster commented 3 months ago

Question related to this, is this for bedrock or Java based server? You seem to be familiar with sharp enough to cut yourself with it, I might be able to at least guide you to the root issue from my phone.... 😂

l33m4n commented 2 weeks ago

I apologize for the time it took to reply. This is for a bedrock server.