SQL Express 2014 Installation - [BONUS] How to Convert from CE to SQL Express

Microsoft SQL Express 2014

[SQL Express 2014 Download Link][1]

Versions Available

  • Express 32BIT WoW64\SQLEXPR32_x86_ENU.exe
  • Express 32BIT\SQLEXPR_x86_ENU.exe
  • Express 64BIT\SQLEXPR_x64_ENU.exe
  • ExpressAdv 32BIT\SQLEXPRADV_x86_ENU.exe
  • ExpressAdv 64BIT\SQLEXPRADV_x64_ENU.exe
  • ExpressAndTools 32BIT\SQLEXPRWT_x86_ENU.exe
  • ExpressAndTools 64BIT\SQLEXPRWT_x64_ENU.exe
  • LocalDB 32BIT\SqlLocalDB.msi
  • LocalDB 64BIT\SqlLocalDB.msi
    :warning: - MgmtStudio 32BIT\SQLManagementStudio_x86_ENU.exe
    :warning: - MgmtStudio 64BIT\SQLManagementStudio_x64_ENU.exe

:heavy_exclamation_mark: Last 2 versions are not the actual SQL Express Database they are only the Management Studio Tool used to browse and administer the Database. This tool is included in the ExpressADV and the ExpressAndTools versions.

Versions Recommended

  • ExpressAdv 32BIT\SQLEXPRADV_x86_ENU.exe
  • ExpressAdv 64BIT\SQLEXPRADV_x64_ENU.exe
  • ExpressAndTools 32BIT\SQLEXPRWT_x86_ENU.exe
  • ExpressAndTools 64BIT\SQLEXPRWT_x64_ENU.exe

Version and OS Used For Tutorial

  • ExpressAdv 64BIT\SQLEXPRADV_x64_ENU.exe
  • Windows 10

##SQL Express 2014 Advanced 64bit Installation##

It will run various checks to ensure it can install correctly if it finds a service or windows feature not installed that it needs it will recommend you install the windows feature before it will continue.

:warning: .net framework is the most common Windows Feature it may tell you to enable.

###New Installation / Add Features

Choose New Installation or Add features to existing install. For this example we are performing a new installation.

###Accept the License terms

###Installation options

The options chosen are all you need for SambaPOS. You can read about the other options if you are curious but they are not required.

Reporting Services is useful if you have more advanced knowledge of SQL; if not, you can de-select this and it will not affect SambaPOS functionality in any way. SQL Reporting Services has nothing to do with SambaPOS Reporting features.

Management Tools is not required but highly recommended so it is selected. Choose the instance directory: Default is fine.

:warning:You will notice it lists Prerequisites for selected installation features. These are typically just Windows Features you can install through control panel / programs.

###Instance Configuration

You can choose default instance (SQLEXPRESS) or rename it to whatever you want.

:warning: The Instance is not the same as the Database. Do not confuse the 2 terms. You can choose to have many Databases running under a single Instance.

###Service Accounts

This tells it what to name the service that it runs as in the background and how it should start up. You should leave this default.

###Authentication mode and User Accounts

For Database Engine Configuration you can leave everything default and allow Windows authentication mode it will run just fine.

:warning: If you plan to run multiple Terminals, it is recommended to enable Mixed-mode Authentication. In that case, you need to set a password for the administrative account. The initial admin account is named sa and you can set the password to whatever you like. We recommend sambapos as the password. You can optionally set up more admin users if you wish, but there is rarely a need to do so.

This concludes the installation you now have SQL Express 2014 installed correctly and ready for SambaPOS to connect to it.

###Testing the Installation

Lets open up Management Tools and test our installation. This program should be installed if you followed the above Tutorial steps. SQL Server Management Studio (or SSMS as it is often referred to as) is the tool we use to check if everything installed properly.

Implementation on LAN environment
Do you have to buy V5 License before you can Synchronized Client Terminals to the Server
How can i see which SQL type i installed
Help with databases
HI, Samba POS just loading
Between the samba POS and SQLEXPRESS Server which one must be install first
How to upgrade from v2.99 to new verison
SambaPOS 5.1.60 Release
How to delete or clear SQL database in V5?
How to create Network?
RDP problem with second user
Can't connect to database with current setting. How to solve this
Data sql install after aditions
Restore from SDF
Samba does not launch
How to view the sdf file?
How can I use Samba POS as cloud based
Implementation on LAN environment
Data connection string
Setting up Samba POS V4
SambaPOS installation
SQL Server 2012 Standard on Samba POS V5 - client connection issues
How can I do this?
Why this is happening?
SambaPOS 5.1.54 Release
No exports were found that match the constraint
After install sambapos v4 what next for server and client
From test machine to production machine
How to add a terminal to SambaPOS
Custom Report issue
Help setting up remote tablets for order taking
Need to give Sambapos 5 permission to SQL database
Demo mode - to sql
Clarifications on the database
Clarifications on the database
Moving hardware
Database connection
SAMBAPOS V5 client setup
Correct procedure for adding a terminal to a database
The database file is larger than the configured maximum database size
Data Loss in SambaPOS 4
Connect Second system with first system sql server
Message server not update client
Can't open SambaPOS (Solved, Thanks to you ALL)
Regarding Ordering and Billing with One software with two machine
Two touchscreens connected with one computer
Unable to import database
SambaPos5 Version update releated
Connecting to SambaPOS v5 Default DB
Help -can't save because Sale Transaction used by a Ticket Type
Need Help Setting Up SambaPOS 4 for New Restaurant
Kitchen/Bar Display using Task Printer - separate displays for Food and Drink
Sorry to bug you guys again but
<message server> client tablet cannot connect to message server
How do i clean my databse
How Fix This Error Message?
How to Convert from SQ to SQL Express and keep previous setting
How do i clean my databse
How to Convert from SQ to SQL Express and keep previous setting
Db Connection - Whats The Default!?
Help for download link for Standalone 3.7 for SQL Server Compact 3.5
DataBase setup Problem
Request for tutorial
Request for tutorial
Trying to configure multiple terminals with RDP. Database already exists error
The database file is larger than the configured maximum database size
Implementation on LAN environment
Installation Issue V5
Inventory transactions
How can i make my Sub cumputer to Main

