PhotonSocketServer.exe(xp 32) not a valid win32 app

Options
ximael
edited September 2014 in Photon Server
I am trying to switch to a new version of photon.
Changed references in VS(new dll), changed build path, build successful.
Run PhotonControl, install service:
************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at PhotonControl.Helper.PhotonHandler.InstallService(String instanceName, String workingDirectory)
at PhotonControl.Forms.ControlForm.OnClickPhotonServiceInstall(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.225 (RTMGDR.030319-2200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
PhotonControl
Assembly Version: 3.4.4.2588
Win32 Version: 3.4.4.2588
CodeBase: file:///D:/Photon-Server/deploy/bin_Win32_xp/PhotonControl.exe
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.225 built by: RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.225 built by: RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
PhotonHostRuntime
Assembly Version: 3.4.4.2588
Win32 Version: 3.4.4.2588
CodeBase: file:///D:/Photon-Server/deploy/bin_Win32_xp/PhotonHostRuntime.DLL
PhotonHostRuntimeInterfaces
Assembly Version: 3.56.0.0
Win32 Version: 3.56.0.0
CodeBase: file:///D:/Photon-Server/deploy/bin_Win32_xp/PhotonHostRuntimeInterfaces.DLL
log4net
Assembly Version: 1.2.13.0
Win32 Version: 1.2.13.0
CodeBase: file:///D:/Photon-Server/deploy/bin_Win32_xp/log4net.DLL
PhotonLicensing
Assembly Version: 3.4.4.2588
Win32 Version: 3.4.4.2588
CodeBase: file:///D:/Photon-Server/deploy/bin_Win32_xp/PhotonLicensing.DLL
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
System.Web.Services
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
System.ServiceProcess
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll

If I run PhotonSocketServer.exe(xp 32), it says not a valid win32 application.

Comments

  • [Deleted User]
    Options
    We already noticed and have a fix ready, it will be on our website soon. I'll send you a link to a preview version per PM.
  • tenowg
    Options
    This seems to still be an issue with the current download... I was hoping to use the free windows xp mode to test my server locally, but it doesn't seem to be a Win32 application.

    If this is a problem I understand as 32 bit apps are generally not going to be supported much in the near future, but still would like to be able to test on a local Vm without purchasing another windows platform.
  • Sorry for the late response.

    The SDKs on our download page are finally updated with the fixed version - please get the latest SDK here: https://www.exitgames.com/en/OnPremise/Download