I added both locations to Courier: the development environment has a location to the live environment, and vice versa. In Courier, when connection to the 'other side', I get an error:
The request failed with HTTP status 400: Bad Request.
Error details
System.Net.WebException: The request failed with HTTP status 400: Bad Request.
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.WebServiceProvider.RepositoryWebservice.GetAvailableRevisions(String username, String password) in c:\Program Files (x86)\teamcity\buildAgent\work\d94035a1177dda67\Umbraco.Courier.RepositoryProviders\WebserviceProvider\webservice.cs:line 700
at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.GetAvailableRevisions() in c:\Program Files (x86)\teamcity\buildAgent\work\d94035a1177dda67\Umbraco.Courier.RepositoryProviders\WebserviceProvider\CourierWebserviceRepositoryProvider.cs:line 106
at Umbraco.Courier.Core.RepositoryProvider.GetAvailableRevisions(String folder)
at Umbraco.Courier.UI.Pages.editRepository.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I'm pretty stuck, 'cause I can't seem to find the cause for this problem, as everything seems to be well configured. Only thing I see in Fiddler is (in live environment):
The latter request seems to cause the 'Bad Request' in my error message. However, there shouldn't be a problem with the license, because I'm running both solutions on my localhost (VS2010 webserver).
That's an option, but it would be a lot nicer if I could just use the VS2010 built-in webserver.
I read on some Umbraco-related website, it's possible to use localhost in Courier, including portnumbers. So that shouldn't be causing any troubles. I'll keep IIS in mind, but if there's another solution...
You could try to setup IIS Express if you want to run it from VS2010. It has some features the VS2010 built-in webserver doesn't have. Umbraco 5 also needs IIS Express. It doesn't run on the VS2010 built-in webserver so it might be good to switch anyway :).
Bad Request (HTTP 400) in local Courier setup
Hi everybody,
At the moment, I'm trying out Umbraco Courier. I've 2 Visual Studio solutions, both running on a different port number:
Have you tried setting up 2 websites in IIS? That's how it's done in this video: http://umbraco.com/help-and-support/video-tutorials/umbraco-pro/courier/setting-up-courier-2-locations.aspx. Maybe than it will work.
Jeroen
That's an option, but it would be a lot nicer if I could just use the VS2010 built-in webserver.
I read on some Umbraco-related website, it's possible to use localhost in Courier, including portnumbers. So that shouldn't be causing any troubles. I'll keep IIS in mind, but if there's another solution...
An IIS setup works, as expected. However, the VS2010 webserver incompatibility is a pity (at least, it is for me ;-)).
Thanks Jeroen :)
You could try to setup IIS Express if you want to run it from VS2010. It has some features the VS2010 built-in webserver doesn't have. Umbraco 5 also needs IIS Express. It doesn't run on the VS2010 built-in webserver so it might be good to switch anyway :).
Jeroen
is working on a reply...