onuryigt's picture
Jul 13, 2018
4262 views
Reputation: 3

Veritabanı bağlantı sorunu

http://i.hizliresim.com/pnXaaz.png

Program içinde ki veritabanı bilgilerine bir sdf yolu belirledim.Connection String hatası veriyordu.Şimdi hata ekranı bile gelmeden log dosyasına kayıt penceresi çıkıyor.

log :
[General Info]

Application: SambaPOS
Version: 5.2.4
Region: tr
DB: SQ
Machine: ONUR
User: Onur
Date: 13.07.2018
Time: 11:08

User Explanation:

Onur 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 'ONUR\Onur'.
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.Data.v16.2, Version=16.2.6.0
DevExpress.Xpf.Core.v16.2, Version=16.2.6.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 10 Education
--CodeSet = 1254
--CSDVersion =
--CurrentTimeZone = 180
--FreePhysicalMemory = 4112016
--OSArchitecture = 64 bit
--OSLanguage = 1055
--ServicePackMajorVersion = 0
--ServicePackMinorVersion = 0
--Version = 10.0.16299

Machine
-ONUR
--Manufacturer = Apple Inc.
--Model = iMac16,1
--TotalPhysicalMemory = 8454049792
--UserName = ONUR\Onur

-----------------------------

######################### E N D #########################
13.07.2018 14:43
License settings clearing for ::False
######################### E N D #########################
13.07.2018 14:43
License settings restoring for ::False
######################### E N D #########################

We have already answers to
1030 questions
E-Posta Facebook Twitter RSS Skype
Telefon (212) 252 0634