Courier 2 - 401: Unauthorized with Anonymous Authentication disabled
Hey everyone,
Can someone please help me my courier problem. This is the error i'm getting when I go to Courier Tab -> Locations -> {my local server}.
"The request failed with HTTP status 401: Unauthorized."
I'm using Windows Authenication to authenicate the members. I disabled "Anonymous Authentication" as I dont want anyone outside of our domain to be able to access it.
The only way I got Courier to work is if I were to enabled the "Anonymous Authenitication". However, this is not a viable solution as I dont want unauthorized users to access the website.
Things I have Tried that does not work:
1) In the Courier Config settings, I changed the login to the Umbraco Admin Account
<repositoryname="http://localhost:6099"alias="http://localhost:6099"type="CourierWebserviceRepositoryProvider"visible="true"> <url>http://localhost:6099</url> <user>0</user> <!-- Alternative, you can specify the specific login / password / encryption values <login>admin</login> <password>1234</password> <passwordEncoding>Clean|Hashed</passwordEncoding>--> </repository>
Thanks for the link. However, I looked at the post, ran "Process Monitor" and fiddler to check out the traffic and with zero luck. It seems that I can't get Courier to work without "Anonymous Authentication" being enabled.
That is true, you'll need Anonymous Auth in order to use Courier across instances - with locations. Courier does not use an authentication header, as you'd need with WinAuth.
One option is to create a local revision in Courier, then transfer that revison (it is just files in a folder) to the target environment, then run the extract and compare of the revision on the target environment.
Courier 2 - 401: Unauthorized with Anonymous Authentication disabled
Hey everyone,
Can someone please help me my courier problem. This is the error i'm getting when I go to Courier Tab -> Locations -> {my local server}.
"The request failed with HTTP status 401: Unauthorized."
I'm using Windows Authenication to authenicate the members. I disabled "Anonymous Authentication" as I dont want anyone outside of our domain to be able to access it.
The only way I got Courier to work is if I were to enabled the "Anonymous Authenitication". However, this is not a viable solution as I dont want unauthorized users to access the website.
Things I have Tried that does not work:
1) In the Courier Config settings, I changed the login to the Umbraco Admin Account
2) In the web.config I changed my membership defaultProvider
provider to my AD Membership Prodiver, and in the Courier Config setting, changed the
3) In my IIS, i gave my permission to both sites running under an network admin account
However, none of that works, so if anyone know the solution, please help me.
Here are details about my setup.
Umbraco version 7.2.1
Default Membership config setting
IIS Settings:
Courier Config Setting:
Thanks
Ryan
Hi Ryan,
DonĀ“t know if this post from iis.net forum, can be at any help,
http://forums.iis.net/t/1182909.aspx
But I hope so,
/Dennis
Hey Dennis,
Thanks for the link. However, I looked at the post, ran "Process Monitor" and fiddler to check out the traffic and with zero luck. It seems that I can't get Courier to work without "Anonymous Authentication" being enabled.
Anyone have any other ideas?
Thanks
Ryan
@Ryan
That is true, you'll need Anonymous Auth in order to use Courier across instances - with locations. Courier does not use an authentication header, as you'd need with WinAuth.
One option is to create a local revision in Courier, then transfer that revison (it is just files in a folder) to the target environment, then run the extract and compare of the revision on the target environment.
Thanks Paul,
I'll be sure to check it out.
Thanks,
Ryan
is working on a reply...