# New install, just show "loading" and does nothing

**URL:** <https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136>\
**Category:** V5 Issue\
**Created:** [May 10, 2020, 3:53am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136 "2020-05-10T03:53:21Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![WingoLED](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/w/6bbea6/32.png) [@WingoLED](https://forum.sambapos.com/u/WingoLED)\
**Post date:** [May 10, 2020, 3:53am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/1 "2020-05-10T03:53:21Z")

</div>

After install, stuck the the loading screen, never get to the keypad sign in part.

Tried both 2014 localDB, and 2017 localDB

Win10 64bit  
Samba 5.3 - the one I just download from [SambaPOS.com](http://SambaPOS.com) this morning.

No need to worry about the hardware, I have installed prior versions in this laptop before. Besides Win auto-updates, I cannot remember if I ever change the OS from the last SambaPOS install.

Anyone idea what could have been the reason?

---

<div class="post-metadata">

**Author:** ![Memo](https://forum.sambapos.com/user_avatar/forum.sambapos.com/memo/32/55443_2.png) [@Memo](https://forum.sambapos.com/u/Memo)\
**Post date:** [May 10, 2020, 3:55am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/2 "2020-05-10T03:55:09Z")

</div>

Is there anything in the log file?

---

<div class="post-metadata">

**Author:** ![WingoLED](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/w/6bbea6/32.png) [@WingoLED](https://forum.sambapos.com/u/WingoLED)\
**Post date:** [May 10, 2020, 4:00am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/3 "2020-05-10T04:00:28Z")

</div>

log file in where?

the files in programdata does not have a log file

---

<div class="post-metadata">

**Author:** ![Memo](https://forum.sambapos.com/user_avatar/forum.sambapos.com/memo/32/55443_2.png) [@Memo](https://forum.sambapos.com/u/Memo)\
**Post date:** [May 10, 2020, 4:12am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/4 "2020-05-10T04:12:18Z")

</div>

the default location will be `"%USERPROFILE%\My Documents\SambaPOS5\log.txt"`

---

<div class="post-metadata">

**Author:** ![WingoLED](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/w/6bbea6/32.png) [@WingoLED](https://forum.sambapos.com/u/WingoLED)\
**Post date:** [May 10, 2020, 4:32am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/5 "2020-05-10T04:32:26Z")

</div>

Error msg

Type: System.Data.SqlClient.SqlException  
Message: CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file ‘C:\Users\adminSambaPOS5.mdf’.  
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.  
Source: .Net SqlClient Data Provider

Maybe I need to change some settings or move some files out of \users\ directory?

Also I found the file name seems odd - there is missing a \ between admin and SambaPOS5.mdf

---

<div class="post-metadata">

**Author:** ![Memo](https://forum.sambapos.com/user_avatar/forum.sambapos.com/memo/32/55443_2.png) [@Memo](https://forum.sambapos.com/u/Memo)\
**Post date:** [May 10, 2020, 4:44am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/6 "2020-05-10T04:44:11Z")

</div>

> [@WingoLED](#):
>
> ‘C:\Users\adminSambaPOS5.mdf’.

Open `C:\ProgramData\SAMBAPOS\SambaPOS5\SambaSettings.txt`

Where you see `C:\Users\adminSambaPOS5.mdf` change it to `C:\Users\admin\SambaPOS5.mdf` then save the file. Try and start SambaPOS and see if that works.

On another note, it’s highly recommended one uses SQL Server. The Express version is free. For Windows 10 SQL Server Express 2017 should do.

---

<div class="post-metadata">

**Author:** ![WingoLED](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/w/6bbea6/32.png) [@WingoLED](https://forum.sambapos.com/u/WingoLED)\
**Post date:** [May 10, 2020, 4:53am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/7 "2020-05-10T04:53:41Z")

</div>

cannot file the phrase in the file.

I will try server version afterwards if the localDB still has issue. I just uninstall 2019 Express. was trying to make a lighter system.

---

<div class="post-metadata">

**Author:** ![Memo](https://forum.sambapos.com/user_avatar/forum.sambapos.com/memo/32/55443_2.png) [@Memo](https://forum.sambapos.com/u/Memo)\
**Post date:** [May 10, 2020, 4:59am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/8 "2020-05-10T04:59:52Z")

</div>

I’d stick with 2017. If you haven’t saved any passwords when installing, can you post the file here?

I’m looking for that part between` <ConnectionString </ConnectionString>`

---

<div class="post-metadata">

**Author:** ![WingoLED](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/w/6bbea6/32.png) [@WingoLED](https://forum.sambapos.com/u/WingoLED)\
**Post date:** [May 10, 2020, 5:03am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/9 "2020-05-10T05:03:56Z")

</div>

the connection string was empty. Need to stop for the night, TOO TIRED. Will come back tomorrow if problem persists. Will try to uninstall manually delete all remnants and see what happen.

Thanks for the help

---

<div class="post-metadata">

**Author:** ![WingoLED](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/w/6bbea6/32.png) [@WingoLED](https://forum.sambapos.com/u/WingoLED)\
**Post date:** [May 10, 2020, 5:14am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/10 "2020-05-10T05:14:23Z")

</div>

\<ConnectionString / \>

---

<div class="post-metadata">

**Author:** ![Memo](https://forum.sambapos.com/user_avatar/forum.sambapos.com/memo/32/55443_2.png) [@Memo](https://forum.sambapos.com/u/Memo)\
**Post date:** [May 10, 2020, 2:26pm UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/11 "2020-05-10T14:26:54Z")

</div>

If there is no data between `<ConnectionString >` and `</ConnectionString>` SambaPOS doesn’t what to connect to.

This seems to be an issue with your installation on more than one occasion.

I recommend you reinstall SambaPOS. Select only what is shown:  
 ![2020-05-10_08;26_1589120814_SambaSetup5.3.0](https://forum.sambapos.com/uploads/default/original/3X/e/c/ecc0b3c2295066806b3a3b046d9cfd3116684829.png)

Then install SQL Server Express 2017. Login to SambaPOS with the default Admin password of `1234` and follow the directions for configuration in the first post of the thread [SambaPOS Database Configuration](https://forum.sambapos.com/t/sambapos-database-configuration/356) under " SQL Server Configuration".

---

<div class="post-metadata">

**Author:** ![WingoLED](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/w/6bbea6/32.png) [@WingoLED](https://forum.sambapos.com/u/WingoLED)\
**Post date:** [May 10, 2020, 10:51pm UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/12 "2020-05-10T22:51:55Z")

</div>

Finally got it to work after a numerous times of uninstalling, manual deleting remnants of prior installs. Currently set it to use the SQL server 2019 as new stuff going forward from SambaPOS will demand it.

I believe the main reason is when installing/uninstalling the same machine with different options will leave things things behind that confuse the subsequent install. In my case, I believe it was the .NET Framework or C++ runtime. During uninstalling of SambaPOS, it did not uninstall the runtime along with it. But different version of the .NET Framework or C++ runtime may have caused the issues.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [May 11, 2020, 2:15am UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/13 "2020-05-11T02:15:33Z")

</div>

Yes there is an issue with it. I think it’s Microsoft’s fault. Uninstall of the distribution and install sambapos let it install new version of distribution And you should be fine.

---

<div class="post-metadata">

**Author:** ![WingoLED](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/w/6bbea6/32.png) [@WingoLED](https://forum.sambapos.com/u/WingoLED)\
**Post date:** [May 14, 2020, 7:23pm UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/14 "2020-05-14T19:23:35Z")

</div>

I tried to recreate the same situation to make sure I won’t fall into the same situation again. Here is the initial report

In another machine,  
1)Installing with Sample Data and 2017 LocalDB will hang  
2)Installing with Sample Data and 2014 LocalDB will work(the default settings in the lastest SambaPOS 5.3 download.

2a)Installing SQL Express 2019 after Trial-2 and connect using the build in connection string utility in SambaPOS works. Note: since the SQL Express 2019 is not the one used in the [kb.sampos.com](http://kb.sampos.com), the database instance name is not the same as in the kb.

\*\* Did not try SQL Express 2017

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [May 14, 2020, 7:53pm UTC](https://forum.sambapos.com/t/new-install-just-show-loading-and-does-nothing/22136/15 "2020-05-14T19:53:34Z")

</div>

sql express local db 2017 has an issue atm. We are working on it.
