Apologies if this is a standard repeat question, but I didn't find a clear solution.
Umbraco 6.1.4, latest courier 2.7.8.15:
error:System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> User: myAdminUsername could not be authenticated at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.OpenSession(String sessionKey) at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package() at Umbraco.Courier.Core.TaskManager.manageTask(IRevisionTask value) 10/4/2013 1:45:19 PM
I'm trying to deploy a data type. This is the first time I'm using the package, as prior to 2.7.8.15 the software didn't work at all (due to the license bug).
I initially tried to use <userId>0</userId> but this also didn't work, giving this error:
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.Package() at Umbraco.Courier.Core.TaskManager.manageTask(IRevisionTask value) 10/4/2013 1:52:09 PM
Note that I don't actually have a user with Id 0, only 1. I'm assuming that user ID 0 is like, system? I also tried with userId 1 but that gave the same error.
I'm assuming I've set something up wrong? Both sites using same version of umbraco, using standard membership.
The passwordEncoding relates to how the target umbraco site stores passwords, out of the box now I think these are hashed, so I'd try setting <passwordEncoding>Hashed</passwordEncoding> instead of clear
with regard to the user setting, this needs to be a valid administrator user on the target system, you can either specify the id of that user using
<user>0</user>
nb NOT <userId>0</userId>
and yes 0 is the id of the admin user you specify when you first setup umbraco
or alternatively you do not have to specify the id of the user, you can instead provide
loginname & password & encoding
so if you've opted for the loginname and password combination, and you've tried Hashed for the encoding,
I'd suggest maybe just checking you can login to the umbraco backend of the target umbraco with that username and password and verify they are setup as an adminstrative user......
Yeah, you probably don't want to delete the admin user 0 :-), but it should be ok with either specifying the id of your new admin user or just the LoginName, Password and PasswordEncoding (set to Hashed) combination.
Error during packaging
Apologies if this is a standard repeat question, but I didn't find a clear solution.
Umbraco 6.1.4, latest courier 2.7.8.15:
I'm trying to deploy a data type. This is the first time I'm using the package, as prior to 2.7.8.15 the software didn't work at all (due to the license bug).
My courier.config looks like this:
I initially tried to use
<userId>0</userId>
but this also didn't work, giving this error:Note that I don't actually have a user with Id 0, only 1. I'm assuming that user ID 0 is like, system? I also tried with userId 1 but that gave the same error.
I'm assuming I've set something up wrong? Both sites using same version of umbraco, using standard membership.
Hello?
The passwordEncoding relates to how the target umbraco site stores passwords, out of the box now I think these are hashed, so I'd try setting <passwordEncoding>Hashed</passwordEncoding> instead of clear
with regard to the user setting, this needs to be a valid administrator user on the target system, you can either specify the id of that user using
<user>0</user>
nb NOT <userId>0</userId>
and yes 0 is the id of the admin user you specify when you first setup umbraco
or alternatively you do not have to specify the id of the user, you can instead provide
loginname & password & encoding
so if you've opted for the loginname and password combination, and you've tried Hashed for the encoding,
I'd suggest maybe just checking you can login to the umbraco backend of the target umbraco with that username and password and verify they are setup as an adminstrative user......
Thanks for the reply.
Just to clarify:
I think what's happened here is I must have deleted the original user that was set up, as I don't have a user 0.
I shall try using
<user>1</user>
then (helpful that the comments in the config file are wrong, isn't it?!)Yeah, you probably don't want to delete the admin user 0 :-), but it should be ok with either specifying the id of your new admin user or just the LoginName, Password and PasswordEncoding (set to Hashed) combination.
is working on a reply...