Eco
CodeAkula Mar 31, 2018 @ 5:21am
Error when starting server!
i get this error

--BEGIN DUMP--
Dump Time
03/31/2018 13:05:34

Exception
System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Eco.Core.Serialization.SimpleSerializer' threw an exception. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Eco.Core.Serialization.SimpleSerializer.<>c.<InitializeSerializableTypes>b__26_0(Assembly assembly)
at System.Linq.Enumerable.<SelectManyIterator>d__23`3.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at Eco.Core.Serialization.SimpleSerializer.InitializeSerializableTypes()
at Eco.Core.Serialization.SimpleSerializer..cctor()
--- End of inner exception stack trace ---
at Eco.Core.Serialization.SimpleSerializer..ctor()
at Eco.Core.Serialization.EcoSerializer.Initialize()
at Eco.Core.Plugins.StorageManager..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Eco.Server.PluginManager.AddPlugin(Type pluginType, Object[] p)
at Eco.Server.PluginManager.<>c__DisplayClass10_0.<.ctor>b__0()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Eco.Server.PluginManager..ctor()
at Eco.Server.Startup.Start(String[] args)
at Eco.Server.MainClass.Main(String[] args)
---> (Inner Exception #0) System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Eco.Core.Serialization.SimpleSerializer' threw an exception. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Eco.Core.Serialization.SimpleSerializer.<>c.<InitializeSerializableTypes>b__26_0(Assembly assembly)
at System.Linq.Enumerable.<SelectManyIterator>d__23`3.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at Eco.Core.Serialization.SimpleSerializer.InitializeSerializableTypes()
at Eco.Core.Serialization.SimpleSerializer..cctor()
--- End of inner exception stack trace ---
at Eco.Core.Serialization.SimpleSerializer..ctor()
at Eco.Core.Serialization.EcoSerializer.Initialize()
at Eco.Core.Plugins.StorageManager..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Eco.Server.PluginManager.AddPlugin(Type pluginType, Object[] p)
at Eco.Server.PluginManager.<>c__DisplayClass10_0.<.ctor>b__0()
at System.Threading.Tasks.Task.Execute()<---


Inner Exception
System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Eco.Core.Serialization.SimpleSerializer' threw an exception. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Eco.Core.Serialization.SimpleSerializer.<>c.<InitializeSerializableTypes>b__26_0(Assembly assembly)
at System.Linq.Enumerable.<SelectManyIterator>d__23`3.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at Eco.Core.Serialization.SimpleSerializer.InitializeSerializableTypes()
at Eco.Core.Serialization.SimpleSerializer..cctor()
--- End of inner exception stack trace ---
at Eco.Core.Serialization.SimpleSerializer..ctor()
at Eco.Core.Serialization.EcoSerializer.Initialize()
at Eco.Core.Plugins.StorageManager..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Eco.Server.PluginManager.AddPlugin(Type pluginType, Object[] p)
at Eco.Server.PluginManager.<>c__DisplayClass10_0.<.ctor>b__0()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Eco.Server.PluginManager..ctor()
at Eco.Server.Startup.Start(String[] args)
at Eco.Server.MainClass.Main(String[] args)
---> (Inner Exception #0) System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Eco.Core.Serialization.SimpleSerializer' threw an exception. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Eco.Core.Serialization.SimpleSerializer.<>c.<InitializeSerializableTypes>b__26_0(Assembly assembly)
at System.Linq.Enumerable.<SelectManyIterator>d__23`3.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at Eco.Core.Serialization.SimpleSerializer.InitializeSerializableTypes()
at Eco.Core.Serialization.SimpleSerializer..cctor()
--- End of inner exception stack trace ---
at Eco.Core.Serialization.SimpleSerializer..ctor()
at Eco.Core.Serialization.EcoSerializer.Initialize()
at Eco.Core.Plugins.StorageManager..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Eco.Server.PluginManager.AddPlugin(Type pluginType, Object[] p)
at Eco.Server.PluginManager.<>c__DisplayClass10_0.<.ctor>b__0()
at System.Threading.Tasks.Task.Execute()<---


--END DUMP--
< >
Showing 1-3 of 3 comments
CodeAkula Mar 31, 2018 @ 5:23am 
I get this error when trying to start my server using the downloaded current server from the slg eco website. any help would be much apprecieated!
NoBlackThunder Mar 31, 2018 @ 8:10am 
Clear all the config files , verify or if you download the server from the SLG account then copy the config files again into the folder and try again.. From what i see i would suspect that the config could have an error in it
CodeAkula Mar 31, 2018 @ 8:51am 
Unfortunately i just tried this and it hasnt changed, any other suggestions?
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Mar 31, 2018 @ 5:21am
Posts: 3