Cannot Start Server

Options
nickwood2009
edited March 2012 in Photon Server
Hi All, I am trying the basic server tutorial:
http://doc.exitgames.com/v3/photonserve ... %20scratch


When I try to start PhotonControl instance I get:
9612: 10:26:33.827 - CService::OnException() - Exception: CManagedHost::PhotonRunning() - Failed in AppDomain: 2 - Not implemented

in the PhotonCLR.log:
2012-03-15 10:26:25,802 [ 1] DEBUG PhotonHostRuntime.PhotonDomainManager - PhotonDomainManager created
2012-03-15 10:26:25,821 [ 1] DEBUG PhotonHostRuntime.PhotonDomainManager - PhotonDomainManager created
2012-03-15 10:26:25,824 [ 1] DEBUG PhotonHostRuntime.PhotonDomainManager - InitializeNewDomain PhotonSocketServer.exe
2012-03-15 10:26:25,833 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - AppDomains with unhandled exceptions are usually not unloaded and restarted.
2012-03-15 10:26:25,840 [ 1] INFO eAC235QPQHXkylxK6O.eHlThunDFYveSxUgyN - ### PhotonHostRuntime.Licensing: Getting license information...
2012-03-15 10:26:25,850 [ 1] INFO eAC235QPQHXkylxK6O.eHlThunDFYveSxUgyN - LICENSE: Expiration: 10/04/2012; floating license: no; max connections: 100; valid IPs: any
2012-03-15 10:26:25,858 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - CreateAppDomain ChatServer , ChatServer
2012-03-15 10:26:28,935 [ 1] DEBUG PhotonHostRuntime.PhotonDomainManager - CreateAppDomain: ApplicationBase = C:\PhotonServer\deploy
2012-03-15 10:26:28,943 [ 1] DEBUG PhotonHostRuntime.PhotonDomainManager - CreateAppDomain: PrivateBinPath = ChatServer\ChatServer;ChatServer\ChatServer\bin;bin_Win64;Shared
2012-03-15 10:26:28,949 [ 1] DEBUG PhotonHostRuntime.PhotonDomainManager - CreateAppDomain: ConfigurationFile = C:\PhotonServer\deploy\ChatServer\ChatServer\bin\ChatServer.dll.config


Can anyone please help me out?


Nick

Comments

  • I'm not sure if this will help, but make sure PhotonSocketServer isn't already running. To be totally sure, you could reboot and try again.

    If that's not the problem, then I'd guess that there may be something wrong with your photon installation that's causing that "not implemented" message.
  • Hi escjosh

    This has not helped sorry. the SocketServer is not running and a reboot is not helping.
    how can I test the installation? Is there anything else that could be the cause?

    Nick
  • Tobias
    Options
    Please post the complete logs here (attach as file if possible).
    The "not implemented" part looks suspicious. Are you sure you built to the "deploy" folder?
  • Sorry found the issue. It was that I had not implemented a method in code. Still getting used to how I will debug with photon.
  • Tobias
    Options
    I was about to ask but then again, it should not compile at all. Didn't your build fail when you left out something?
  • I just implemented ApplicationBase without removing the throw not implemented exceptions...

    I feel silly enough as it is..