Copied to clipboard

Flag this post as spam?

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


  • Brooke 13 posts 34 karma points
    Nov 13, 2012 @ 05:20
    Brooke
    0

    Error finding /umbraco/RenderMvc after upgrading from 4.10Beta to 4.10.0

    I recently installed 4.10Beta, and got our site up an running using Umbraco installed as an application/virtual folder of another website.

    Ie, I have a website in IIS called fctest, and two versions of Umbraco installed as virtual folders.
    a) http://fctest/umbraco410b/       ; -> the beta version
    b) http://fctest/umbraco410/       ; -> the 4.10.0 Release

    The site pages (a standard ASP Starter Kit, MVC pages I had created, as well as two uBlogsy Blog sites) were working under the Beta version.

    To upgrade to 4.10.0, I made a copy of both the /umbraco410b/ folder, as well as the database and got it running as /umbraco410/, and both installations were working correctly (of course at this point they are identical).

    I then upgraded the /umbraco410/ application to 4.10.0 by copying across the new DLLS, making any necessary changes to the config files, adding any new files as well (I used winmerge to find the differences between the beta and release versions).

    When I started IIS and requested a page within the /umbraco410/ application, I was sent to the installation page as expected, which completed without error.

    Upon then requesting pages within the /umbraco410/ site, the ASP pages (starter kit and blogs) work correctly, however the pages which use MVC templates return the following error.

    Page Requested: http://fctest/ucontent410/fc-privacy.aspx

    Response:

    Page not found

    No umbraco document matches the url 'http://fctest/ucontent410/ucontent410/umbraco/RenderMvc'.

    Note, I was able to see the above error by placing <httpErrors existingResponse="PassThrough" /> in the <system.webServer> section of the web.config.

    As mentioned previously, this same page & template works perfectly when using the 4.10Beta version:
    http://fctest/ucontent410b/fc-privacy.aspx

    Does anyone know what has changed between the 4.10Beta version and the 4.10.0 Release that could have caused this?

    I can see that it is inserting the /ucontent10/ folder twice in the path, and it should really be using
    http://fctest/ucontent410/ucontent410/RenderMvc,
    though I am not certain why it is using the application name twice.

    In case it helps, I have the following paths set in my web.config:

        <add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,~/VSEnterpriseHelper.axd" />
        <add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
        <add key="umbracoContentXML" value="~/App_Data/umbraco.config" />
        <add key="umbracoStorageDirectory" value="~/App_Data" />
        <add key="umbracoPath" value="~/umbraco" />

    Any help would be appreciated, and let me know if you need any more of my configurtion details.

    - Brooke

  • Brooke 13 posts 34 karma points
    Nov 14, 2012 @ 02:19
    Brooke
    0

    Further to my post above, I have tried installing a fresh install of 4.10.0 as its own website (localhost:81), with MVC templates, and it works correctly.

    However, when I then stop that website, and add an application to the existing fctest website as http://fctest/ucontent410/, pointing to the same folder on the C drive, then the /RenderMVC problem above appears.

    Does anyone know what changes were made betwen 4.10.0Beta and 4.10.0 that could have caused this problem?

  • Ian Smedley 97 posts 192 karma points
    Nov 15, 2012 @ 11:23
    Ian Smedley
    0

    I too am having a similar problem, currently I've got my Umbraco site setup as a Virtual Directory, I'm running through IIS Express and Visual Studio 2012 - everything works fine (back office etc.) until I tried to view the home page - and all I get is the Umbraco 404 'This page is intentionally left ugly ;-)'  Page...

    I've tried turning Mvc off, and adding a normal masterpage template, but I get the same issue, I've switched umbracoUseDirectoryUrls to true - so I've tried both versions now...

    Does anybody have any suggestions? Seems that Virtual Directories are broke in Umbraco 4.10.1 - I'll try setting it up in IIS proper, incase it is isolated to IIS express....

  • Ian Smedley 97 posts 192 karma points
    Nov 15, 2012 @ 12:18
    Ian Smedley
    0

    I can confirm that in IIS 7 (windows 7) the 404 error still exists..

    In my case, I'm not getting the repetitive application name in the 404 message, however in the backoffice, it recognises that the link to the page is /virtualname 

    My workaround for now  has been to delete all the 4.10.1 dlls and configs, and put 4.9.1 in it's place (effectivly downgrade the version) - this works now....  Though I notice the links from the back office are 'wrong' - they say "/" which takes me to the root of the site, not to the root of the Umbraco site in the virtual directory...

    I've found the Brooke's appropiate issue on the issue board - it'd be good to know if others can replicate this behaviour.

    http://issues.umbraco.org/issue/U4-1194

     

     

  • Brooke 13 posts 34 karma points
    Nov 15, 2012 @ 12:32
    Brooke
    0

    Hi Ian,

    Great to see i'm not alone, just thought it was something I was doing.  Though I am surprised others have not exprienced the same issue, perhaps using umbraco as a virtual directory of another website is not as common as I thought.

    - Brooke

  • Richard Terris 273 posts 715 karma points
    Nov 15, 2012 @ 14:52
    Richard Terris
    0

    Have you tried setting this up as a website in IIS?

    I'd try that and see if it's an issue with Virtual Directories or some other config issue related to the upgrade?

    The fact that the fresh install of 4.10 as a website works suggests it's a virtual directory issue, but I'd try setting the original site up as a website and if it works I'd post it as a bug

  • Ian Smedley 97 posts 192 karma points
    Nov 15, 2012 @ 16:09
    Ian Smedley
    0

    Hi Rich,

    I haven't tried it outside of a virtual directory - like I say I've installed 4.9.1 over the top and I'm rolling with that for now, I might take a deeper look into it in a few weeks time, once I've got some deadlines out of the way!

    Cheers.

     

  • Stephen 767 posts 2273 karma points c-trib
    Nov 16, 2012 @ 08:36
    Stephen
    0

    Fresh 4.10 always seem to work. Also, 4.10 _has_ been tested in a virtual directory at some point but maybe the latest changes broke something. Will look into it.

  • Brooke 13 posts 34 karma points
    Nov 16, 2012 @ 12:34
    Brooke
    0

    As mentioned, the virtual directory worked in the 4.10.0Beta release, I did not check it in the RC, and it definately broke in the 4.10.0 Release.

    A fresh install of 4.10.0 as its own website does work, though as soon as I move it to a virtual directory, it breaks immediately. 

    I think the problem is when determing the URL to use for the /RenderMVC - See the following issue I have raised for further details on how I changed the Umbraco path to make it work, though broke the umbraco console.

    http://issues.umbraco.org/issue/U4-1194

     

     

  • Stephen 767 posts 2273 karma points c-trib
    Nov 16, 2012 @ 17:55
    Stephen
    1

    See my comments in the issue tracker. Bug has been identified and fixed in 4.11.0.

  • Ian Smedley 97 posts 192 karma points
    Nov 16, 2012 @ 17:57
    Ian Smedley
    0

    Really quick work Stephen - awesome! :-)

Please Sign in or register to post replies

Write your reply to:

Draft