Umbraco – Error: Resource could not be found

I recently had the pleasure of using Umbraco, I was glad to see it had a web platform installer (which makes my life easier). The initial install went fine, however when coming to run the ASP Install/Configuration I recieved the following error:

Error:
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /install/default.aspx


If you look at the URL you will find that the install has redirected you to the root of the website:

Incorrect URL:
http://127.0.0.1/install/default.aspx?redir=true&url=/umbraco

After some research and looking into the error I discovered the error was due to selecting a virtual directory as part of the web platform installer. According to the Umbraco Documentation it implies you need to install the files into the Root of the website.

Solution:

First you need to ensure that Umbraco has its own website in IIS, as Umbraco needs to run in the root of the website.

Simply do one of the following to correct the error:

1. Manually browse to the location of the virtual directory, cut every thing from the virtual directory and paste it into the root of the website.
(Note: Please ensure you are not currently running a website from the root, as the above step will overwrite the website). Then delete the previous virtual directory.

2. In IIS re-point the websites root folder to the newly created virtual directory.

3. For when you already have a site running in the root of your website:
Create a new virtual website in IIS
Create a new path for the website files
Cut the files from their install location into the new root location of the new website.

Once this has been done, simply go to the root address for your website and the install should resume.

This entry was posted in .NET, Internet and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>