Error during packaging - The string which needs to be encrypted can not be null
Hi,
I have uninstalled the courier package and then installed the newer 2.75.2.94 package from the nightly builds list and this seems to have cured the initial 'Key not present' error.
However I now get the following error when I right click an item to transfer it to my live environment:
Error during packaging:
error:System.ArgumentNullException: Value cannot be null. Parameter name: The string which needs to be encrypted can not be null. at Umbraco.Courier.Core.Helpers.Encryption.Encrypt(String originalString) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.getloginAndPass(Int32 userId, String& login, String& pass) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.OpenSession(String sessionKey) at Umbraco.Courier.Core.Packaging.RevisionPackaging.openSessions() at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package() at Umbraco.Courier.Core.Tasks.PackagingTask.Run() at Umbraco.Courier.Core.TaskManager.manageTask(IRevisionTask value) 19/04/2013 13:40:04
My locatoin in the courier.config file looks like this:
Error during packaging - The string which needs to be encrypted can not be null
Hi,
I have uninstalled the courier package and then installed the newer 2.75.2.94 package from the nightly builds list and this seems to have cured the initial 'Key not present' error.
However I now get the following error when I right click an item to transfer it to my live environment:
Error during packaging:
error:System.ArgumentNullException: Value cannot be null. Parameter name: The string which needs to be encrypted can not be null. at Umbraco.Courier.Core.Helpers.Encryption.Encrypt(String originalString) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.getloginAndPass(Int32 userId, String& login, String& pass) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.OpenSession(String sessionKey) at Umbraco.Courier.Core.Packaging.RevisionPackaging.openSessions() at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package() at Umbraco.Courier.Core.Tasks.PackagingTask.Run() at Umbraco.Courier.Core.TaskManager.manageTask(IRevisionTask value) 19/04/2013 13:40:04
My locatoin in the courier.config file looks like this:
Is the user password blank?
No user password isn't blank.
I have installed 6.05 and latest build of Courier, packaged up my document types / content etc and deployed on the new 6.05 site.
This has fixed the issue with Courier.
thanks.
I'm experiencing the same issue and the password is not blank - the fix posted by Tom did not make sense to me though?
i think the issue was that
<userId>0</userId>
is meant to be:
<user>0</user>
Yep that's it :)
Per can you update courier.config :) Thanks!
is working on a reply...