I have an Azure web role running in the new 1.3 SDK, and I'm having permission issues when trying to make changes to IIS using Microsoft.Web.Administration.ServerManager . Whenever I execute CommitChanges() , this causes this error:
UnauthorizedAccessException "Unable to write configuration file due to insufficient permissions."
My ServerManager code is executing in the OnStart method of RoleEntryPoint .
My understanding was that the goal of moving to full support for IIS in 1.3 was that we could have more control over the configuration of our application, including creating new IIS sites on the fly, if necessary.
iis azure
Joe brinkman
source share