Copied to clipboard

Flag this post as spam?

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


  • Brad 94 posts 151 karma points
    Apr 05, 2013 @ 01:59
    Brad
    1

    Courier - KeyNotFoundException

    Well, installing the latest nightly build of Courier, version 2.7.5.1.90.v6 into my Umbraco 6.0.0 site removed one error, but gave me a new one.

    I have a dev site and a live site. Both have the same repository info in their Courier.config files.That looks like ths.

    <repositories>
        <repository name="http://<Site URL>" alias="http://<Site URL>" type="CourierWebserviceRepositoryProvider" visible="true">
            <url>http://<Site URL></url>
            <login>admin</login>
            <password>Passw0rd</password>
            <passwordEncoding>Hashed</passwordEncoding>
        </repository>
        <repository name="http://D01134" alias="http://D01134" type="CourierWebserviceRepositoryProvider" visible="true">
            <url>http://D01134</url>;
            <login>admin</login>
            <password>Passw0rd</password>
            <passwordEncoding>Hashed</passwordEncoding>
        </repository>
      </repositories>

    Both sites can see one another just fine.

    Next I went to the Live site and created a new Revision which I called Live 4

    You can see, a whole bunch of stuff has been inclued in the revision. Just no Contour forms, but that is a topic for another thread.

    I then Transfered the revision to my dev box, D01134.

    This seems to have worked.

    Now on the the Dev machine I can see the Revision has arrived. Happy days (this is the bit that use to not work before I upgraded)

    Next I select the revision 'Live 4' and hit the Compare and Install button.

    Wow, Even that worked.

    The problem occurs when I hit the Install revision button.

    That error looks like this.

    I need help with this.

     

     

     

     

  • Brad 94 posts 151 karma points
    Apr 05, 2013 @ 02:53
    Brad
    0

    Ok, here is something interesting.

    I made a backup of the live database and restored it on my dev database. I then copied the whole Live site and pasted it into my dev box project folder. Ugly and unstustainable development practice. I have had to tell the various users of the live site to stop using it while I do some work on in. When I finish this dev I'll have to copy the dev site and db back to live.

    Anyway, now that I have the live site on my dev box and my dev database in sync with the live one, I have gone back to Courier for a look. Sure enough the Live 4 revision that was created when this site was live is still there. When I hit Compare and installed it tells me this.

    Well that makes sense. After all, this is a copy of the site that created the revision.

    However if I try to Install it, I get the exact some error as above. KeyNotFoundException.

    BUT, if I go the live site and try to install the Live 4 revision, (on the server that created it), it works. Doesn't do anything for the same reason as above, there is nothing to change. But at least the process works there.

     

     

  • Brad 94 posts 151 karma points
    Apr 05, 2013 @ 02:55
    Brad
    0

    Yet there is more...

    I just went to the Dev box and created a revision there, called 'Live 5'.

    I tranfered that revision to live and tried to install it. However when I click the Compare and Install button, I get this error.

    This revision does not have a compare file, so you cannot compare this revion. Re-package the revision to recreate the comparison file

    Error details

    System.Exception: This revision does not have a compare file, so you cannot compare this revion. Re-package the revision to recreate the comparison file
    at Umbraco.Courier.UI.Pages.CompareRevision.Page_Load(Object sender, EventArgs e)
    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
    at umbraco.BasePages.BasePage.OnLoad(EventArgs e)
    at Umbraco.Courier.UI.Pages.CourierBasePage.OnLoad(EventArgs e)
    at Umbraco.Courier.UI.Pages.CourierBaseLicensedPage.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Please Sign in or register to post replies

Write your reply to:

Draft