Author Topic: How to change connection string manually  (Read 12396 times)

rvandam

  • Jr. Member
  • **
  • Posts: 96
How to change connection string manually
« on: April 19, 2013, 08:30:36 am »
I have a Sambapos setup with sqlexpress. Today I added a Windows7 user to add an extra tablet. If I log in as this user Sambapos fails to start because it has a wrong connection string.

Normally I can change this connection string, and it works the next time I start up. This time however Sambapos crashes after I changed the connection string, and no modifications are made. Is there a way to change the connection string manually, either in a file or in the database?


rvandam

  • Jr. Member
  • **
  • Posts: 96
Re: How to change connection string manually
« Reply #1 on: April 19, 2013, 08:55:01 am »
I already found it. Normally there is a SambaSettings.txt file in c:\user\[username]\AppData\Roaming\Ozgu Tech\SambaPOS2

When the programm hasn't started yet this file doesn't exist. I just copied the file from another user to this directory, and now SambaPOS starts normally.