→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Tom_Rolenaitis
Engaged Sweeper
We just upgraded to version v. 8.0.130.12
Now when the lansweeperservice runs we get an email every minute.
In C:\Program Files (x86)\Lansweeper\Service\errorlog.txt we are getting the following.


2020-04-13 09:36:48,178 [29] ERROR Unhandled exception
System.InvalidOperationException: The store type 'datetime2' could not be found in the SqlServer provider manifest

and in the Windows logs we are getting

Event 1026 .Net Runtime
Application: Lansweeperservice.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
at System.Data.Entity.Utilities.DbProviderManifestExtensions.GetStoreTypeFromName(System.Data.Entity.Core.Common.DbProviderManifest, System.String)
at System.Data.Entity.ModelConfiguration.Configuration.Properties.Primitive.PrimitivePropertyConfiguration.ConfigureColumn(System.Data.Entity.Core.Metadata.Edm.EdmProperty, System.Data.Entity.Core.Metadata.Edm.EntityType, System.Data.Entity.Core.Common.DbProviderManifest)
at System.Data.Entity.ModelConfiguration.Configuration.Properties.Primitive.PrimitivePropertyConfiguration+<>c__DisplayClass47_0.<Configure>b__0(System.Tuple`2<System.Data.Entity.Core.Mapping.ColumnMappingBuilder,System.Data.Entity.Core.Metadata.Edm.EntityType>)
at System.Data.Entity.Utilities.IEnumerableExtensions.Each[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Action`1<System.__Canon>)
at System.Data.Entity.ModelConfiguration.Configuration.Types.StructuralTypeConfiguration.ConfigurePropertyMappings(System.Collections.Generic.IList`1<System.Tuple`2<System.Data.Entity.Core.Mapping.ColumnMappingBuilder,System.Data.Entity.Core.Metadata.Edm.EntityType>>, System.Data.Entity.Core.Common.DbProviderManifest, Boolean)
at System.Data.Entity.ModelConfiguration.Configuration.Types.EntityTypeConfiguration.ConfigurePropertyMappings(System.Data.Entity.Core.Metadata.Edm.DbDatabaseMapping, System.Data.Entity.Core.Metadata.Edm.EntityType, System.Data.Entity.Core.Common.DbProviderManifest, Boolean)
at System.Data.Entity.ModelConfiguration.Configuration.Types.EntityTypeConfiguration.Configure(System.Data.Entity.Core.Metadata.Edm.EntityType, System.Data.Entity.Core.Metadata.Edm.DbDatabaseMapping, System.Data.Entity.Core.Common.DbProviderManifest)
at System.Data.Entity.ModelConfiguration.Configuration.ModelConfiguration.ConfigureEntityTypes(System.Data.Entity.Core.Metadata.Edm.DbDatabaseMapping, System.Collections.Generic.ICollection`1<System.Data.Entity.Core.Metadata.Edm.EntitySet>, System.Data.Entity.Core.Common.DbProviderManifest)
at System.Data.Entity.ModelConfiguration.Configuration.ModelConfiguration.Configure(System.Data.Entity.Core.Metadata.Edm.DbDatabaseMapping, System.Data.Entity.Core.Common.DbProviderManifest)
at System.Data.Entity.DbModelBuilder.Build(System.Data.Entity.Core.Common.DbProviderManifest, System.Data.Entity.Infrastructure.DbProviderInfo)
at System.Data.Entity.DbModelBuilder.Build(System.Data.Common.DbConnection)
at System.Data.Entity.Internal.LazyInternalContext.CreateModel(System.Data.Entity.Internal.LazyInternalContext)
at System.Data.Entity.Internal.RetryLazy`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetValue(System.__Canon)
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(System.Type)
at System.Data.Entity.Internal.Linq.InternalSet`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Initialize()
at System.Data.Entity.Internal.Linq.InternalSet`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetEnumerator()
at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]..ctor(System.Collections.Generic.IEnumerable`1<System.__Canon>)
at System.Linq.Enumerable.ToList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>)
at Lansweeper.Service.DL.Toolkit.LsGenericRepository`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetAll(EntityFramework.Toolkit.IDbContext)
at Lansweeper.Service.BL.ActiveDirectory.AdUserManager.GetAll(EntityFramework.Toolkit.IDbContext, System.Collections.Generic.List`1<System.String>)
at LansweeperService.AdUserCleanup.Cleanup()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
1 REPLY 1
ErikT
Lansweeper Tech Support
Lansweeper Tech Support
Hi GOIS,

I would recommend dropping an email to support@lansweeper.com. Our technical support team will be happy to assist you with further support regarding your inquiry.

General Discussions

Find answers to technical questions about Lansweeper.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now