You should only have the domain in the repository setting, so if you site is displayed on http://localhost/version1/ then thats what is in the repository url
I have given the same url and provided the credentials but while deploying i am getting the following error
System.Net.WebException: The request failed with HTTP status 404: Not Found. 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 d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\webservice.cs:line 633
at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.GetAvailableRevisions() in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\CourierWebserviceRepositoryProvider.cs:line 81
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)
After installing courier in version 2 i am getting the follwoing error
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Umbraco.Courier.Core.Exceptions.UnauthorizedClientException: User: admin does not have access to courier. at Umbraco.Courier.RepositoryProviders.WebserviceProvider.Security.SecurityHelper.ValidateUser(String login, String pass) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\Security\SecurityHelper.cs:line 108 at Umbraco.Courier.RepositoryProviders.WebserviceProvider.Security.Authentication.AuthorizeClient(String login, String password, Boolean cacheAuthResult) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\Security\Authentication.cs:line 25 at Umbraco.Courier.RepositoryProviders.Webservices.Repository.AuthorizeClient(String username, String password) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\Webservices\Repository.asmx.cs:line 44 at Umbraco.Courier.RepositoryProviders.Webservices.Repository.GetAvailableRevisions(String username, String password) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\Webservices\Repository.asmx.cs:line 153 --- End of inner exception stack trace ---
The request failed with HTTP status 404: Not Found
I am trying the trial version to test the website and using localhost.
Version 1 : http://localhost/Version1/umbraco/
version 2 : http://localhost/Version2/umbraco/
In version 1 /config/courier.config
<
repositories>
<
repository name="Version 2" alias="Version2" type="CourierWebserviceRepositoryProvider" visible="true">
<
url>http://localhost/Version2/umbraco/</url>
<
login>admin</login>
<
password>version1</password>
<
passwordEncoding>Hashed</passwordEncoding>
</
repository>
</
repositories>
When trying to connect getting the follwoing error
The request failed with HTTP status 404: Not Found
You should only have the domain in the repository setting, so if you site is displayed on http://localhost/version1/ then thats what is in the repository url
but i want to move from version 1 to version 2 so only i gave repository url as http://localhost/Version2/umbraco/
yes...
So we assume that your sites are on:
http://localhost/version1 and http://localhost/version2
To transfer from version1 to version2, setup a repository on Version1 with the url:
http://localhost/version2 ;
and remember to set credentials for the user as well
I have given the same url and provided the credentials but while deploying i am getting the following error
System.Net.WebException: The request failed with HTTP status 404: Not Found. 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 d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\webservice.cs:line 633
at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.GetAvailableRevisions() in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\CourierWebserviceRepositoryProvider.cs:line 81
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)
Okey, and you have courier installed on both sites?
check that the file "repository.asmx" is located in /umbraco/plugins/courier/webservices/ which would make it found on http://localhost/version2/umbraco/plugins/courier/webservices/repository.asmx
/Per
i have installed courier only for verison 1 and not version 2 let me install it for version 2 also.
After installing courier in version 2 i am getting the follwoing error
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Umbraco.Courier.Core.Exceptions.UnauthorizedClientException: User: admin does not have access to courier. at Umbraco.Courier.RepositoryProviders.WebserviceProvider.Security.SecurityHelper.ValidateUser(String login, String pass) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\Security\SecurityHelper.cs:line 108 at Umbraco.Courier.RepositoryProviders.WebserviceProvider.Security.Authentication.AuthorizeClient(String login, String password, Boolean cacheAuthResult) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\Security\Authentication.cs:line 25 at Umbraco.Courier.RepositoryProviders.Webservices.Repository.AuthorizeClient(String username, String password) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\Webservices\Repository.asmx.cs:line 44 at Umbraco.Courier.RepositoryProviders.Webservices.Repository.GetAvailableRevisions(String username, String password) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\Webservices\Repository.asmx.cs:line 153 --- End of inner exception stack trace ---
set the password to the same on both sites for the admin user, and ensure that the admin user on version have access to courier application
the password is same for both the sites for the admin user.
Under User Section there are 2 options
Courier Security
User permisions
Whether we need to do anything there?
Hurray it is working ,, now we can buy the licenced version for our websites... thanks so much umbraco team
is working on a reply...