You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deleting the default server created which is the "Dedicated server", an exception is experienced in v3.0.8674.39004.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Minecraft Management Service\MmsConfig\ServerConfigs\Dedicated Server.conf'.
at System.IO.FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at MinecraftService.Shared.Classes.ServiceConfigurator.RemoveServerInfo(IServerConfiguration serverConfiguration)
at MinecraftService.Client.Forms.MainWindow.RemoveSrvBtn_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
As reasoning behind wanting to delete the default server...I want to have a different name other than "Dedicated Server" which does not seem to be an option without deleting the default and creating a new server....This however seems to cause issues.
It was my intention to keep users from removing all servers from the service, and likely why it failed. Add your server with it's desired name first, then remove the default server. I do not have any logic in place for the service to run with zero servers at this time, and therefore allowing there to be the chance that the service shuts down without a server is not allowable. I have added a message and a block to validate my intentions.
When deleting the default server created which is the "Dedicated server", an exception is experienced in v3.0.8674.39004.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Minecraft Management Service\MmsConfig\ServerConfigs\Dedicated Server.conf'.
at System.IO.FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at MinecraftService.Shared.Classes.ServiceConfigurator.RemoveServerInfo(IServerConfiguration serverConfiguration)
at MinecraftService.Client.Forms.MainWindow.RemoveSrvBtn_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
System.Private.CoreLib
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Private.CoreLib.dll
MinecraftService.Client
Assembly Version: 3.0.8674.39008
Win32 Version: n/a
CodeBase:
System.Windows.Forms
Assembly Version: 6.0.2.0
Win32 Version: 6.0.2223.42407
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.22/System.Windows.Forms.dll
System.ComponentModel.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.ComponentModel.Primitives.dll
System.Runtime
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Runtime.dll
System.Windows.Forms.Primitives
Assembly Version: 6.0.2.0
Win32 Version: 6.0.2223.42407
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.22/System.Windows.Forms.Primitives.dll
System.Runtime.InteropServices
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Runtime.InteropServices.dll
System.Drawing.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Drawing.Primitives.dll
System.Collections.Specialized
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Collections.Specialized.dll
System.Threading
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Threading.dll
System.Drawing.Common
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.22/System.Drawing.Common.dll
System.Diagnostics.TraceSource
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Diagnostics.TraceSource.dll
System.Collections
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Collections.dll
MinecraftService.Shared
Assembly Version: 3.0.8674.38998
Win32 Version: n/a
CodeBase:
System.Diagnostics.Process
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Diagnostics.Process.dll
Newtonsoft.Json
Assembly Version: 13.0.0.0
Win32 Version: n/a
CodeBase:
NLog
Assembly Version: 5.0.0.0
Win32 Version: n/a
CodeBase:
netstandard
Assembly Version: 2.1.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/netstandard.dll
System.ComponentModel
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.ComponentModel.dll
System.Collections.NonGeneric
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Collections.NonGeneric.dll
Microsoft.Win32.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/Microsoft.Win32.Primitives.dll
System.Memory
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Memory.dll
System.IO.FileSystem.Watcher
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.IO.FileSystem.Watcher.dll
System.Linq
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Linq.dll
System.Net.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Net.Primitives.dll
System.Net.Mail
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Net.Mail.dll
System.Net.Sockets
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Net.Sockets.dll
System.ComponentModel.TypeConverter
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.ComponentModel.TypeConverter.dll
System.Linq.Expressions
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Linq.Expressions.dll
System.ObjectModel
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.ObjectModel.dll
System.Private.Uri
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Private.Uri.dll
System.Diagnostics.FileVersionInfo
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Diagnostics.FileVersionInfo.dll
System.Console
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Console.dll
System.Text.Encoding.Extensions
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Text.Encoding.Extensions.dll
System.ComponentModel.EventBasedAsync
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.ComponentModel.EventBasedAsync.dll
System.Threading.Thread
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Threading.Thread.dll
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 6.0.2223.42407
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.22/Accessibility.dll
System.Numerics.Vectors
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Numerics.Vectors.dll
Microsoft.Win32.SystemEvents
Assembly Version: 6.0.0.0
Win32 Version: n/a
CodeBase:
System.Collections.Concurrent
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Collections.Concurrent.dll
System.Runtime.CompilerServices.Unsafe
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Runtime.CompilerServices.Unsafe.dll
System.Threading.ThreadPool
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Threading.ThreadPool.dll
System.Diagnostics.Tracing
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Diagnostics.Tracing.dll
System.Net.NameResolution
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Net.NameResolution.dll
System.Runtime.Serialization.Formatters
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Runtime.Serialization.Formatters.dll
System.Runtime.Numerics
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Runtime.Numerics.dll
System.Runtime.Serialization.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Runtime.Serialization.Primitives.dll
System.Data.Common
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Data.Common.dll
System.Xml.ReaderWriter
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Xml.ReaderWriter.dll
System.Private.Xml
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Private.Xml.dll
System.Reflection.Emit.ILGeneration
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Reflection.Emit.ILGeneration.dll
System.Reflection.Emit.Lightweight
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Reflection.Emit.Lightweight.dll
System.Reflection.Primitives
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Reflection.Primitives.dll
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Private.CoreLib.dll
System.Runtime.Loader
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Runtime.Loader.dll
System.Diagnostics.StackTrace
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Diagnostics.StackTrace.dll
System.Reflection.Metadata
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Reflection.Metadata.dll
System.Collections.Immutable
Assembly Version: 6.0.0.0
Win32 Version: 6.0.2223.42425
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.22/System.Collections.Immutable.dll
************** JIT Debugging **************
The text was updated successfully, but these errors were encountered: