Copied to clipboard

Flag this post as spam?

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


  • Patrick McAndrew 48 posts 163 karma points
    Sep 06, 2010 @ 17:12
    Patrick McAndrew
    0

    SoapException when transferring node

    Source & Target both: Umbraco 4.5.2 Courier 1.2.0.0 (1.2.3783.150) .net v4.0

    Note that target is a virtual folder and there is a seperate umbraco sitting under the root.

    Source domain: a.b.local

    Target domain: b.com/test

    On target, if I change the courier.config, allowed client ip's to a different ip address, then I do get a client ip is not valid exception instead, but if the allowed client ips is * or the ip address, then I get the following error:

     

    System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Courier.BusinessLogic.Settings.Security.get_AllowedClientIps() at Umbraco.Courier.BusinessLogic.Settings.Security.get_AllowAllClients() at Umbraco.Courier.BusinessLogic.Security.Security.AuthorizeIp(String hostAddress) at Umbraco.Courier.Webservices.Helper.AuthorizeClient() at Umbraco.Courier.Webservices.Helper.AuthorizeClient(String login, String password) at Umbraco.Courier.Webservices.Messenger.ValidateDependency(String dependencyKey, Object validationObject, String login, String password) --- End of inner exception stack trace --- 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.CourierMessengerService.Messenger.ValidateDependency(String dependencyKey, Object validationObject, String login, String password) at Umbraco.Courier.BusinessLogic.Proxy.Messenger.ValidateDependency(String dependencyKey, Object validationObject, String& errorMessage, String login, String password) at Umbraco.Courier.BusinessLogic.Messengers.Helpers.MessengerHelper.ValidateDependencies(User u, Object objectToValidate, List`1 dependencies, String errorMessageTemplate, String& errorMessage) at Umbraco.Courier.BusinessLogic.Messengers.Content.ContentMessenger.Validate(Object id, Object parentId, String& errorMessage, User u) at Umbraco.Courier.Dialogs.TransferNode.validateNode(Int32 selectedId, Boolean transferChildren, String& validationErrors) at Umbraco.Courier.Dialogs.TransferNode.Page_Load(Object sender, EventArgs e)

  • Patrick McAndrew 48 posts 163 karma points
    Sep 06, 2010 @ 17:45
    Patrick McAndrew
    0

    Tracked it down a bit further through the logs.  Appears that the config file is hard coded a bit and so its excepted to be in Home Folder\Virtual Folder\umbraco\plugins\UmbracoCourier\settings\courier.config when it should be under: Home Folder\umbraco\plugins\UmbracoCourier\settings\courier.config.  Workaround is to create the Virtual Folder name under the Home Folder and then all the subfolders + courier.config. 

Please Sign in or register to post replies

Write your reply to:

Draft