Copied to clipboard

Flag this post as spam?

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


  • John 9 posts 29 karma points
    Feb 16, 2010 @ 13:48
    John
    0

    Page not found for umbraco back-end

    Hi,

    I've copied an exisitng (and fully functioning) Umbraco 4.0.3 site from my development server to a live server. I've managed to get the front-end working at the new location, but when I try to access the Umbraco back-end I get an 'page not found' error message. Like this: 


    Page not found

    No umbraco document matches the url 'http://www.mysite.com/umbraco'

    umbraco tried this to match it using this xpath query'/root/node [@urlName = "umbraco"] | /root/node/node [@urlName = "umbraco"]')

      ...


     

    Development server: IIS6, ASP.NET 2.0 w\ AJAX EXT. 1.0

    Live server: IIS7, ASP.NET 3.5 w\ AJAX EXT. 3.5 

    I'm using the asp.net 3.5 version of the umbraco web.config file (from codeplex) for the live site since the live server only has the 3.5 version of ajax ext. installed. The only thing that I've replaced is the connectionstring in appSettings> umbracoDbDSN and I've set the value of umbracoConfigurationStatus to "4.0.3". Other than that my web.config looks exactly like the asp.net 3.5 web.config that you can download from codeplex. That should work, right?

    So what have I done wrong? Why can't I access the umbraco back-end on the live server?

     

  • Chris Koiak 700 posts 2626 karma points
    Feb 16, 2010 @ 14:39
    Chris Koiak
    0

    Do you have a AppSetting in your web config like

    <add key="umbracoReservedPaths" value="/umbraco,/install/" />

    This should stop umbraco trying to serve 'virtual' pages for anything under these folders.

    Are the files actually on the server?

  • John 9 posts 29 karma points
    Feb 16, 2010 @ 16:03
    John
    0

    Yes, I have an appSetting like that. Should I keep it or remove it? Tried to remove it, also tried changing the value to just "/umbraco/". I have no idea what I'm doing... :D

    And yes, I've copied ALL the files from dev server to live server. And there is indeed a directory named /umbraco and it got lots of files in it! :) Nothing wrong there I guess...

  • Chris Koiak 700 posts 2626 karma points
    Feb 16, 2010 @ 18:09
    Chris Koiak
    0

    You should have that AppSetting, it should stop umbraco doing anything for 'real' aspx pages.

  • John 9 posts 29 karma points
    Feb 16, 2010 @ 23:55
    John
    0

    Ok, I have the appsetting

    <add key="umbracoReservedPaths" value="/umbraco,/install/" />

     

    And I have all the files.

    I can view all pages in the front-end.

    Now I've also tried installing asp.net ajax ext. 1.0 and using the same web.config that works just fine on my development server.

    But it still doesn't work. Same problem - cannot access the back-end. :(

    Any other ideas?

     

  • John 9 posts 29 karma points
    Feb 18, 2010 @ 09:16
    John
    0

    Ok...Just found out that it does work if I type in the full url with "default.aspx" in the end. Like this: http://www.mysite.com/umbraco/default.aspx

    But how do I get to work with just http://www.mysite.com/umbraco ?

  • Kim Andersen 1447 posts 2196 karma points MVP
    Feb 18, 2010 @ 09:25
    Kim Andersen
    1

    Hi John.

    I always use this link: http://www.mysite.com/umbraco/umbraco.aspx

    This works perfectly, and even though you have to write a little longer URL, you'll get use to it very fast. By the way, I heard some rumours that in the future versions of Umbraco you shouldn't write umbraco twice, but only once. I don't know if this is just a rumour, but it could be a nice little feature :)

    /Kim A

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Feb 18, 2010 @ 09:52
    Dirk De Grave
    1

    http://www.mysite.com/umbraco will work only from v4.1 onwards, for earlier versions, you need to use http://www.mysite.com/umbraco/umbraco.aspx to get to the backend

    @Kim: it's not a rumour, it's a fact :p

    Cheers,

    /Dirk

  • John 9 posts 29 karma points
    Feb 18, 2010 @ 10:07
    John
    0

    Could there be a difference between iis6 and iis7 in this case? Because on my dev.site (iis6) navigating to just http://www.mysite.com/umbraco works fine...But it redirects to http://www.mysite.com/umbraco/ (with an extra slash at the end)

    Navigating directly to http://www.mysite.com/umbraco/ works too.

    Ok. Mystery solved, I guess. Thank you!

  • Theofilos 3 posts 23 karma points
    Nov 24, 2013 @ 13:01
    Theofilos
    0

    -created a new post.. 

Please Sign in or register to post replies

Write your reply to:

Draft