Photon server won't start(Version 5)

Options
Hi,
I was using version 4 with no problems.I wanted to use version 5 but I got an error.

CService::OnException() - Exception: CManagedHost::StartApplication() - Failed to start application in AppDomain: 3 - 'Photon.LoadBalancing.GameServer.GameServerSettings'

What is the reason for this error? what did i do wrong ?

Best Answer

  • JohnTube
    JohnTube ✭✭✭✭✭
    Answer ✓
    Options
    Hi @Hunel,

    I think it's a .NET Framework issue.
    You may need to install .NET Framework 4.6.1 (and higher versions) on Windows Server 2012 as it's not preinstalled there. See here.

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @Hunel,

    Did you check migration guide from v4 to v5? a lot of things have changed, especially configuration.

    The exception log message points to an issue related to GameServer settings: maybe check "deploy\LoadBalancing\GameServer\bin\GameServer.xml.config".
    Available settings here.
  • Hunel
    Options
    I tried running v5 on 2 different vds servers but it didn't work.
    I have windows server 2012 os on my 2 vds servers.

    I tried to install windows server 2019 and it worked.

    Photon server v4 works on windows server 2012 os but v5 does not.

    Doesn't photon server v5 work in windows server 2012 os?
  • JohnTube
    JohnTube ✭✭✭✭✭
    Answer ✓
    Options
    Hi @Hunel,

    I think it's a .NET Framework issue.
    You may need to install .NET Framework 4.6.1 (and higher versions) on Windows Server 2012 as it's not preinstalled there. See here.