diva / d2

Diva Distro
71 stars 20 forks source link

Unable to Start Simulator on Windows #45

Open Araminta opened 1 year ago

Araminta commented 1 year ago

I am able to load and run the OSGrid distribution on the same system with a connection to a remote MySQL database without issue (using port 9100), but I am unable to get the Diva distribution to load. I receive the following error. I am not attempting to run both simulators simultaneously.

2023-04-15 18:31:04,578 INFO - OpenSim.Application [OPENSIM MAIN]: configured log4net using default OpenSim.exe.config 2023-04-15 18:31:04,641 INFO - OpenSim.Application [OPENSIM MAIN]: System Locale is en-US 2023-04-15 18:31:04,688 INFO - OpenSim.Framework.Util [UTIL] TimeStamp clock with period of 1E-05ms 2023-04-15 18:31:04,688 INFO - OpenSim.Application [OPENSIM MAIN]: Runtime gave us 4 min worker threads and 4 min IOCP threads 2023-04-15 18:31:04,688 INFO - OpenSim.Application [OPENSIM MAIN]: Runtime gave us 32767 max worker threads and 1000 max IOCP threads 2023-04-15 18:31:04,688 INFO - OpenSim.Application [OPENSIM MAIN]: Limiting max worker threads to 1000 2023-04-15 18:31:04,688 INFO - OpenSim.Application [OPENSIM MAIN]: Threadpool set to 1000 max worker threads and 1000 max IOCP threads 2023-04-15 18:31:04,703 INFO - OpenSim.Application [OPENSIM MAIN]: Environment is supported by OpenSimulator. 2023-04-15 18:31:04,703 INFO - OpenSim.Application Default culture changed to English (United States) 2023-04-15 18:31:04,750 INFO - OpenSim.ConfigurationLoader [CONFIG]: Reading configuration settings 2023-04-15 18:31:04,750 INFO - OpenSim.ConfigurationLoader [CONFIG]: Reading configuration file C:\Users\jennifer\OpenSim\Diva\bin\OpenSimDefaults.ini 2023-04-15 18:31:04,828 INFO - OpenSim.ConfigurationLoader [CONFIG]: Reading configuration file C:\Users\jennifer\OpenSim\Diva\bin\OpenSim.ini 2023-04-15 18:31:04,859 WARN - OpenSim.ConfigurationLoader [CONFIG]: Could not find include file C:\Users\jennifer\OpenSim\Diva\bin\config-include\osslDefaultEnable.ini 2023-04-15 18:31:04,874 INFO - OpenSim.ConfigurationLoader [CONFIG]: Reading configuration file C:\Users\jennifer\OpenSim\Diva\bin\config-include\DivaPreferences.ini 2023-04-15 18:31:04,890 WARN - OpenSim.ConfigurationLoader [CONFIG]: Could not find include file C:\Users\jennifer\OpenSim\Diva\bin\config-include\osslDefaultEnable.ini 2023-04-15 18:31:04,907 INFO - OpenSim.ConfigurationLoader [CONFIG]: Reading configuration file C:\Users\jennifer\OpenSim\Diva\bin\config-include\MyWorld.ini 2023-04-15 18:31:04,907 WARN - OpenSim.ConfigurationLoader [CONFIG]: Could not find include file C:\Users\jennifer\OpenSim\Diva\bin\config-include\osslDefaultEnable.ini 2023-04-15 18:31:04,922 INFO - OpenSim.ConfigurationLoader [CONFIG]: Loading environment variables for Config 2023-04-15 18:31:05,000 INFO - OpenSim.OpenSim [OPENSIM MAIN]: Using async_call_method SmartThreadPool 2023-04-15 18:31:05,000 INFO - OpenSim.OpenSim [OPENSIM MAIN] Running GC in server mode 2023-04-15 18:31:05,000 INFO - OpenSim.Framework.Servers.BaseOpenSimServer [STARTUP]: Beginning startup processing 2023-04-15 18:31:05,000 INFO - OpenSim.Framework.Servers.BaseOpenSimServer [STARTUP]: version: OpenSim 0.9.2.1 Yeti Release

2023-04-15 18:31:05,000 INFO - OpenSim.Framework.Servers.BaseOpenSimServer [STARTUP]: Operating system version: Microsoft Windows NT 6.2.9200.0, .NET platform Win32NT, 64-bit

2023-04-15 18:31:05,000 INFO - OpenSim.Framework.Servers.BaseOpenSimServer [STARTUP]: Processor Architecture: AMD64(le) 2023-04-15 18:31:05,047 INFO - OpenSim.OpenSim ==================================================================== 2023-04-15 18:31:05,047 INFO - OpenSim.OpenSim ========================= STARTING OPENSIM ========================= 2023-04-15 18:31:05,047 INFO - OpenSim.OpenSim ==================================================================== 2023-04-15 18:31:05,078 INFO - OpenSim.Framework.Console.LocalConsole [LOCAL CONSOLE]: Persistent command line history is Enabled, up to 100 lines from file C:\Users\jennifer\OpenSim\Diva\bin\OpenSimConsoleHistory.txt without timestamps 2023-04-15 18:31:05,078 INFO - OpenSim.Framework.Console.LocalConsole [LOCAL CONSOLE]: Read 100 lines of command line history from file C:\Users\jennifer\OpenSim\Diva\bin\OpenSimConsoleHistory.txt 2023-04-15 18:31:05,125 INFO - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: Logging started to file C:\Users\jennifer\OpenSim\Diva\bin\OpenSim.log 2023-04-15 18:31:05,156 INFO - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: Starting in C:\Users\jennifer\OpenSim\Diva\bin 2023-04-15 18:31:05,172 INFO - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: OpenSimulator version: OpenSim 0.9.2.1 Yeti Release 2023-04-15 18:31:05,172 INFO - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: Operating system version: Microsoft Windows NT 6.2.9200.0, .NET platform Win32NT, 64-bit 2023-04-15 18:31:05,297 ERROR - OpenSim.Server.Base.ServerUtils [SERVER UTILS]: Error loading plugin from OpenSim.Services.SimulationService.dll System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Users\jennifer\OpenSim\Diva\bin\OpenSim.Services.SimulationService.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) File name: 'file:///C:\Users\jennifer\OpenSim\Diva\bin\OpenSim.Services.SimulationService.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information. at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at OpenSim.Server.Base.ServerUtils.LoadPlugin[T](String dllName, String className, Object[] args)

2023-04-15 18:31:05,406 FATAL - OpenSim.Framework.Servers.BaseOpenSimServer Fatal error: System.Exception: Could not load an ISimulationDataService implementation from OpenSim.Services.SimulationService.dll:SimulationDataService, as configured in the LocalServiceModule parameter of the [SimulationDataStore] config section. at OpenSim.OpenSimBase.StartupSpecific() at OpenSim.OpenSim.StartupSpecific() at OpenSim.Framework.Servers.BaseOpenSimServer.Startup()