Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Prashant Aggarwal 17 posts 37 karma points
    Nov 10, 2011 @ 11:46
    Prashant Aggarwal
    0

    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

  • Per Ploug 865 posts 3491 karma points MVP admin
    Nov 10, 2011 @ 11:48
    Per Ploug
    0

    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

  • Prashant Aggarwal 17 posts 37 karma points
    Nov 10, 2011 @ 11:50
    Prashant Aggarwal
    0

    but i want to move from version 1 to version 2 so only i gave repository url as http://localhost/Version2/umbraco/

  • Per Ploug 865 posts 3491 karma points MVP admin
    Nov 10, 2011 @ 13:06
    Per Ploug
    0

    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

  • Prashant Aggarwal 17 posts 37 karma points
    Nov 10, 2011 @ 13:18
    Prashant Aggarwal
    0

    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)

     

  • Per Ploug 865 posts 3491 karma points MVP admin
    Nov 10, 2011 @ 13:24
    Per Ploug
    0

    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

  • Prashant Aggarwal 17 posts 37 karma points
    Nov 10, 2011 @ 13:32
    Prashant Aggarwal
    0

    i have installed courier only for verison 1 and not version 2 let me install it for version 2 also. 

  • Prashant Aggarwal 17 posts 37 karma points
    Nov 10, 2011 @ 13:37
    Prashant Aggarwal
    0

    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 ---

  • Per Ploug 865 posts 3491 karma points MVP admin
    Nov 10, 2011 @ 13:44
    Per Ploug
    0

    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

  • Prashant Aggarwal 17 posts 37 karma points
    Nov 10, 2011 @ 13:46
    Prashant Aggarwal
    0

    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? 

  • Prashant Aggarwal 17 posts 37 karma points
    Nov 11, 2011 @ 07:13
    Prashant Aggarwal
    0

    Hurray it is working ,, now we can buy the licenced version for our websites... thanks so much umbraco team

Please Sign in or register to post replies

Write your reply to:

Draft