Pandora's Box (Reopened)

Pandora's Box (Reopened) 4.0

No permission to download

Milva

Administrator
Moderator
No one else getting this error when trying to open Pandora? :)
@Vorspire

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Inheritance security rules violated while overriding member: 'log4net.Util.ReadOnlyPropertiesDictionary.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
at log4net.Repository.Hierarchy.Hierarchy..ctor(ILoggerFactory loggerFactory)
at log4net.Repository.Hierarchy.Hierarchy..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.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at log4net.Core.DefaultRepositorySelector.CreateRepository(String repositoryName, Type repositoryType)
at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositoryAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttributes)
at log4net.Core.DefaultRepositorySelector.GetRepository(Assembly repositoryAssembly)
at log4net.Core.LoggerManager.GetRepository(Assembly repositoryAssembly)
at log4net.Config.XmlConfigurator.Configure(FileInfo configFile)
at TheBox.Common.BoxLog.SetupLog4Net()
at TheBox.Common.BoxLog..ctor(String filename)
at TheBox.Pandora.get_Log()
at TheBox.Pandora.Main(String[] args)
 

Vorspire

Vita-Nex: Core
Administrator
ServUO Developer
Must be an issue with log4net NuGet package, I will look into it soon.
 

Neraku34

Citizen
i tried this one aswell got same error. and while trying to set up the boxserver i got a error saying the process was already being used..
 

Regnak

Citizen
Hello there !

I haven't Vorspire's skills in coding, but I gave it a try.

Could anyone try this version of Pandora version 4 ?

Also, when you launch Pandora.exe, be sure to run it with admin rights (right click the file and click on "run as an administrator").

I have tried to fix all references to TerMur. There were quite a bunch ... so, sometimes it may just crash.
All the waypoints/shortcuts haven't been added yet, but you can navigate in TerMur using the world map.

If anyone has a crash, plz report the crashing file name and line of code. Thx !

-Rek-
 

Attachments

  • Pandora.zip
    1.6 MB · Views: 60
Last edited:

badboy

Citizen
System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.TypeLoadException: 重写成员“log4net.Util.ReadOnlyPropertiesDictionary.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)”时违反了继承安全性规则。重写方法的安全可访问性必须与所重写方法的安全可访问性匹配。
在 log4net.Repository.Hierarchy.Hierarchy..ctor(ILoggerFactory loggerFactory)
--- 内部异常堆栈跟踪的结尾 ---
在 System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
在 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
在 System.Activator.CreateInstance(Type type, Boolean nonPublic)
在 System.Activator.CreateInstance(Type type)
在 log4net.Core.DefaultRepositorySelector.CreateRepository(String repositoryName, Type repositoryType)
在 log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositoryAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttributes)
在 log4net.Core.DefaultRepositorySelector.GetRepository(Assembly repositoryAssembly)
在 log4net.Config.XmlConfigurator.Configure(FileInfo configFile)
在 TheBox.Common.BoxLog.SetupLog4Net()
在 TheBox.Common.BoxLog..ctor(String filename)
在 TheBox.Pandora.get_Log()
在 TheBox.Pandora.Main(String[] args)
 

Regnak

Citizen
Cool and thanks for the crash report !
Could you try this in debug mode (and if possible with everything in English) ?
It would point to a file and a line in a script that is crashing you.

I'm willing to finish what I started, like adding the TerMur waypoints for an easier travelling.
At least, if that can be useful to anyone :)

Thx !

-Rek-

System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.TypeLoadException: 重写成员“log4net.Util.ReadOnlyPropertiesDictionary.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)”时违反了继承安全性规则。重写方法的安全可访问性必须与所重写方法的安全可访问性匹配。
在 log4net.Repository.Hierarchy.Hierarchy..ctor(ILoggerFactory loggerFactory)
--- 内部异常堆栈跟踪的结尾 ---
在 System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
在 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
在 System.Activator.CreateInstance(Type type, Boolean nonPublic)
在 System.Activator.CreateInstance(Type type)
在 log4net.Core.DefaultRepositorySelector.CreateRepository(String repositoryName, Type repositoryType)
在 log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositoryAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttributes)
在 log4net.Core.DefaultRepositorySelector.GetRepository(Assembly repositoryAssembly)
在 log4net.Config.XmlConfigurator.Configure(FileInfo configFile)
在 TheBox.Common.BoxLog.SetupLog4Net()
在 TheBox.Common.BoxLog..ctor(String filename)
在 TheBox.Pandora.get_Log()
在 TheBox.Pandora.Main(String[] args)
 

JaxStraw

Citizen
I'm still looking up how to install the damn thing to get it to work properly and not completely crashing my server lol
 

Milva

Administrator
Moderator
Download the other Pandoras Box- then I posted on your other post how to install
Pandoras Bo 3 https://www.servuo.com/threads/pandoras-box-3-download.794/
 

ParanoiaPhD

Citizen
Error from the op first download post in thread...

C#:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Inheritance security rules violated while overriding member: 'log4net.Util.ReadOnlyPropertiesDictionary.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
   at log4net.Repository.Hierarchy.Hierarchy..ctor(ILoggerFactory loggerFactory)
   --- 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.Activator.CreateInstance(Type type)
   at log4net.Core.DefaultRepositorySelector.CreateRepository(String repositoryName, Type repositoryType)
   at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositoryAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttributes)
   at log4net.Core.DefaultRepositorySelector.GetRepository(Assembly repositoryAssembly)
   at log4net.Config.XmlConfigurator.Configure(FileInfo configFile)
   at TheBox.Common.BoxLog.SetupLog4Net()
   at TheBox.Common.BoxLog..ctor(String filename)
   at TheBox.Pandora.get_Log()
   at TheBox.Pandora.Main(String[] args)
 
Last edited: