Sambapos jammed and unable to run after restating

It jammed when my staff picking item on the menu.

The type initializer for samba.infrastructure.setting.localsettings threw an exception.

I forced to use another computer and copy the database over to continue running my shop.
Tried reinstalling sambapos doesn’t solve this.

Big help

  • Issues should be accompanied by:

SambaPOS Version
DB Type and Version
OS Type (32/64) and Version
Device Type (PC/Tablet/etc)
Touchscreen
Screenshots
Error Messages
Steps to recreate the issue

Please provide the FULL error report: click on the Details tab of the error dialog, copy the text in the lower box and paste it into the forum.

First attempted guess based on the small amount of information you have provided:
Try copying the settings file from the working computer to the non-working computer.

C:\ProgramData\SambaPOS\SambaPOS4\Settings.txt

Weirdest thing is it show nothing in the error report and I use same setting for both computer

I’m suggesting that the settings file is corrupt, or unreadable due to permissions. The other location for the settings file is here:

C:\Users\<USERNAME>\AppData\Roaming\SambaPOS\SambaPOS4

There is a LOG file located here:

C:\Users\<USERNAME>\Documents\SambaPOS4\log.txt

Or your DB is corrupt. Make a backup on the working computer and restore it to the non-working computer.

Re-install, running the Installer as Administrator (right-click, Run as Administrator).
Launch SambaPOS as Administrator (right-click, Run as Administrator).
Login, logout, exit. If you are unable to do this due to an error, post the error.
Launch SambaPOS as a regular user (double-click).

@superlik What is your SambaPOS version?

@QMcKay this is not SambaPOS’s local settings file. The corrupted file is window’s setting storage file where we store keyboard window position and size. That file locates under C:\Users\<USERNAME>\AppData\Local\Samba and deleting folders starting with Samba.Presentation.exe.. should solve the issue. Latest SambaPOS version should delete it automatically when it detects such issue.

1 Like

It’s indeed the corrupted setting file