Gästebucheintrag
I am having some problems with TS3Bot. the service is installed and runs, but a few seconds after the service starts up, I get errors in the event viewer :
************************
Event Type: Information
Event Source: TS3-Bot
Event Category: None
Event ID: 0
Date: 30/12/2012
Time: 18:58:58
User: N/A
Computer: HENRY
Description:
Service started successfully.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
************************
Event Type: Error
Event Source: TS3-Bot
Event Category: None
Event ID: 0
Date: 30/12/2012
Time: 18:59:18
User: N/A
Computer: HENRY
Description:
System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlServerCe.SqlCeException: The database file cannot be found. Check the path to the database. [ Data Source = BotDatabase.sdf ]
at System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr)
at System.Data.SqlServerCe.SqlCeConnection.Open(Boolean silent)
at System.Data.SqlServerCe.SqlCeConnection.Open()
at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure)
--- End of inner exception stack trace ---
at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure)
at System.Data.EntityClient.EntityConnection.Open()
at System.Data.Objects.ObjectContext.EnsureConnection()
at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at DirkSarodnick.TS3_Bot.Core.Repository.ChannelData.GetStickyClients()
at DirkSarodnick.TS3_Bot.Core.Manager.Features.ChannelManager.StickyChannel()
at DirkSarodnick.TS3_Bot.Core.Manager.Features.ChannelManager.Invoke()
at DirkSarodnick.TS3_Bot.Core.Manager.Features.Base.ManagerFactory.<Invoke>b__2(DefaultManager m)
at DirkSarodnick.TS3_Bot.Core.Helper.ForEachExtension.ForEach[T](IEnumerable`1 list, Action`1 action)
at DirkSarodnick.TS3_Bot.Core.Manager.Features.Base.ManagerFactory.Invoke()
at DirkSarodnick.TS3_Bot.Core.BotInstance.FastTick(Object syncContext)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
************************
Event Type: Error
Event Source: .NET Runtime 4.0 Error Reporting
Event Category: None
Event ID: 5000
Date: 30/12/2012
Time: 18:59:21
User: N/A
Computer: HENRY
Description:
EventType clr20r3, P1 ts3-bot.service.exe, P2 1.0.0.2, P3 50d39b8b, P4 system.data.sqlserverce, P5 3.5.1.0, P6 4b743b2d, P7 15c, P8 12, P9 system.data.entityexception, P10 NIL.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 63 00 6c 00 72 00 32 00 c.l.r.2.
0008: 30 00 72 00 33 00 2c 00 0.r.3.,.
0010: 20 00 74 00 73 00 33 00 .t.s.3.
0018: 2d 00 62 00 6f 00 74 00 -.b.o.t.
0020: 2e 00 73 00 65 00 72 00 ..s.e.r.
0028: 76 00 69 00 63 00 65 00 v.i.c.e.
0030: 2e 00 65 00 78 00 65 00 ..e.x.e.
0038: 2c 00 20 00 31 00 2e 00 ,. .1...
0040: 30 00 2e 00 30 00 2e 00 0...0...
0048: 32 00 2c 00 20 00 35 00 2.,. .5.
0050: 30 00 64 00 33 00 39 00 0.d.3.9.
0058: 62 00 38 00 62 00 2c 00 b.8.b.,.
0060: 20 00 73 00 79 00 73 00 .s.y.s.
0068: 74 00 65 00 6d 00 2e 00 t.e.m...
0070: 64 00 61 00 74 00 61 00 d.a.t.a.
0078: 2e 00 73 00 71 00 6c 00 ..s.q.l.
0080: 73 00 65 00 72 00 76 00 s.e.r.v.
0088: 65 00 72 00 63 00 65 00 e.r.c.e.
0090: 2c 00 20 00 33 00 2e 00 ,. .3...
0098: 35 00 2e 00 31 00 2e......
************************
Event Type: Information
Event Source: TS3-Bot
Event Category: None
Event ID: 0
Date: 30/12/2012
Time: 18:58:58
User: N/A
Computer: HENRY
Description:
Service started successfully.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
************************
Event Type: Error
Event Source: TS3-Bot
Event Category: None
Event ID: 0
Date: 30/12/2012
Time: 18:59:18
User: N/A
Computer: HENRY
Description:
System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlServerCe.SqlCeException: The database file cannot be found. Check the path to the database. [ Data Source = BotDatabase.sdf ]
at System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr)
at System.Data.SqlServerCe.SqlCeConnection.Open(Boolean silent)
at System.Data.SqlServerCe.SqlCeConnection.Open()
at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure)
--- End of inner exception stack trace ---
at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure)
at System.Data.EntityClient.EntityConnection.Open()
at System.Data.Objects.ObjectContext.EnsureConnection()
at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at DirkSarodnick.TS3_Bot.Core.Repository.ChannelData.GetStickyClients()
at DirkSarodnick.TS3_Bot.Core.Manager.Features.ChannelManager.StickyChannel()
at DirkSarodnick.TS3_Bot.Core.Manager.Features.ChannelManager.Invoke()
at DirkSarodnick.TS3_Bot.Core.Manager.Features.Base.ManagerFactory.<Invoke>b__2(DefaultManager m)
at DirkSarodnick.TS3_Bot.Core.Helper.ForEachExtension.ForEach[T](IEnumerable`1 list, Action`1 action)
at DirkSarodnick.TS3_Bot.Core.Manager.Features.Base.ManagerFactory.Invoke()
at DirkSarodnick.TS3_Bot.Core.BotInstance.FastTick(Object syncContext)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
************************
Event Type: Error
Event Source: .NET Runtime 4.0 Error Reporting
Event Category: None
Event ID: 5000
Date: 30/12/2012
Time: 18:59:21
User: N/A
Computer: HENRY
Description:
EventType clr20r3, P1 ts3-bot.service.exe, P2 1.0.0.2, P3 50d39b8b, P4 system.data.sqlserverce, P5 3.5.1.0, P6 4b743b2d, P7 15c, P8 12, P9 system.data.entityexception, P10 NIL.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 63 00 6c 00 72 00 32 00 c.l.r.2.
0008: 30 00 72 00 33 00 2c 00 0.r.3.,.
0010: 20 00 74 00 73 00 33 00 .t.s.3.
0018: 2d 00 62 00 6f 00 74 00 -.b.o.t.
0020: 2e 00 73 00 65 00 72 00 ..s.e.r.
0028: 76 00 69 00 63 00 65 00 v.i.c.e.
0030: 2e 00 65 00 78 00 65 00 ..e.x.e.
0038: 2c 00 20 00 31 00 2e 00 ,. .1...
0040: 30 00 2e 00 30 00 2e 00 0...0...
0048: 32 00 2c 00 20 00 35 00 2.,. .5.
0050: 30 00 64 00 33 00 39 00 0.d.3.9.
0058: 62 00 38 00 62 00 2c 00 b.8.b.,.
0060: 20 00 73 00 79 00 73 00 .s.y.s.
0068: 74 00 65 00 6d 00 2e 00 t.e.m...
0070: 64 00 61 00 74 00 61 00 d.a.t.a.
0078: 2e 00 73 00 71 00 6c 00 ..s.q.l.
0080: 73 00 65 00 72 00 76 00 s.e.r.v.
0088: 65 00 72 00 63 00 65 00 e.r.c.e.
0090: 2c 00 20 00 33 00 2e 00 ,. .3...
0098: 35 00 2e 00 31 00 2e......
30.12.2012 - 20:04
Hi Mark,
please check your installation directory. There should be a BotDatabase.sdf file. If it isn't there, you have to install the Bot correctly. If you are using the Console version, make sure that you copied all files. It's definitly in all relevant Release versions.
Also download the latest version. I've improved the Database handling.
Best regards,
Dirk