Screen shots for exporting SQL CE data to SQL Server Express.

Download SQL Server Compact Toolbox tool from http://sqlcetoolbox.codeplex.com/.

Visit http://sqlcetoolbox.codeplex.com/releases and choose Standalone Version 4.0.

Right click on left pane and choose Add SQL Server Compact 4.0 Connection... menu item.

A toolbox window will appear. Click Browse button to choose your sdf file.

Under [MyDocuments]\SambaPOS4 folder find SambaPOS4.sdf file or the sdf file you’re actually using.

Click Test Connection button. If it succeeds click Close button.

SambaPOS4.sdf file should appear here.

Right Click on SambaPOS4.sdf and choose Script > Script Database Schema and Data menu item.

File Save dialog will appear. Enter a name to the export file (I’ve named is MySambaPOSData) and click Save button.

Table Selection Dialog will appear. Don’t change anything on this screen and click OK. __MigrationHistory table is unselected by default and there is no need to export it.

Few seconds later export will complete and you’ll see this confirmation message.

Tool Created a file named as MySambaPOSData.sqlce. This file contains required SQL scripts to recreate your database under SQL Express. If you edit that file with a text editor like notepad you should see some auto generated SQL code similar to that.

Open SQL Management Studio. Create new Database, Create new Query, Copy & Paste everything that file contains inside Query editing window and execute Query. That will create tables and data.

1 Like

Well what kind of errors? It would help if you can show us the error.

when I executed in management studio it was some errors, like this ( one information down ). I didn’t see. I don’t know if the way I did was the good one, because i copy file by file from notepad and put in management studio.
when I enter new engine database, then new query?, I don’t know if it created. the name of the file was sqlsomething3.sql
May be because I don’t understand nothing of this , sql, the reason I ask for your help.
You already helped me today, or… many times in this last year. Thanks

Hello, I miss the last part…when i open the Management Studio i create a new database and then ,i donn’t know what to do…Plz help me

What are you trying to do? if your just installing SQL Express to work with SambaPOs you dont need to create the database SambaPOS will do that for you. If you are converting from CE then can you explain more what you mean because its a very detailed tutorial.

i migrate from ce to sqlexpress

The tutorial tells you what to do… did you read it?

Did you create the new query and copy and paste all of the file into it and execute the query?

i have the file sambapos.sqlce, but i don’t kbnow how to convert to sqlexpress

Did you read that part?

i miss the part"Create new Query, Copy & Paste everything that file contains inside Query editing window and execute Query. That will create tables and data."

i created the new database…

So like My screenshot says select your newly created database then click New Query button and copy the content of the file you created and paste it into the query then select execute query.

If it made multiple files then you need to do separate queries for each file. Execute each one.

ok, i will try then tell you?thanks!

when you said copy the content of the file you created, you means sambapos.sqlcfile?

Hi, loving the work on this guys…
I have SambaPOS all setup and working all customized.
I am attempting to install SQL to have more control over database backups and to be able to add more terminals. I have installed SQL 2014, when it comes to the SQL server compact toolbox, i right click but Add SQL SERVER COMPACT 4.0 CONNECTION is greyed out, why is this?
I’m starting to give up after 3 days solid on this so your help would be much grateful!! Thank you!!!

Typically means you don’t have compact SQL engine installed. Install compact SQL then try

1 Like

I am trying to do a fresh install of sambapos 5 to use SQL express with no luck, I tried:

  1. Install SQL express 2014, install samba pos with no LocalDB options, the result I cant start Samba POS to change the connection string
  2. Install SQL express 2014, install samba pos with LocalDB, the result I cant start Samba POS I get an error of connection string after a while

How should I proceed to do this? On this tutorial it mentions to use certain values but when I run my Sambapos the error it shows refers to other values:

Data Source=SAMBAPOSSERVER\SQLEXPRESS; User Id=sa; Password=sambapos#1; Database=SAMBAPOS5;

Is there a procedure to do this clean install?

Uninstall SQL Local DB, Delete the sambasettings.txt file from C\ProgramData\SAMBAPOS\SambaPOS5\ (Must Enable show hidden folders to see ProgramData)

Restart SambaPOS and then Enter your connection string.[quote=“eadauto, post:18, topic:6956”]
Data Source=SAMBAPOSSERVER\SQLEXPRESS; User Id=sa; Password=sambapos#1; Database=SAMBAPOS5;

Your 100% sure thats your connection string settings? Your computername is SAMBAPOSSERVER? Your SQL instance you installed was SQLEXPRESS and did you enable the sa user for that instance?

1 Like

hello there! just a bit of question did i miss something? at first i open the SQL Server Management Studio it did worked at first and then i closed it, i restart my pc and i opened again the server i started receiving this message… :frowning:

1 Like