1. This forum is obsolete and read-only. Feel free to contact us at support.keenswh.com

Dedicated server does not start - System.IO.FileLoadException

Discussion in 'Technical Help' started by nobody, Jul 6, 2018.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. nobody

    nobody Trainee Engineer

    Messages:
    2
    Greeting Space Engineers!

    I'm trying to start a dedicated server on a new Windows 10 VM (deployed from Azure). It has all the latest updates installed and .NET 4.7. I copied the DedicatedServer.zip (from SpaceEngineers\Tools) over to the VM and extracted it.

    However, when trying to start the dedicated server (by double clicking SpaceEngineersDedicated.exe) nothing happens.

    When I look in the windows event viewer I see exceptions happening:

    Code:
    Application: SpaceEngineersDedicated.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.NotSupportedException
    
    Exception Info: System.IO.FileLoadException
      at System.Reflection.RuntimeAssembly._nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean)
      at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(System.Reflection.AssemblyName, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean)
      at System.Reflection.RuntimeAssembly.InternalLoadFrom(System.String, System.Security.Policy.Evidence, Byte[], System.Configuration.Assemblies.AssemblyHashAlgorithm, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
      at System.Reflection.Assembly.LoadFrom(System.String)
      at VRage.Plugins.MyPlugins.RegisterGameObjectBuildersAssemblyFile(System.String)
      at VRage.Dedicated.DedicatedServer.Run[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String[])
      at SpaceEngineersDedicated.MyProgram.Main(System.String[])
    
    Code:
    Faulting application name: SpaceEngineersDedicated.exe, version: 1.0.0.0, time stamp: 0x5aa01b70
    Faulting module name: KERNELBASE.dll, version: 10.0.16299.492, time stamp: 0x5c04cfa2
    Exception code: 0xe0434352 Fault offset: 0x00000000000450d8
    Faulting process id: 0x26bc
    Faulting application start time: 0x01d4121d92aedb3e
    Faulting application path: C:\SpaceEngineers\DedicatedServer64\SpaceEngineersDedicated.exe
    Faulting module path: C:\Windows\System32\KERNELBASE.dll Report Id: 5a07ae1c-1282-42db-b0fa-c2051c37e892
    Faulting package full name: Faulting package-relative application ID:
    Code:
    Version=1
    EventType=CLR20r3
    EventTime=131754495680565516
    ReportType=2
    Consent=1
    UploadTime=131754495684002627
    ReportStatus=268435456
    ReportIdentifier=aec9472f-1867-499c-a994-ef9bfd2da7bf
    IntegratorReportIdentifier=00cd14be-4e52-40d5-9509-71c6a4397743
    Wow64Host=34404
    NsAppName=SpaceEngineersDedicated.exe
    OriginalFilename=SpaceEngineersDedicated.exe
    AppSessionGuid=00002258-0002-0002-5440-4d060416d401
    TargetAppId=W:00068d48ce6629dfa4f43aa7e94e4d4c0f2f00000000!00005ec30d9e51f2aa903ae22100336e2cb38dee1309!SpaceEngineersDedicated.exe
    TargetAppVer=2018//03//07:17:03:44!0!SpaceEngineersDedicated.exe
    BootId=4294967295
    TargetAsId=397
    IsFatal=1
    Response.BucketId=196197ebc796f964f922460a340145f2
    Response.BucketTable=5
    Response.LegacyBucketId=1811087009792476658
    Response.type=4
    Sig[0].Name=Problem Signature 01
    Sig[0].Value=SpaceEngineersDedicated.exe
    Sig[1].Name=Problem Signature 02
    Sig[1].Value=1.0.0.0
    Sig[2].Name=Problem Signature 03
    Sig[2].Value=5aa01b70
    Sig[3].Name=Problem Signature 04
    Sig[3].Value=mscorlib
    Sig[4].Name=Problem Signature 05
    Sig[4].Value=4.7.3120.0
    Sig[5].Name=Problem Signature 06
    Sig[5].Value=5b08b679
    Sig[6].Name=Problem Signature 07
    Sig[6].Value=4288
    Sig[7].Name=Problem Signature 08
    Sig[7].Value=a4
    Sig[8].Name=Problem Signature 09
    Sig[8].Value=System.IO.FileLoadException
    DynamicSig[1].Name=OS Version
    DynamicSig[1].Value=10.0.17134.2.0.0.256.48
    DynamicSig[2].Name=Locale ID
    DynamicSig[2].Value=1033
    DynamicSig[22].Name=Additional Information 1
    DynamicSig[22].Value=e418
    DynamicSig[23].Name=Additional Information 2
    DynamicSig[23].Value=e41801170cf1453600c317a47ac31a63
    DynamicSig[24].Name=Additional Information 3
    DynamicSig[24].Value=222e
    DynamicSig[25].Name=Additional Information 4
    DynamicSig[25].Value=222e0ea7ac80ce2c263d2e5606122cf2
    UI[2]=C:\SpaceEngineers\DedicatedServer64\SpaceEngineersDedicated.exe
    LoadedModule[0]=C:\SpaceEngineers\DedicatedServer64\SpaceEngineersDedicated.exe
    LoadedModule[1]=C:\WINDOWS\SYSTEM32\ntdll.dll
    LoadedModule[2]=C:\WINDOWS\SYSTEM32\MSCOREE.DLL
    LoadedModule[3]=C:\WINDOWS\System32\KERNEL32.dll
    LoadedModule[4]=C:\WINDOWS\System32\KERNELBASE.dll
    LoadedModule[5]=C:\WINDOWS\SYSTEM32\apphelp.dll
    LoadedModule[6]=C:\WINDOWS\System32\ADVAPI32.dll
    LoadedModule[7]=C:\WINDOWS\System32\msvcrt.dll
    LoadedModule[8]=C:\WINDOWS\System32\sechost.dll
    LoadedModule[9]=C:\WINDOWS\System32\RPCRT4.dll
    LoadedModule[10]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll
    LoadedModule[11]=C:\WINDOWS\System32\SHLWAPI.dll
    LoadedModule[12]=C:\WINDOWS\System32\combase.dll
    LoadedModule[13]=C:\WINDOWS\System32\ucrtbase.dll
    LoadedModule[14]=C:\WINDOWS\System32\bcryptPrimitives.dll
    LoadedModule[15]=C:\WINDOWS\System32\GDI32.dll
    LoadedModule[16]=C:\WINDOWS\System32\gdi32full.dll
    LoadedModule[17]=C:\WINDOWS\System32\msvcp_win.dll
    LoadedModule[18]=C:\WINDOWS\System32\USER32.dll
    LoadedModule[19]=C:\WINDOWS\System32\win32u.dll
    LoadedModule[20]=C:\WINDOWS\System32\IMM32.DLL
    LoadedModule[21]=C:\WINDOWS\System32\kernel.appcore.dll
    LoadedModule[22]=C:\WINDOWS\SYSTEM32\VERSION.dll
    LoadedModule[23]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
    LoadedModule[24]=C:\WINDOWS\SYSTEM32\MSVCR120_CLR0400.dll
    LoadedModule[25]=C:\WINDOWS\System32\ole32.dll
    LoadedModule[26]=C:\WINDOWS\system32\uxtheme.dll
    LoadedModule[27]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll
    LoadedModule[28]=C:\WINDOWS\SYSTEM32\bcrypt.dll
    LoadedModule[29]=C:\SpaceEngineers\DedicatedServer64\HavokWrapper.dll
    LoadedModule[30]=C:\WINDOWS\System32\WS2_32.dll
    LoadedModule[31]=C:\SpaceEngineers\DedicatedServer64\MSVCP120.dll
    LoadedModule[32]=C:\SpaceEngineers\DedicatedServer64\MSVCR120.dll
    LoadedModule[33]=C:\WINDOWS\SYSTEM32\CRYPTSP.dll
    LoadedModule[34]=C:\WINDOWS\system32\rsaenh.dll
    LoadedModule[35]=C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
    LoadedModule[36]=C:\WINDOWS\System32\shell32.dll
    LoadedModule[37]=C:\WINDOWS\System32\cfgmgr32.dll
    LoadedModule[38]=C:\WINDOWS\System32\shcore.dll
    LoadedModule[39]=C:\WINDOWS\System32\windows.storage.dll
    LoadedModule[40]=C:\WINDOWS\System32\profapi.dll
    LoadedModule[41]=C:\WINDOWS\System32\powrprof.dll
    LoadedModule[42]=C:\WINDOWS\System32\FLTLIB.DLL
    LoadedModule[43]=C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.137_none_2c2f8a2a8af61535\gdiplus.dll
    LoadedModule[44]=C:\WINDOWS\System32\MSCTF.dll
    LoadedModule[45]=C:\WINDOWS\System32\OLEAUT32.dll
    LoadedModule[46]=C:\WINDOWS\SYSTEM32\WindowsCodecs.dll
    LoadedModule[47]=C:\WINDOWS\SYSTEM32\urlmon.dll
    LoadedModule[48]=C:\WINDOWS\SYSTEM32\iertutil.dll
    LoadedModule[49]=C:\WINDOWS\SYSTEM32\SspiCli.dll
    LoadedModule[50]=C:\WINDOWS\SYSTEM32\PROPSYS.dll
    LoadedModule[51]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\diasymreader.dll
    State[0].Key=Transport.DoneStage1
    State[0].Value=1
    OsInfo[0].Key=vermaj
    OsInfo[0].Value=10
    OsInfo[1].Key=vermin
    OsInfo[1].Value=0
    OsInfo[2].Key=verbld
    OsInfo[2].Value=17134
    OsInfo[3].Key=ubr
    OsInfo[3].Value=137
    OsInfo[4].Key=versp
    OsInfo[4].Value=0
    OsInfo[5].Key=arch
    OsInfo[5].Value=9
    OsInfo[6].Key=lcid
    OsInfo[6].Value=1033
    OsInfo[7].Key=geoid
    OsInfo[7].Value=21
    OsInfo[8].Key=sku
    OsInfo[8].Value=48
    OsInfo[9].Key=domain
    OsInfo[9].Value=0
    OsInfo[10].Key=prodsuite
    OsInfo[10].Value=256
    OsInfo[11].Key=ntprodtype
    OsInfo[11].Value=1
    OsInfo[12].Key=platid
    OsInfo[12].Value=10
    OsInfo[13].Key=sr
    OsInfo[13].Value=0
    OsInfo[14].Key=tmsi
    OsInfo[14].Value=43
    OsInfo[15].Key=osinsty
    OsInfo[15].Value=3
    OsInfo[16].Key=iever
    OsInfo[16].Value=11.112.17134.0-11.0.70
    OsInfo[17].Key=portos
    OsInfo[17].Value=0
    OsInfo[18].Key=ram
    OsInfo[18].Value=4096
    OsInfo[19].Key=svolsz
    OsInfo[19].Value=126
    OsInfo[20].Key=wimbt
    OsInfo[20].Value=0
    OsInfo[21].Key=blddt
    OsInfo[21].Value=180410
    OsInfo[22].Key=bldtm
    OsInfo[22].Value=1804
    OsInfo[23].Key=bldbrch
    OsInfo[23].Value=rs4_release
    OsInfo[24].Key=bldchk
    OsInfo[24].Value=0
    OsInfo[25].Key=wpvermaj
    OsInfo[25].Value=0
    OsInfo[26].Key=wpvermin
    OsInfo[26].Value=0
    OsInfo[27].Key=wpbuildmaj
    OsInfo[27].Value=0
    OsInfo[28].Key=wpbuildmin
    OsInfo[28].Value=0
    OsInfo[29].Key=osver
    OsInfo[29].Value=10.0.17134.137.amd64fre.rs4_release.180410-1804
    OsInfo[30].Key=buildflightid
    OsInfo[30].Value=36A0EA1A-0E82-410C-8921-023F21F69575.1
    OsInfo[31].Key=edition
    OsInfo[31].Value=Professional
    OsInfo[32].Key=ring
    OsInfo[32].Value=Retail
    OsInfo[33].Key=expid
    OsInfo[33].Value=RS:1935
    OsInfo[34].Key=containerid
    OsInfo[35].Key=containertype
    OsInfo[36].Key=edu
    OsInfo[36].Value=0
    FriendlyEventName=Stopped working
    ConsentKey=CLR20r3
    AppName=Space Engineers Dedicated
    AppPath=C:\SpaceEngineers\DedicatedServer64\SpaceEngineersDedicated.exe
    NsPartner=windows
    NsGroup=windows8
    ApplicationIdentity=DADD28EA5D93FCEF71F80AF853D0B30B
    MetadataHash=300836756
    
    Any idea what's going on here, anything I'm missing?

    Thanks
     
    Last edited: Jul 7, 2018
  2. nobody

    nobody Trainee Engineer

    Messages:
    2
    Solved! I had to download the dedicated server through steamcdn instead of using the zip file under /tools.
     
Thread Status:
This last post in this thread was made more than 31 days old.