Error while logging into an imported folder in the migration process from version 9 to version 12

For one of the client's we are trying to migrate the system from version 9 to version 12.During the migration process we have done the below procedure.

1.Installed version 12 system.

2.Imported the SEED folder.

3.As per the client request, we changed SQL login user and password in the console and reconfigure the console.

4.in a next step successfully Imported the PROD folder of version 9 into the version 12 system through the console.

 After completion of the PROD import process, we created an end point of PROD and tried to login into the PROD folder, But while logging into PROD getting the below error.  

 The architecture of the system is multi-tier (Database server and application server are different). 

 Refer the below screen shot for the error.

Error

Any inputs on the same will be highly appreciated.