SambaPOS Database Configuration

Great thanks! i’ll check it

The module is the easiest way, but you can also use Management Studio, and it is simple as well…

Thanks @QMcKay for now i did use Management Studio for backup, but im planning to do both.

BTW, in “Back Up Database” window (in Management Studio) its important also to go through “Options” tab - my main thing is “Overwrite” instead of “Append” - i just heard bad stories with this append thing…

2 Likes

I created a new user in Windows and reinstalled. This was the only way I could get back to the normal mode.

Hi all,

I have the same problem. I guess I have wrongly entered the info during my previous login to SambaPOS. I am not able to start SambaPOS now with the error.

Is there any way to relaunch SambaPOS so that I can change the details?

Thanks
Atman

@atman Try this it may help you.

Thankssssssssssssssss :slight_smile:

Hello I am having a problem With the conecction string for SAMBAPOS3

I am using SambaPOS 3 because I have Windows XP Systems.
I was moving from Stand Alone to SQL Server Multiuser, and I installed the Stand Alone Database in SQL server.and when I created the connection string I have a mistake in creating the connection string. I typed the incorrect Server name and saved and exit SambaPOS 3
SO since then I am unable to login again, I uninstalled and Reinstalled Samba 3 several times but Still having the same error :smile:

Can’t Connect to database with current settings. You can check and modify the connection string shown below.

This is in my server installation.

I dont know how to change the connection string since I do not have access to SambaPOS3.

This is in my Server POS so my whole restaurant operation is halted. Some body please help.

Look for the Settings file as mentioned in this thread. It contains the connection string and is a simple text file, so you can modify it to contain the proper information. It should look something like this:

<ConnectionString>Data Source=localhost\sqlexpress; User Id=sa; Password=yourpassword;</ConnectionString>

Thank you!!
I did rename the file C:\ProgramData\Ozgu Tech\SambaPOS3\SambaSettings.txt
and I was able to connect again.
Thank you again.

Thought I had it all worked. Installed SQL Server Seemed all good. Finished Setting up my menu etc in Samaba. When I went to do a backup I got a error message. After trying to correct the issue I got myself into a bigger mess. I now have this message and I have NO idea what I should do.

Your connection string is wrong. Your string should look like:

Data Source=NATASCAFE\SAMBAPOS;

Not:

Data Source=NATASCAFE/SAMBAPOS;

However can you explain exactly what you did to correct the error. It would be beneficial if you told us what the error was as well.

I’ll try my best…Where do I change that ?
The original error message was

BTW that error is permissions you should always store backups outside your users folder. Or you could mess with permissions but it is not recommended.

Now to answer your question

Enter it from the dialog that is popping up that you showed in the screenshot. Then press ok it will make you restart SambaPOS.

Also those backups are CE not SQL backups…

This means you probably never were connected to your SQL server and it looks like when you tried to fix it you did set it to connect to a server you just set your string wrong.

OK…I didn’t realize I could make the change you pointed out in the message box.
I did that and Samba now opens.
Original issue still exists

You should change where it is storing your backups and make sure it is not in the users folder… then run a backup.

Best practice is to get an external HD that you can save your backups to. Several good USB ones exist that are very inexpensive.

This is where I start to feel really dumb.
I Have no idea where to fix it

PS: Here is an updated Tutorial showing how to setup and use the most recent version of SQL Express.

if the file is supposed to be a zip file…I may be good

1 Like