Archana Posted January 19 Share Posted January 19 Hi, Asset import program fails with the below error: Error processing authentication details: Decryption of authentication data failed: Key not valid for use in specified state. Current version we are in: 4.3.1 Link to comment Share on other sites More sharing options...
Steve G Posted January 19 Share Posted January 19 Hi @Archana, Detailed information regarding your issue is in the troubleshooting section of the Data Imports Guide. Steve Link to comment Share on other sites More sharing options...
Archana Posted January 22 Author Share Posted January 22 Hi @Steve G , Thank you for the information. We have scheduled the Asset Import to run everyday by task scheduler and we see that we receive the above mentioned error after every reboot of the server although the task is scheduled to run automatically from the defined user. Link to comment Share on other sites More sharing options...
Archana Posted January 26 Author Share Posted January 26 Hi, I have scheduled Asset Import (v4.3.1) using Task scheduler to run everyday at 11:00 PM. It was working fine, but recently after a server restart the task shows error message "Error processing authentication details: Decryption of authentication data failed: Key not valid for use in specified state." in the log. I have tried running the task manually from the task scheduler and it failed with same error. However when I am running the task from command prompt as the same user account which is used in task scheduler it works fine. I have tried resetting the encrypted credential and it runs successful from first run from command prompt. But again it failed the schedule at 11:00 PM with same error message in Log. Task scheduler shows return code as 2147942503. Could you please advise how I can fix this? Is this something with task scheduler or permissions as I can run the import successfully from command prompt using the same user account which is used in Task scheduler. Link to comment Share on other sites More sharing options...
Steve Giller Posted January 26 Share Posted January 26 The fix for this error is detailed on the Troubleshooting page of the documentation. Link to comment Share on other sites More sharing options...
Archana Posted January 26 Author Share Posted January 26 Hi @Steve Giller, Thank you for the reply. As mentioned above, I have tried the fix mentioned in the troubleshooting page. Tried resetting the encryption. After resetting encryption the task run successfully for the first run and the it failed with same error message in the log when it run the schedule from task scheduler. It always works when trying to run from command prompt manually as user account defined to run the task. But never works for schedule. Link to comment Share on other sites More sharing options...
Steve Giller Posted January 26 Share Posted January 26 8 minutes ago, Archana said: it failed with same error message in the log when it run the schedule from task scheduler I believe you will need to specify "Run As" in Windows Task Scheduler to be the same Windows account as the one that set up the Tool from the command prompt. Link to comment Share on other sites More sharing options...
Steve G Posted January 26 Share Posted January 26 @Archana This is likely because the Start In option in the scheduled task is not set correctly, as per the scheduling section of the documentation. Link to comment Share on other sites More sharing options...
Archana Posted January 26 Author Share Posted January 26 Hi @Steve G, I have given the same user account who encrypted details first, for the field in task scheduler: 'When running the task, use the following user account:' But still it gives error. Also Do not store password box is ticked. does this going to be an issue? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now