I have been trying to get Umbraco working in a web role environment
(web services) in Azure, but the site errors when you try and access
it, saying that config/trees.config is not accessible.
These are the steps i carried out:
Creat a new empty MVC4 project in Visual Studio 2013
Install Umbraco v7.1.8 from nuget
Run up and configure using a new azure SQL database.
Added in the umbraco folders to the solution.
Added an azure web services project to the solution.
Added the existing MVC umbraco project to the azure role profiles.
Published to Azure staging area.
The
site starts up with the usual 'Looks like here is still work to do'
screen in the full Azure emulator in visual studio with multiple role
instances. However fails to run up when hosted in Azure.
I
am currently assuming that the issue is that the site root does not
have write access when hosted in Azure, so the IIS worker process cannot
write to the trees.config file.
I found an article where you can add a 'startup.bat' file, with the following:
Umbraco 7 in Azure cloud as web roles
is working on a reply...