You need to sign in to do that
Don't have an account?
SFDC Devl
Data loader from commandline
Hello, I am trying to run data loader from command line with an encrypted password and the key. It doesnt seem to work and says invalid password . Here are the steps I followed
Open Command prompt
cd C:\Program Files\salesforce.com\Data Loader\bin
C:\Program Files\salesforce.com\Data Loader\bin encrypt.bat -g secretkey
It gave a string and I saved it to "folderpath/key.txt"
C:\Program Files\salesforce.com\Data Loader\bin encrypt.bat encrypt.bat -e passwordsecuritytoken "folderpath/key.txt"
It gave another long string
I copied this in the process-conf.xml file
<entry key="sfdc.username" value="xyx"/>
<entry key="sfdc.password" value="encryptedpasswordstring"/>
<entry key="process.encryptionKeyFile" value="D:\SFDC\DataLoader\Process\key.txt"/>
When I run the bat file in the command prompt, the process starts and fails because of invalid passwor. I tried to decrypt the encrypted password and it matches. So i am not really sure whats happening.
Can anyone think of anything that I could have missed?
Thank you!
Open Command prompt
cd C:\Program Files\salesforce.com\Data Loader\bin
C:\Program Files\salesforce.com\Data Loader\bin encrypt.bat -g secretkey
It gave a string and I saved it to "folderpath/key.txt"
C:\Program Files\salesforce.com\Data Loader\bin encrypt.bat encrypt.bat -e passwordsecuritytoken "folderpath/key.txt"
It gave another long string
I copied this in the process-conf.xml file
<entry key="sfdc.username" value="xyx"/>
<entry key="sfdc.password" value="encryptedpasswordstring"/>
<entry key="process.encryptionKeyFile" value="D:\SFDC\DataLoader\Process\key.txt"/>
When I run the bat file in the command prompt, the process starts and fails because of invalid passwor. I tried to decrypt the encrypted password and it matches. So i am not really sure whats happening.
Can anyone think of anything that I could have missed?
Thank you!
I couldnt find any documentation about some special characters not being supported. I hope this post will help others.
All Answers
Did you try to attach the Security Token to the password and try?
Thanks,
AG
I would suggest to look into the following links:
This one is for comman errors:
http://www.jitendrazaa.com/blog/salesforce/tutorial-of-command-line-dataloader-salesforce/
This is a similar question:
https://developer.salesforce.com/forums/?id=906F00000008pfgIAA
Let me know if any of the above links worked for you.
Thanks,
AG
I couldnt find any documentation about some special characters not being supported. I hope this post will help others.