Space Engineers

Space Engineers

View Stats:
Bill Murray May 30, 2014 @ 10:57am
Dedicated Server Crashes on startup
every single time I run the server application, I get the same error that crashes it to desktop
"there is an error in XML document (0,0)"



************** Exception Text **************
System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read447_MyConfigDedicated()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at 00DD5482C0A3DF0D94B151167E77A6D9.EB0B0448CDB2C619C686429C597589BC.4DD64FD1D45E514D01C925D07B69B3BE()
at DedicatedConfigurator.ConfigForm.ConfigForm_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
CodeBase: file:/C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
SpaceEngineersDedicated
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/SpaceEngineers/DedicatedServer64/SpaceEngineersDedicated.exe
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:/C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:/C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
VRage.Library
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/SpaceEngineers/DedicatedServer64/VRage.Library.DLL
----------------------------------------
System.ServiceProcess
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:/C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
Sandbox.Game
Assembly Version: 0.1.5262.30566
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/SpaceEngineers/DedicatedServer64/Sandbox.Game.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
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.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:/C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Sandbox.Common
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/SpaceEngineers/DedicatedServer64/Sandbox.Common.DLL
----------------------------------------
VRage.Math
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/SpaceEngineers/DedicatedServer64/VRage.Math.DLL
----------------------------------------
SharpDX
Assembly Version: 2.5.0.0
Win32 Version: 2.5.0
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/SpaceEngineers/DedicatedServer64/SharpDX.DLL
----------------------------------------
VRage.Common
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/SpaceEngineers/DedicatedServer64/VRage.Common.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:/C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:/C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Sandbox.Common.XmlSerializers
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/SpaceEngineers/DedicatedServer64/Sandbox.Common.XmlSerializers.DLL
----------------------------------------
SteamSDK
Assembly Version: 0.0.0.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/SpaceEngineers/DedicatedServer64/SteamSDK.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.

< >
Showing 1-7 of 7 comments
Bill Murray Jun 5, 2014 @ 9:46am 
still nothing? new patch today and the same issue is still there, anyone know what would cause this please? =)
Bill Murray Jun 6, 2014 @ 8:04am 
still looking for an answer
Nikolaj Jun 6, 2014 @ 8:17am 
The first line gives you the clue you need:
System.InvalidOperationException: There is an error in XML document (0, 0). --->


There is an error in an XML file somewhere, it could be your global config file which is written in XML.

If you run the server as local / console, it's here:
%appdata%\Roaming\SpaceEngineersDedicated\Default\SpaceEngineers-Dedicated.cfg

If you created a custom instance, it's here:
%ProgramData%\SpaceEngineersDedicated\<INSTANCE NAME>\SpaceEngineers-Dedicated.cfg

Delete that file and let the server software regenerate it with the correct syntax.


If that doesn't fix your problem, it could be one of the XML files in the server files themselves, in which case, the fix is to delete all of the server files and get a fresh .zip file from here:
SteamApps\common\SpaceEngineers\Tools\DedicatedServer.zip

Extract that and try again.


One of these two things should fix your issues.

Regards,
Nikolaj





Last edited by Nikolaj; Jun 6, 2014 @ 8:18am
Bill Murray Jun 6, 2014 @ 9:20am 
Appreciate the help, and first line having the clue or not is irrelevant as it reads like ancient greek to me, im a musician not a tech of any sort lol. However that fixed one problem and tossed me straight into a new crash so I think I'll wait for a while untill a few patches lol
Nikolaj Jun 6, 2014 @ 9:34am 
Originally posted by Bill:
Appreciate the help, and first line having the clue or not is irrelevant as it reads like ancient greek to me, im a musician not a tech of any sort lol. However that fixed one problem and tossed me straight into a new crash so I think I'll wait for a while untill a few patches lol

You're quite right, it does have similarities to ancient Greek, I was just explaining where I got the clue from :)

What's your new issue and have you got some error codes for me to look at?


The server software isn't brilliant at this point, but it has proved itself to be quite stable, so long as the prerequisites are met.. If you haven't already, I'd try re-installing the .NET 4 framework to see if that helps.

Regards,
Nikolaj
Bill Murray Jun 6, 2014 @ 10:52am 
new crash seems related to the admin field, i type in my steam ID and I get an XML crash due to "improper format" leave it blank and it fires up, tbh I just dont get enough of the talk about steam groups etc, nor do I feel compelled to go learn so that my server is secure. I'll wait till it is a bit more user friendly "read: newb friendly"

TY again tho I do appreciate your assistance and attempts to help =)
Last edited by Bill Murray; Jun 6, 2014 @ 10:54am
Nikolaj Jun 6, 2014 @ 11:38am 
Originally posted by Bill:
new crash seems related to the admin field, i type in my steam ID and I get an XML crash due to "improper format" leave it blank and it fires up, tbh I just dont get enough of the talk about steam groups etc, nor do I feel compelled to go learn so that my server is secure. I'll wait till it is a bit more user friendly "read: newb friendly"

TY again tho I do appreciate your assistance and attempts to help =)

You need to use the ID64 format ID for the admin and steam group fields..
Your ID64 steam ID is 76561197997003896

As for the steam group ID, you can go to this little guide: http://forums.keenswh.com/post/6923894

Which explains how to get the ID for a steam group quite nicely :)
Last edited by Nikolaj; Jun 6, 2014 @ 11:39am
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: May 30, 2014 @ 10:57am
Posts: 7