sambapos v5 sildim mehmet bey dediklerinizi yaparak tamamen temizledim geri yükledim ama acılmıyor lutfen programı yeniden baslatin sorun log dosyasına kaydedildi die hata cıkıyor
log dosyası bu sekilde:
-----------------------------
[General Info]
Application: SambaPOS
Version: 5.1.62
Region: tr
DB: SQ
Machine: OSMAN-EXPER
User: osman
Date: 28.08.2017
Time: 08:35
User Explanation:
osman said ""
-----------------------------
[Exception Info 1]
Top-level Exception
Type: System.Data.SqlClient.SqlException
Message: Cannot open database "SambaPOS5" requested by the login. The login failed.
Login failed for user 'osman-EXPER\osman'.
Source: .Net SqlClient Data Provider
Stack Trace: konum: System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
konum: System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
konum: System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
konum: System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
konum: System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
konum: System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
konum: System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
konum: System.Data.SqlClient.SqlConnection.Open()
konum: FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen()
konum: FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor.Exists(String template, Object[] args)
konum: FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor.SchemaExists(String schemaName)
konum: FluentMigrator.Runner.VersionLoader.get_AlreadyCreatedVersionSchema()
konum: FluentMigrator.Runner.VersionLoader.LoadVersionInfo()
konum: FluentMigrator.Runner.VersionLoader..ctor(IMigrationRunner runner, Assembly assembly, IMigrationConventions conventions)
konum: FluentMigrator.Runner.MigrationRunner..ctor(Assembly assembly, IRunnerContext runnerContext, IMigrationProcessor processor)
konum: FluentMigrator.Runner.Initialization.TaskExecutor.Initialize()
konum: FluentMigrator.Runner.Initialization.TaskExecutor.Execute()
konum: Samba.Persistance.Data.Migrator.DoMigrate(String connectionString)
konum: Samba.Persistance.Data.Migrator.DoMigrate(CommonDbContext context)
konum: Samba.Persistance.Data.Initializer.Migrate(CommonDbContext context)
konum: Samba.Persistance.Data.Initializer.InitializeDatabase(DataContext context)
konum: System.Data.Entity.Internal.InternalContext.<>c__DisplayClassf`1.<CreateInitializationAction>b__e()
konum: System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
konum: System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
konum: System.Data.Entity.Internal.LazyInternalContext.<InitializeDatabase>b__4(InternalContext c)
konum: System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
konum: System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
konum: System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()
konum: System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
konum: System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
konum: Samba.Infrastructure.Data.SqlData.EFWorkspace..ctor(CommonDbContext context)
konum: Samba.Persistance.Data.WorkspaceFactory.Create()
konum: Samba.Presentation.Services.Common.DataGeneration.DataCreationService.get_Workspace()
konum: Samba.Presentation.Services.Common.DataGeneration.DataCreationService.ShouldCreateData()
konum: Samba.Presentation.Services.Common.DataGeneration.DataCreationService.CreateData()
konum: Samba.Presentation.Bootstrapper.InitializeShell()
-----------------------------
[Assembly Info]
mscorlib, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
System, Version=4.0.0.0
WindowsBase, Version=4.0.0.0
Samba.Services, Version=1.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
System.Configuration, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0
Samba.Presentation.Services, Version=1.0.0.0
Samba.Presentation.Common, Version=1.0.0.0
Samba.Domain, Version=1.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
System.Core, Version=4.0.0.0
Samba.Infrastructure, Version=1.0.0.0
DevExpress.Xpf.Core.v14.1, Version=14.1.13.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
Samba.Localization, Version=1.0.0.0
Samba.Persistance, Version=1.0.0.0
FastButton, Version=1.0.0.0
-----------------------------
[System Info]
Operating System
-Microsoft Windows 7 Home Premium
--CodeSet = 1254
--CSDVersion = Service Pack 1
--CurrentTimeZone = 180
--FreePhysicalMemory = 2861820
--OSArchitecture = 64-bit
--OSLanguage = 1055
--ServicePackMajorVersion = 1
--ServicePackMinorVersion = 0
--Version = 6.1.7601
Machine
-OSMAN-EXPER
--Manufacturer = ARCELIK
--Model = 1T1-PC2340A5I3
--TotalPhysicalMemory = 4270755840
--UserName = osman-EXPER\osman
-----------------------------
######################### E N D #########################
-----------------------------
[General Info]
Application: SambaPOS
Version: 5.1.62
Region: tr
DB: SQ
Machine: OSMAN-EXPER
User: osman
Date: 28.08.2017
Time: 08:35
User Explanation:
osman said ""
-----------------------------
[Exception Info 1]
Top-level Exception
Type: System.Data.SqlClient.SqlException
Message: Cannot open database "SambaPOS5" requested by the login. The login failed.
Login failed for user 'osman-EXPER\osman'.
Source: .Net SqlClient Data Provider
Stack Trace: konum: System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
konum: System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
konum: System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
konum: System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
konum: System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
konum: System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
konum: System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
konum: System.Data.SqlClient.SqlConnection.Open()
konum: FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen()
konum: FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor.Exists(String template, Object[] args)
konum: FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor.SchemaExists(String schemaName)
konum: FluentMigrator.Runner.VersionLoader.get_AlreadyCreatedVersionSchema()
konum: FluentMigrator.Runner.VersionLoader.LoadVersionInfo()
konum: FluentMigrator.Runner.VersionLoader..ctor(IMigrationRunner runner, Assembly assembly, IMigrationConventions conventions)
konum: FluentMigrator.Runner.MigrationRunner..ctor(Assembly assembly, IRunnerContext runnerContext, IMigrationProcessor processor)
konum: FluentMigrator.Runner.Initialization.TaskExecutor.Initialize()
konum: FluentMigrator.Runner.Initialization.TaskExecutor.Execute()
konum: Samba.Persistance.Data.Migrator.DoMigrate(String connectionString)
konum: Samba.Persistance.Data.Migrator.DoMigrate(CommonDbContext context)
konum: Samba.Persistance.Data.Initializer.Migrate(CommonDbContext context)
konum: Samba.Persistance.Data.Initializer.InitializeDatabase(DataContext context)
konum: System.Data.Entity.Internal.InternalContext.<>c__DisplayClassf`1.<CreateInitializationAction>b__e()
konum: System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
konum: System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
konum: System.Data.Entity.Internal.LazyInternalContext.<InitializeDatabase>b__4(InternalContext c)
konum: System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
konum: System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
konum: System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()
konum: System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
konum: System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
konum: Samba.Infrastructure.Data.SqlData.EFWorkspace..ctor(CommonDbContext context)
konum: Samba.Persistance.Data.WorkspaceFactory.Create()
konum: Samba.Presentation.Services.Common.DataGeneration.DataCreationService.get_Workspace()
konum: Samba.Presentation.Services.Common.DataGeneration.DataCreationService.ShouldCreateData()
konum: Samba.Presentation.Services.Common.DataGeneration.DataCreationService.CreateData()
konum: Samba.Presentation.Bootstrapper.InitializeShell()
-----------------------------
[Assembly Info]
mscorlib, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
System, Version=4.0.0.0
WindowsBase, Version=4.0.0.0
Samba.Services, Version=1.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
System.Configuration, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0
Samba.Presentation.Services, Version=1.0.0.0
Samba.Presentation.Common, Version=1.0.0.0
Samba.Domain, Version=1.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
System.Core, Version=4.0.0.0
Samba.Infrastructure, Version=1.0.0.0
DevExpress.Xpf.Core.v14.1, Version=14.1.13.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
Samba.Localization, Version=1.0.0.0
Samba.Persistance, Version=1.0.0.0
FastButton, Version=1.0.0.0
-----------------------------
[System Info]
Operating System
-Microsoft Windows 7 Home Premium
--CodeSet = 1254
--CSDVersion = Service Pack 1
--CurrentTimeZone = 180
--FreePhysicalMemory = 2717028
--OSArchitecture = 64-bit
--OSLanguage = 1055
--ServicePackMajorVersion = 1
--ServicePackMinorVersion = 0
--Version = 6.1.7601
Machine
-OSMAN-EXPER
--Manufacturer = ARCELIK
--Model = 1T1-PC2340A5I3
--TotalPhysicalMemory = 4270755840
--UserName = osman-EXPER\osman
-----------------------------
######################### E N D #########################
-----------------------------
[General Info]
Application: SambaPOS
Version: 5.1.62
Region: tr
DB: SQ
Machine: OSMAN-EXPER
User: osman
Date: 28.08.2017
Time: 08:40
User Explanation:
osman said ""
-----------------------------
[Exception Info 1]
Top-level Exception
Type: System.Data.SqlClient.SqlException
Message: Cannot open database "SambaPOS5" requested by the login. The login failed.
Login failed for user 'osman-EXPER\osman'.
Source: .Net SqlClient Data Provider
Stack Trace: konum: System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
konum: System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
konum: System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
konum: System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
konum: System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
konum: System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
konum: System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
konum: System.Data.SqlClient.SqlConnection.Open()
konum: FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen()
konum: FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor.Exists(String template, Object[] args)
konum: FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor.SchemaExists(String schemaName)
konum: FluentMigrator.Runner.VersionLoader.get_AlreadyCreatedVersionSchema()
konum: FluentMigrator.Runner.VersionLoader.LoadVersionInfo()
konum: FluentMigrator.Runner.VersionLoader..ctor(IMigrationRunner runner, Assembly assembly, IMigrationConventions conventions)
konum: FluentMigrator.Runner.MigrationRunner..ctor(Assembly assembly, IRunnerContext runnerContext, IMigrationProcessor processor)
konum: FluentMigrator.Runner.Initialization.TaskExecutor.Initialize()
konum: FluentMigrator.Runner.Initialization.TaskExecutor.Execute()
konum: Samba.Persistance.Data.Migrator.DoMigrate(String connectionString)
konum: Samba.Persistance.Data.Migrator.DoMigrate(CommonDbContext context)
konum: Samba.Persistance.Data.Initializer.Migrate(CommonDbContext context)
konum: Samba.Persistance.Data.Initializer.InitializeDatabase(DataContext context)
konum: System.Data.Entity.Internal.InternalContext.<>c__DisplayClassf`1.<CreateInitializationAction>b__e()
konum: System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
konum: System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
konum: System.Data.Entity.Internal.LazyInternalContext.<InitializeDatabase>b__4(InternalContext c)
konum: System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
konum: System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
konum: System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()
konum: System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
konum: System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
konum: Samba.Infrastructure.Data.SqlData.EFWorkspace..ctor(CommonDbContext context)
konum: Samba.Persistance.Data.WorkspaceFactory.Create()
konum: Samba.Presentation.Services.Common.DataGeneration.DataCreationService.get_Workspace()
konum: Samba.Presentation.Services.Common.DataGeneration.DataCreationService.ShouldCreateData()
konum: Samba.Presentation.Services.Common.DataGeneration.DataCreationService.CreateData()
konum: Samba.Presentation.Bootstrapper.InitializeShell()
-----------------------------
[Assembly Info]
mscorlib, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
System, Version=4.0.0.0
WindowsBase, Version=4.0.0.0
Samba.Services, Version=1.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
System.Configuration, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0
Samba.Presentation.Services, Version=1.0.0.0
Samba.Presentation.Common, Version=1.0.0.0
Samba.Domain, Version=1.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
System.Core, Version=4.0.0.0
Samba.Infrastructure, Version=1.0.0.0
DevExpress.Xpf.Core.v14.1, Version=14.1.13.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
Samba.Localization, Version=1.0.0.0
Samba.Persistance, Version=1.0.0.0
FastButton, Version=1.0.0.0
-----------------------------
[System Info]
Operating System
-Microsoft Windows 7 Home Premium
--CodeSet = 1254
--CSDVersion = Service Pack 1
--CurrentTimeZone = 180
--FreePhysicalMemory = 2792372
--OSArchitecture = 64-bit
--OSLanguage = 1055
--ServicePackMajorVersion = 1
--ServicePackMinorVersion = 0
--Version = 6.1.7601
Machine
-OSMAN-EXPER
--Manufacturer = ARCELIK
--Model = 1T1-PC2340A5I3
--TotalPhysicalMemory = 4270755840
--UserName = osman-EXPER\osman
-----------------------------
######################### E N D #########################
8 cevap
Ama SambaPOS'un kurulumunda otomatik yüklenen SQL LocalDB kurarsanız, o veritabanı dosyasını silmeden olmaz. Bu veritabanı dosyası tek bir dosya halinde C:\Kullanıcılar\[Kullanıcı_Adınız] dizini içinde yer alan SambaPOS5 dosyasıdır.
Mehmet bey bu yazınızdaki gösterdiginiz yerdeki sabapos5 adli 2 adet dosyayi silersem ve sambaposuda pc den kaldırıp geri kurarsam yukardaki anlattigim sorunu yaşıyorum log bilgilerinide görebilirsiniz ama o sildigim 2 adet sambapos5 adli dosyayi geri donusum kutusundan geri yükleye tıklarsam program acılıyor ama işime yaramıyor yaptıgım tüm ayarlar duruyor bu sekılde olunca
yapmadıgım şey kalmadı ya format mı atacaz şimdi sambapos kurabilmek için :)
ne sinir bozucu bişey
C:\Users\adm
adresinde bulunan
SambaPOS5.mdf
SambaPOS5_log.ldf
adlı dosyaları mehmet beyin dedigi gibi silersem sambaposuda pcden kaldırıp geri yüklersem tüm ayarlarımın sifirlanması için malesef girmiyor yukardaki log dosyasındaki hatayi veriyor ama
SambaPOS5.mdf
SambaPOS5_log.ldf
bu iki dosyayi sildigim yere geri yüklersem sambapos acılıyor ama buseferde aynı ayarlarım silinmemiş oluyor
Herhanbi bir şekilde SambaPOS'u Local DB yerine SQL Express Edition veritabını kurun, ve bunu kullanın.
https://sambapos.org/wiki/doku.php/tr/sambapos_icin_sql_server_kurulumu
https://www.youtube.com/watch?v=puMQIUs8cMQ
SQL Server ı kurduktan sonra, veribağlantısını nasıl yapacağını ise; https://sambapos.org/wiki/doku.php/tr/sambapos_icin_sql_server_kurulumu#... bağlantısında anlatılmış durumda.
böyle bişey cıkıyor setupa bastıgımda
w7
i3 isşemci
4 gb ram
ve yeterli disk alanım mevcut
böyle bir hata cıkıyor
https://i.hizliresim.com/kWVXOr.jpg
.
Teşekkürler mehmet bey hallettim gibi
Windows 7 kullanıyorsunuz, SQL 2016 yerine SQL 2012 kullanmalısınız.