Failed to write instance of SpfUsageRecordResource with Id = {0} to the database. Exception message: {1} Exception stack: ...