Copied to clipboard

Flag this post as spam?

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


  • Mike Taylor 155 posts 353 karma points
    Sep 15, 2010 @ 15:07
    Mike Taylor
    0

    Master page weirdness after xcopy from Web Application Project

    Have stumbled across a peculiar issue when trying to xcopy master pages from a separate Web Application Project into an Umbraco site... see blog post:

    http://umbraco.miketaylor.eu/2010/09/15/master-page-weirdness-after-xcopy-from-web-application-project/

    After the post-build event xcopies the master pages over to the Umbraco site, I'm getting a Parser Error on the site, but if I go into the Umbraco admin and just save the templates again, it all works fine.

    Anyone seen this before?

    Mike

  • Rik Helsen 670 posts 873 karma points
    Sep 15, 2010 @ 16:09
    Rik Helsen
    0

    IIS user doesn't have the same rights on the masterpagefolder as you do from your workstation? impersonation is "on" somewhere?

  • Rik Helsen 670 posts 873 karma points
    Sep 15, 2010 @ 16:12
    Rik Helsen
    0

    Nevermind, you're working on a local machine...

    possibly you're refreshing the XML cache when publishing from Umbraco, and not when your xcopying the files over the old ones?

    I never work on masterpages from filesystem so couldn't say...

    I think you might wat to start a codeplex case for this one...

  • Mike Taylor 155 posts 353 karma points
    Sep 15, 2010 @ 17:12
    Mike Taylor
    0

    Found it!

    It turns out that copy/paste from the template editor in the Umbraco back-end appends a non-ANSI-Latin I character to the code.

    See blog post: http://umbraco.miketaylor.eu/2010/09/15/master-page-weirdness-resolved/

    Cheers,

    Mike

Please Sign in or register to post replies

Write your reply to:

Draft