Service shutting down: failed to start application. Errorcode: 108

Options
9860: 22:08:29.069 - ---
9860: 22:08:29.069 - Service: "Photon Socket Server" starting
9860: 22:08:29.069 - Config File: D:\photon server\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config
9860: 22:08:29.069 - Will produce at most: 10 crash dumps
9860: 22:08:29.069 - Action: run as exe
9860: 22:08:29.070 - Server Starting...
9860: 22:08:29.070 - Tick count: 32509843 (wraps in: 49.334 days)
9860: 22:08:29.070 - Tick count 64: 32509843
9860: 22:08:29.070 - Photon Version: 4.0.28.2962
9860: 22:08:29.070 - PID: 16972
9860: 22:08:29.070 - Config File: D:\photon server\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config
9860: 22:08:29.070 - Will NOT log unimportant exceptions
9860: 22:08:29.071 - Not using performance counters as they are not currently installed. Run the service with /InstallCounters to install them.
9860: 22:08:29.071 - Shutdown timeout enabled: 30000ms
9860: 22:08:29.071 - Starting I/O thread pool with 2 threads
9860: 22:08:29.071 - Using Standard allocator
9860: 22:08:29.071 - Max message size: 512000
9860: 22:08:29.071 - Starting business logic thread pool with the following settings
9860: 22:08:29.072 - InitialThreads: 4 threads
9860: 22:08:29.072 - MinThreads: 4 threads
9860: 22:08:29.072 - Thread pool is fixed size
9860: 22:08:29.072 - Starting ENet thread pool with the following settings
9860: 22:08:29.072 - InitialThreads: 2 threads
9860: 22:08:29.072 - MinThreads: 2 threads
9860: 22:08:29.072 - Thread pool is fixed size
9860: 22:08:29.072 - OnlyDispatchTimers: False
9860: 22:08:29.072 - S2S: flow control: Max pending writes: 50
9860: 22:08:29.072 - S2S: flow control: Max queued buffers: 200
9860: 22:08:29.072 - S2S: flow control: Max pending writes MUX: 500
9860: 22:08:29.072 - S2S: flow control: Max queued buffers MUX: 2000
9860: 22:08:29.072 - S2S: MaxInboundMessageSize: 512000
9860: 22:08:29.072 - S2S: MaxOutboundMessageSize: 512000
9860: 22:08:29.072 - S2S: No inactivity timeout
9860: 22:08:29.074 - WebSocket S2S: MaxInboundMessageSize: 512000
9860: 22:08:29.074 - WebSocket S2S: MaxOutboundMessageSize: 512000
9860: 22:08:29.074 - WebSocket S2S: No inactivity timeout
9860: 22:08:29.074 - Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
9860: 22:08:29.074 - Per peer bandwidth limit
9860: 22:08:29.074 - Transmit Rate Limit: 256 KB/Sec
9860: 22:08:29.074 - Limit period: 200ms
9860: 22:08:29.074 - Limit per period: 52428 bytes
9860: 22:08:29.074 - Max queued data for transmission per peer: 512000 bytes
9860: 22:08:29.074 - Minimum retransmit timeout: 200
9860: 22:08:29.074 - No Maximum retransmit timeout
9860: 22:08:29.074 - Minimum ENet timeout: 5000ms
9860: 22:08:29.074 - Maximum ENet timeout: 30000ms
9860: 22:08:29.074 - Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
9860: 22:08:29.074 - No RTT ACK adjustment timeout
9860: 22:08:29.074 - Outbound ENet: MaxInboundMessageSize: 512000
9860: 22:08:29.074 - Outbound ENet: MaxOutboundMessageSize: 512000
9860: 22:08:29.075 - GetRuntime - About to load CLR - versions available:
9860: 22:08:29.075 - v2.0.50727
9860: 22:08:29.075 - v4.0.30319
9860: 22:08:29.075 - Configuration requests: "v2.0.50727"
9860: 22:08:29.075 - About to load version: "v2.0.50727"
9860: 22:08:29.078 - About to load runtime: PhotonHostRuntime.PhotonDomainManager from PhotonHostRuntime, Culture=neutral, PublicKeyToken=02C301B61B060C4D
9860: 22:08:29.078 - CLRBaseDirectory set to "D:\photon server\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy"
9860: 22:08:29.078 - Optimising event broadcast for 20 or more peers
9860: 22:08:29.079 - Start: About to load CLR - versions available:
9860: 22:08:29.079 - v2.0.50727
9860: 22:08:29.079 - v4.0.30319
9860: 22:08:29.079 - No preference in configuration file, will load latest.
9860: 22:08:29.079 - About to load version: "v4.0.30319"
9860: 22:08:29.080 - Loaded version: "v4.0.30319"
9860: 22:08:29.186 - Photon host runtime loaded
9860: 22:08:30.625 - License is valid.
9860: 22:08:30.625 - Licensed for 100 concurrent connections.
9860: 22:08:30.625 - ENet: Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
9860: 22:08:30.625 - ENet: Per peer bandwidth limit
9860: 22:08:30.625 - ENet: Transmit Rate Limit: 256 KB/Sec
9860: 22:08:30.625 - ENet: Limit period: 200ms
9860: 22:08:30.625 - ENet: Limit per period: 52428 bytes
9860: 22:08:30.625 - ENet: Max queued data for transmission per peer: 512000 bytes
9860: 22:08:30.625 - ENet: Minimum retransmit timeout: 200
9860: 22:08:30.625 - No Maximum retransmit timeout
9860: 22:08:30.625 - ENet: Minimum timeout: 5000ms
9860: 22:08:30.625 - ENet: Maximum timeout: 30000ms
9860: 22:08:30.625 - ENet: Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
9860: 22:08:30.625 - No RTT ACK adjustment timeout
9860: 22:08:30.625 - About to load application: MMoDemo from Photon.MmoDemo.Server
9860: 22:08:30.625 - Auto restart is enabled for application, existing connections will be terminated during restart
9860: 22:08:30.625 - Application will restart 1000ms after the last change detected
9860: 22:08:30.625 - Application will restart if files matching the following are changed: "dll;config"
9860: 22:08:30.625 - Application will NOT restart if files matching the following are changed: "log4net.config"
9860: 22:08:30.763 - Taking reference on default app domain
9860: 22:08:30.837 - MMoDemo:2 - Start() failed.
Exception:
System.TypeLoadException: Failed to create object "Photon.MmoDemo.Server.PhotonApplication" from assembly "Photon.MmoDemo.Server". "Photon.SocketServer, Version=4.0.28.11245, Culture=neutral, PublicKeyToken=48c2fa3b6988090e" is last assembly without successfull load event.
在 PhotonHostRuntime.PhotonDomainManager.PhotonPlainAppDomainBehavior.Start(String assemblyName, String typeName, String instanceName, String applicationName, IPhotonApplicationSink sink, ILogToUnmanagedLog logger, IControlListeners listenerControl)
在 PhotonHostRuntime.PhotonDomainManager.Start(String assemblyName, String typeName, String instanceName, String applicationName, IPhotonApplicationSink sink, ILogToUnmanagedLog logger, IControlListeners listenerControl)
9860: 22:08:30.838 - MMoDemo:2 - Stop() failed.
Exception:
System.Exception: Stop: unable to call the Application.TearDown() - undefined photonControl.
在 PhotonHostRuntime.PhotonDomainManager.PhotonPlainAppDomainBehavior.Stop()
在 PhotonHostRuntime.PhotonDomainManager.Stop()
9860: 22:08:30.839 - ERROR: Failed to start application: "MMoDemo" in app domain: 2
17448: 22:08:30.839 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain
9860: 22:08:30.839 - CService::OnException() - Exception: CManagedHost::StartApplication() - Failed to start application in AppDomain: 2 - Failed to create object "Photon.MmoDemo.Server.PhotonApplication" from assembly "Photon.MmoDemo.Server". "Photon.SocketServer, Version=4.0.28.11245, Culture=neutral, PublicKeyToken=48c2fa3b6988090e" is last assembly without successfull load event.
9860: 22:08:30.839 - Server shutting down...
9860: 22:08:30.839 - Shutdown monitoring enabled, 30000ms before process abort
9860: 22:08:30.839 - Notifying CLR applications of shutdown...
9860: 22:08:30.839 - RequestStop: defalt app domain
9860: 22:08:30.840 - Shutting down WebSocket Outbound Connection Manager...
9860: 22:08:30.840 - Shutting down TCP Outbound Connection Manager...
9860: 22:08:30.840 - Shutting down ENet Outbound Connection Manager...
9860: 22:08:30.840 - Disconnecting all outbound peers...
9860: 22:08:30.840 - Shutting down ENet host...
9860: 22:08:30.840 - Disconnecting all peers...
9860: 22:08:30.840 - Shutting down socket servers...
9860: 22:08:30.840 - Shutting down ENet thread pool...
9860: 22:08:30.840 - Shutting down TCP inactivity timers...
9860: 22:08:30.841 - Shutting down CLR applications...
9860: 22:08:30.841 - Shutting down business logic thread pool...
9860: 22:08:30.841 - Shutting down I/O thread pool...
9860: 22:08:30.841 - Destroying servers
9860: 22:08:30.841 - Destroying WebSocket Outbound Connection Manager
9860: 22:08:30.841 - Destroying TCP Outbound Connection Manager
9860: 22:08:30.841 - Destroying TCP inactivity timer
9860: 22:08:30.841 - Destroying ENet timer wheel
9860: 22:08:30.841 - Destroying ENet host
9860: 22:08:30.841 - Destroying ENet outbound host
9860: 22:08:30.841 - Destroying HTTP inactivity timer
9860: 22:08:30.841 - Destroying HTTP host
9860: 22:08:30.841 - Destroying HTTP Chunk host
9860: 22:08:30.841 - Flushing ENET buffer allocator...
9860: 22:08:30.841 - Flushing TCP buffer handle allocator...
9860: 22:08:30.841 - Flushing stream socket allocator...
9860: 22:08:30.841 - Flushing inbound datagram socket allocator...
9860: 22:08:30.841 - Flushing outbound datagram socket allocator...
9860: 22:08:30.841 - Destroying CLR dispatcher
9860: 22:08:30.841 - Destroying CLR applications
9860: 22:08:30.841 - ~CCLRApplicationCollection() - Waiting up to 10 seconds for the CLR to release all of our objects
9820: 22:08:30.844 - Unloading Domain: ApplicationName = 'MMoDemo', DomainId='2'
17448: 22:08:30.844 - CManagedHost::OnDomainUnload() - 2
9860: 22:08:30.845 - ~CCLRApplicationCollection() - Done. All objects released
9860: 22:08:30.845 - ~CManagedHost() - Release default app domain
9860: 22:08:30.845 - CManagedHost::OnDomainUnload() - 1
9860: 22:08:30.845 - ~CManagedHost() - Waiting up to 10 seconds for CLR shutdown...
9860: 22:08:30.845 - ~CManagedHost
9860: 22:08:30.845 - Destroying ENet thread pool
9860: 22:08:30.845 - Destroying Business logic thread pool
9860: 22:08:30.845 - Destroying I/O thread pool
9860: 22:08:30.845 - Destroying ENet buffer allocator
9860: 22:08:30.845 - Destroying TCP buffer allocator
9860: 22:08:30.845 - Destroying TCP socket allocator
9860: 22:08:30.845 - Destroying ENet inbound socket allocator
9860: 22:08:30.845 - Destroying ENet outbound socket allocator
9860: 22:08:30.845 - Destroying shared datagram flow control data
9860: 22:08:30.845 - Shutdown complete...
9860: 22:08:30.845 - Service shutting down: failed to start application. Errorcode: 108
9860: 22:08:30.847 - Service shut down complete

Comments

  • chvetsov
    Options
    hi, @思不歌
    we do not support MMO project anymore
    it looks like it is either not found on your disk or not up to date.
    I need to see PhotonCLR.log to say more.

    best,
    ilya