When we do it for the first time, it works all well. As soon as we close the application, open it again, attach it and try to identify it again, it gives the above error. (Without any change in the system configurations)
For solving the issue, we have to close all instances of both BluePrism and application.