# لايمكن الدخول على البرنامج

**URL:** <https://forum.sambapos.com/t/topic/7742>\
**Category:** V5 Question\
**Created:** [October 20, 2015, 10:15pm UTC](https://forum.sambapos.com/t/topic/7742 "2015-10-20T22:15:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![salman](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/f6c823/32.png) [@salman](https://forum.sambapos.com/u/salman)\
**Post date:** [October 20, 2015, 10:15pm UTC](https://forum.sambapos.com/t/topic/7742/1 "2015-10-20T22:15:35Z")

</div>

مرحبا  
لايمكن الدخول الى البرنامج بعد ان قمة بتباع الشرح لربط قاعدة البيانات  
Data Source=sambapos; User Id=sambapos; Password=1111; Database=\SambaPOS5.sdf;

---

<div class="post-metadata">

**Author:** ![salman](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/f6c823/32.png) [@salman](https://forum.sambapos.com/u/salman)\
**Post date:** [October 20, 2015, 10:25pm UTC](https://forum.sambapos.com/t/topic/7742/2 "2015-10-20T22:25:29Z")

</div>

* * *

[General Info]

Application: SambaPOS  
Version: 5.1.49  
Region: en  
DB: CE  
Machine: MOOJ  
User: DELL  
Date: 10/20/2015  
Time: 10:24 PM

User Explanation:

## DELL said “”

[Exception Info 1]

Top-level Exception  
Type: System.Data.SqlClient.SqlException  
Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)  
Source: .Net SqlClient Data Provider  
Stack Trace: at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)  
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)  
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)  
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)  
at System.Data.SqlClient.SqlConnection.Open()  
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.b\_\_36(DbConnection t, DbConnectionInterceptionContext c)  
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)  
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)  
at System.Data.Entity.SqlServer.SqlProviderServices.\<\>c\_\_DisplayClass33.b\_\_32()  
at System.Data.Entity.Infrastructure.DbExecutionStrategy.\<\>c\_\_DisplayClass1.b\_\_0()  
at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute(Action operation) at System.Data.Entity.SqlServer.SqlProviderServices.UsingConnection(DbConnection sqlConnection, Action`1 act)  
at System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act) at System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)  
at System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection) at System.Data.Entity.Core.Common.DbProviderServices.CreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)  
at System.Data.Entity.Core.Objects.ObjectContext.CreateDatabase()  
at System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)  
at System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)  
at System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)  
at System.Data.Entity.Internal.DatabaseCreator.CreateDatabase(InternalContext internalContext, Func`3 createMigrator, ObjectContext objectContext) at System.Data.Entity.Internal.InternalContext.CreateDatabase(ObjectContext objectContext, DatabaseExistenceState existenceState) at System.Data.Entity.Database.Create(DatabaseExistenceState existenceState) at Samba.Persistance.Data.Initializer.Create(CommonDbContext context) at Samba.Persistance.Data.Initializer.InitializeDatabase(DataContext context) at System.Data.Entity.Internal.InternalContext.<>c__DisplayClassf`1.b\_\_e()  
at System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)  
at System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()  
at System.Data.Entity.Internal.LazyInternalContext.b\_\_4(InternalContext c)  
at System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input) at System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)  
at System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()  
at System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()  
at System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get\_ObjectContext()  
at Samba.Infrastructure.Data.SqlData.EFWorkspace…ctor(CommonDbContext context)  
at Samba.Persistance.Data.WorkspaceFactory.Create()  
at Samba.Services.Implementations.SettingsModule.ProgramSettings.get\_Workspace()  
at Samba.Services.Implementations.SettingsModule.ProgramSettings.GetSetting(String valueName)  
at Samba.Services.Implementations.SettingsModule.ProgramSettings.GetGatherTelemetryData()  
at Samba.Services.Implementations.SettingsModule.ProgramSettings.get\_GatherTelemetryData()  
at Samba.Services.Implementations.TelemetryService.TrackException(Exception exception)  
at Samba.Services.Implementations.LogService.LogError(Exception e, String userMessage)  
at Samba.Presentation.Bootstrapper.InitializeShell()  
at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.Run(Boolean runWithDefaultConfiguration)  
at Samba.Presentation.App.RunInReleaseMode()

Inner Exception 1  
Type: System.ComponentModel.Win32Exception  
Message: ‏‏لم يتم العثور على مسار الشبكة  
Source:

* * *

[Assembly Info]

mscorlib, Version=4.0.0.0  
DevExpress.Xpf.LayoutControl.v14.1, Version=14.1.11.0  
System.Xml, Version=4.0.0.0  
DevExpress.Xpf.Grid.v14.1, Version=14.1.11.0  
System, Version=4.0.0.0  
DevExpress.Xpf.Grid.v14.1.Core, Version=14.1.11.0  
WindowsBase, Version=4.0.0.0  
System.Xaml, Version=4.0.0.0  
Samba.Domain, Version=1.0.0.0  
System.Core, Version=4.0.0.0  
PresentationFramework, Version=4.0.0.0  
Samba.Infrastructure, Version=1.0.0.0  
Microsoft.Practices.Prism, Version=4.0.0.0  
System.Runtime.Serialization, Version=4.0.0.0  
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0  
System.ComponentModel.Composition, Version=4.0.0.0  
PresentationCore, Version=4.0.0.0  
DevExpress.Xpf.Core.v14.1, Version=14.1.11.0  
Samba.Services, Version=1.0.0.0  
Samba.Presentation.Services, Version=1.0.0.0  
System.Windows.Forms, Version=4.0.0.0  
System.Drawing, Version=4.0.0.0  
Stateless, Version=1.0.0.0  
PropertyTools, Version=2012.4.14.1  
Samba.Localization, Version=1.0.0.0  
ReachFramework, Version=4.0.0.0  
Samba.Infrastructure.Data, Version=1.0.0.0  
EntityFramework, Version=6.0.0.0  
FluentValidation, Version=3.4.0.0  
Omu.ValueInjecter, Version=2.3.0.0  
Microsoft.Practices.ServiceLocation, Version=1.0.0.0  
Microsoft.CSharp, Version=4.0.0.0  
Samba.Persistance, Version=1.0.0.0

* * *

[System Info]

Operating System  
-Microsoft Windows 8.1 Pro  
–CodeSet = 1256  
–CSDVersion =  
–CurrentTimeZone = 180  
–FreePhysicalMemory = 1173900  
–OSArchitecture = 64-bit  
–OSLanguage = 1025  
–ServicePackMajorVersion = 0  
–ServicePackMinorVersion = 0  
–Version = 6.3.9600

Machine  
-MOOJ  
–Manufacturer = Dell Inc.  
–Model = Inspiron 3531  
–TotalPhysicalMemory = 4172492800  
–UserName = MOOJ\DELL

* * *

---

<div class="post-metadata">

**Author:** ![sukasem](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/b38774/32.png) [@sukasem](https://forum.sambapos.com/u/sukasem)\
**Post date:** [October 20, 2015, 10:33pm UTC](https://forum.sambapos.com/t/topic/7742/3 "2015-10-20T22:33:28Z")

</div>

> [@salman](#):
>
> Data Source=sambapos; User Id=sambapos; Password=1111; Database=\SambaPOS5.sdf;

Your database name is not `\SambaPOS5.sdf` for sure.

Try to follow tutorial again

> [@SQL Express 2014 Installation - SambaPOS4 Database Setup - \[BONUS\] How to Convert from CE to SQL Express](http://forum.sambapos.com/t/sql-express-2014-installation-sambapos4-database-setup-bonus-how-to-convert-from-ce-to-sql-express/3363):
>
> Microsoft SQL Express 2014 [SQL Express 2014 Download Link](http://www.microsoft.com/en-us/download/details.aspx?id=42299) 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 - MgmtS…
