What is the purpose of the file-sessions.json file in the App_Data folder?
If I delete it, it is regenerated. However, it’s causing headaches when added to source control because the contents are then moved to different branches and environments which reference different databases which may have different data.
This results in the following error:
ERROR Groupdocs.Core.Exceptions.GroupdocsCoreException: Unable to get entity: ID = 10013 —> System.Data.ObjectNotFoundException: An object with the specified EntityKey value could not be found.
at System.Data.Objects.ObjectContext.GetObjectByKey(EntityKey key)
at Groupdocs.Data.SaasposeDb.GetEntityByKey[TEntity](EntityKey key)
at Groupdocs.Data.EntitiesRepository`1.Get(Int64 id)
I don’t see the point of this file since deleting the contents of this file avoids this error and the file is regenerated if its missing.