An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct.
So your connection string is not correct. You need to modify it to contain the proper information to connect to the SQL Service, which may include (example values in italic):
Instance Name (Data Source):localhost\SQLEXPRESS User Name (User Id):sa Password:sambapos Database:SambaPOS4
You need to replace the above with something like this:
<ConnectionString>Data Source=localhost\SQLEXPRESS; User Id=sa; Password=sambapos; Database=SAMBAPOS4;</ConnectionString>
Without knowing how you set up SQL Express, we cannot give better detail. Your Instance name (SQLEXPRESS) may be different, your User Id (sa) and Password (sambapos) may be different (or you may not need them at all if you are using Windows Authentication), and your Database name (SAMBAPOS4) may be different.
Thank you. I had made a back up of my computer on Seagate backup plus. If I go to restore. Do you think it will work? I made this before I encountered this problem with Samba.
I linked to sql management studio and I see two error messages…exported to my documents. It reads…
SQL Server Browser Stopped Other (Boot, System, Disabled or Unknown) NT AUTHORITY\LOCALSERVICE 0
SQL Server (SQLEXPRESS) Running Automatic NT Service\MSSQL$SQLEXPRESS 8836 SQL Server
SQL Server Agent (SQLEXPRESS) Stopped Other (Boot, System, Disabled or Unknown) NT AUTHORITY\NETWORKSERVICE 0
Erm, didn’t know this was a computer and OS support forum…
You have a button on your keyboard labelled Prt Scr (or similar). This will copy your screen to the clipboard. You can also hold Alt key then press Prt Scr (Alt-Prt Scr)and it will copy the active window to the clipboard (not your entire screen) - this is generally better because the image will be smaller.
Open Paint or some other graphics program. Hold Ctrl and press V (Ctrl-V) to paste the image into paint. Now you can edit the picture. Press Ctrl-A to select the entire picture. Press Ctrl-C to copy to clipboard.
Start a post in the forum, place you cursor where you want the picture, then press Ctrl-V to upload the image.
The SQL Service is not running. You need to start it using the Service Manager. Use search to find it, or go to it via Control Panel > Administrative Tools > Services.