I installed SambaPOS V5 on a computer (I selected SQLServer 2014).
About running a script to import some data, I copy both files mdf and ldf to another computer about running my script (I did not install SQLserver on the same computer as it is not powerfull enough).
Once I did my change, I put back my files on my POS computer, but when I run the app, I fail and on the log file, I see this:
Cannot open database “SambaPOS5” requested by the login, The login failed.
I did that about a year ago and it was working (not on this computer though).
Can the issue be because I open the file on a SQLServer 2016?
Or maybe because I use the Windows authentication when I open this file?
Your best bet would to use another PC and install SQL Server 2014, import the MDF and LFD and then upgrade to SQL Server 2016. Then you can export the MDF and LFD back to the POS.