Unhandled Exception error when accessing Xtraction after reinstalling after a failed installation

Document ID : KB000095376
Last Modified Date : 10/05/2018
Show Technical Document Details
Issue:
Xtraction 2017.1 After some unssuccessed attempts to install the xtraction, even the previous installation were removed, after installing sucessfuly, customer gets a popup with the follwoing error:

[NotImplementedException]
Xtraction.Service.Authentication.Factory.AuthenticationProviderCreator.CreateAuthenticationProviderFromTypeId(String authenticationTypeId) +729
Xtraction.Service.Authentication.AuthenticationService.CreateAuthenticationProviderFromProviderId(String authenticationProviderId) +342
Xtraction.Service.UserService.LoadUser(User user, Boolean deep) +2147
Xtraction.Service.UserService.SerializeUserList(DataTable users) +534
Xtraction.Service.UserService.ListUsers(Boolean activeOnly) +455
Xtraction.Service.FolderStructureService.SetupPrivateFoldersNode(FolderStructure folderStructure, DataSet folderData, DataSet permissionData, DataModel dataModel) +173
Xtraction.Service.FolderStructureService.BuildFolders(DataSet folderData, DataSet permissionData, DataModel dataModel) +159 Xtraction.Service.FolderInitializerService.BuildFolderStructure() +210
Xtraction.Service.FolderInitializerService.BuildFolderStructuresIfNecessary() +230
Xtraction.Context.Managers.Impl.CurrentFoldersManager.InitializeFolders() +111
Xtraction.Web.Configuration.XtractionWebInitializer.Validate(IKernel kernel) +402
Xtraction.Bindings.Initialize.NinjectInitialize.Validate(IKernel kernel) +60
Xtraction.Web.App_Start.NinjectWebCommon.RegisterServices(IKernel kernel) +162
Xtraction.Web.App_Start.NinjectWebCommon.CreateKernel() +514
Ninject.Web.Common.Bootstrapper.Initialize(Func`1 createKernelCallback) +20
Xtraction.Web.App_Start.NinjectWebCommon.Start() +205
Environment:
Xtraction 2017.1
Cause:
This is an uncommon error caused by user authentication data looking for a specific type of authentication that is no longer available from the settings.dat file. The most important piece in the error message is the two lines that mention Authentication and AuthenticationService point to issues with the performing authentication related code.
Resolution:
To correct this error you will need to re-enter the authentication provider info into the Xtraction Settings in the Authentication tab with the same names that were entered there before.

User-added image
*this screen is provided as an example of 2 possible options that can appear in the Authentication tab.
 

If you are not sure of what the original names were it is possible to run a script on the Xtraction database to find the original names:

  1. select AuthenticationProviderId from UserCredential  
  2. group by AuthenticationProviderId  
Additional Information: