Common Errors & Crashes

Discussion in 'Support' started by dotequals, May 16, 2018.

  1. dotequals

    dotequals Member

    This post contains common errors and crashes and the troubleshooting steps you should follow to try and solve them. Everybody's computer is set up differently and these solutions may not work for you.

    If you don't see the problem you're encountering or the steps to try haven't resolved your issue, make a new post in Support or post in #support on the FreeSO Discord.

    If you have a valid copy of The Sims Online and are experiencing problems with FreeSO, do not uninstall The Sims Online.

    Error List
    1. Table of Contents For Post
    2. System.Exception: Tuning.cs: Invalid path: C:/Program Files/Maxis/The Sims Online/TSOClient/tuning.dat...
    3. System.UnauthorizedAccessException: Access to the path ‘C:\Program Files\FreeSO\Content\setup.png’ is denied...
    4. System.ComponentModel.Win32Exception: The system cannot find the file specified…
    5. System.OutOfMemoryException: … was thrown...
    6. SharpDX.SharpDXException: … ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], Message: Unknown…
    7. System.Net.Sockets.SocketException: The system detected an invalid pointer address in attempting to use a pointer argument in a call…
    8. Microsoft.Xna.Framework.Audio.InstancePlayLimitException…
    9. System.NullReferenceException: Object reference not set to an instance of an object… at SharpDX.XAudio2.SourceVoice.CreateSourceVoice…
    10. Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Failed to create graphics device!...
    11. Invalid install of The Sims Online
    12. Invalid install/update of FreeSO
    13. SharpDX.SharpDXException: ...ApiCode: [E_INVALIDARG/Invalid Arguments], Message:...
    14. Microsoft.Xna.Framework.Audio.NoAudioHardwareException…
    If you have an error that should be in this list, solved one of the existing errors in a different way, or found a mistake, message dotequals#0001 on Discord or post to My Profile.
    Last edited: Nov 27, 2018
  2. dotequals

    dotequals Member

    System.Exception: Tuning.cs: Invalid path: C:/Program Files/Maxis/The Sims Online/TSOClient/tuning.dat...
    Note: The path shown on this error is important, so remember it.

    What It Means:
    FreeSO can’t find your The Sims Online folder.

    What To Try:
    • Open File Explorer and navigate to the path that was shown in the error.
      • If it doesn’t exist and you’ve installed The Sims Online, you can either move your The Sims Online folder so that the path in the error can be resolved, or you can tell the launcher the new location (jump to the end).
      • If it doesn’t exist and you haven’t installed The Sims Online, that’s what you have to do. Open FreeSO Launcher, click the Installer tab, click The Sims Online, and pick a location on your computer to install it to.

    Update The Sims Online Location
    • Launcher Method:
      • Open the Launcher, click the Installer tab, click The Sims Online, select the parent folder of The Sims Online (ex. If my folder lived at C:/Program Files/Maxis/The Sims Online/ I would select the Maxis folder and then click “Install in this Location”).
      • If this was done correctly the launcher should say the files are already there and ask if you want to use them.
    • Regedit Method:
      • Click the Start menu and then type regedit.
      • Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Maxis\The Sims Online.
      • For the value name InstallDir change the Data value to the path where you installed The Sims Online.
  3. dotequals

    dotequals Member

    System.UnauthorizedAccessException: Access to the path ‘C:\Program Files\FreeSO\Content\setup.png’ is denied...

    What It Means:
    FreeSO.exe doesn’t have permission to access required assets.

    What To Try:
    • Make sure FreeSO.exe isn't already running via Task Manager or log out of Windows and then back in.
    • (Alternatively) Right-click FreeSO.exe and click “Run as administrator” or run the game via FreeSO Launcher.
    Last edited: May 17, 2018
  4. dotequals

    dotequals Member

    System.ComponentModel.Win32Exception: The system cannot find the file specified…

    What It Means:
    If this occurred after FreeSO told you it required an update, it’s likely your antivirus put it in quarantine.

    What To Try:
    • Disable your antivirus temporarily while you update FreeSO.
    • (Alternatively) whitelist the FreeSO directory in your antivirus software.
    • (Alternatively) after the game crashes with the exception above, locate your FreeSO folder and run update.exe as admin
    • (Alternatively) Manually perform the update by downloading the zip file from https://beta.freeso.org/dist, extract the contents and replace your FreeSO folder with the contents from the extracted zip file.
    Last edited: Oct 17, 2018
  5. dotequals

    dotequals Member

    System.OutOfMemoryException: … was thrown...

    What It Means:
    FreeSO ran out of RAM (It doesn’t matter how much you have, FreeSO can only use 2GB).

    What To Try:
    • Close the game periodically and minimize time spent in city view.
  6. dotequals

    dotequals Member

    SharpDX.SharpDXException: … ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], Message: Unknown…

    What It Means:
    Not all SharpDX.SharpDXException errors mean this, but if you’re using Intel graphics and your computer is older, it’s likely unsupported.

    What To Try:
    • This is a hardware problem, so you would need to install a discrete NVIDIA or AMD GPU into your computer (if possible).
  7. dotequals

    dotequals Member

    System.Net.Sockets.SocketException: The system detected an invalid pointer address in attempting to use a pointer argument in a call…

    What It Means:
    Your environment has some sort of odd networking configuration that FreeSO doesn’t like.

    What To Try:
  8. dotequals

    dotequals Member

    Microsoft.Xna.Framework.Audio.InstancePlayLimitException…

    What It Means:
    FreeSO was unable to play a sound.

    What To Try:
    • Unmute your speakers.
    • Plug in a pair of headphones.
  9. dotequals

    dotequals Member

    System.NullReferenceException: Object reference not set to an instance of an object… at SharpDX.XAudio2.SourceVoice.CreateSourceVoice
    The first part of this error can be thrown for many reasons, so make sure the bolded part matches your specific message somewhere near the top.

    What It Means:
    Something required for XAudio doesn’t exist.

    What To Try:
    • Right click your Speakers in the taskbar, click Playback devices, click the speakers you want to use, and then click Set Default.
    • Unmute your speakers and FreeSO in the Volume Mixer.
    • If this is happening to your first launch of the game, you can try running the DirectX End-User Runtime Web Installer.
    • (If the above doesn’t apply) Open FreeSO Launcher, click Settings, and change Graphics Mode to OpenGL.
    Last edited: May 17, 2018
    mrpenguinb likes this.
  10. dotequals

    dotequals Member

    Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Failed to create graphics device!...

    What It Means:
    FreeSO can’t find your GPU.

    What To Try:
    • If your game has worked fine and you’re now seeing this after a GPU driver update, restart your PC.
    • If you’re attempting to play remotely from a computer that doesn’t have a monitor or its monitor is powered off, you will need to plug a monitor in or turn the primary monitor on before launching FreeSO.
    • If you have a gaming laptop with Intel graphics and a discrete AMD or NVIDIA GPU, you’ll likely need to do three things:
      • Right click your FreeSO Launcher, click Properties, click Compatibility, check the box for “Override high DPI scaling behavior” and then select “Application” in the dropdown.
      • Open Settings on your computer, click System, click Display, click the slider for “Change the size of text, apps, and other items” and set it to 100% (Sometimes this is a drop down selector, but it should still say 100%).
      • Right click your desktop and click NVIDIA Control Panel, then under 3D Settings select “Manage 3D settings”, under the Program Settings tab, find FreeSO.exe, select “High-performance NVIDIA processor” in the second drop down, and click Add.
    • If you have a powerful GPU and aren’t using the native resolution:
      • Right click your desktop and click NVIDIA Control Panel, then under Display, select Change Resolution. The selected resolution should have “(native)” next to it.
  11. dotequals

    dotequals Member

    • System.ArgumentException: An item with the same key has already been added...
    • System.ArgumentOutOfRangeException: ... Microsoft.Xna.Audio.DynamicSoundEffectInstance...

    What It Means:
    Your The Sims Online installation is invalid.

    What To Try:
    • Reinstall The Sims Online (if this is your first time playing, try to stabilize your internet connection by using Ethernet or placing your computer near your Wi-Fi Access Point.
    Last edited: May 17, 2018
  12. dotequals

    dotequals Member

    • System.MissingMethodException: Method not found: 'Void FSO.Content.Content.set_TS1Hybrid(Boolean)'...
    • System.MissingMethodException: ... 'Int32 FSO.Client.GlobalSettings.get_TexCompression()'...
    • System.NullReferenceException: ... FSO.Client.UI.Panels.EODs.UIRouletteEOD.SpinHandler...

    What It Means:
    Your FreeSO install is invalid.

    What To Try:
    • Reinstall FreeSO by opening the Launcher, clicking the Installer tab, and then clicking FreeSO.
    Last edited: May 17, 2018
  13. dotequals

    dotequals Member

    SharpDX.SharpDXException... Message: The parameter is incorrect...
    at SharpDX.Direct3D11.Device.CreateTexture2D(Texture2DDescription& descRef, DataBox[] initialDataRef, Texture2D texture2DOut)
    at Microsoft.Xna.Framework.Graphics.Texture2D.CreateTexture()...
    PPXDepthEngine.cs...


    What It Means:
    Not all SharpDX.SharpDXExceptions mean this, but if your error message contains more of the error text that follows, your GPU likely can't create a render target this big.

    What To Try:
    • Disable anti-aliasing.
    • (Alternatively) try run the game with OpenGL.
    mrpenguinb likes this.
  14. dotequals

    dotequals Member

    Microsoft.Xna.Framework.Audio.NoAudioHardwareException…

    What It Means:
    FreeSO can't find your audio hardware and if you are using OpenGL for your graphics mode, audio output is required to run the game. We are keeping an eye on an open pull request though.

    What To Try:
    • Unmute your speakers.
    • Plug in a pair of headphones.
    • Run the game in DirectX mode by changing your graphics mode on the settings tab of the launcher.
    mrpenguinb likes this.

Share This Page