Visual Studio 2013 Web Deployment Package failed
<p>MS deployment service was started. I tried the <a href="https://msdn.microsoft.com/en-us/library/dd465323(v=vs.110).aspx" rel="nofollow">web deployment package method</a> and the .zip file was generated along with .deploy.cmd and the xml setting files. </p>

<p>As per the .deploy.cmd file, (planning to host the application on localhost) I tried the command</p>

<p>C:\Project>ProjectName.deploy.cmd /T /L /M:<a href="http://localhost/MSDeployAgentService" rel="nofollow">http://localhost/MSDeployAgentService</a></p>

<p>Dint get any errors for the above command. Got the prompt as "Creating application" and all the project files were copied.</p>

<p>When I changed the arguments from /T to /Y as said in ProjectName.deploy-readme.txt (generated as a part of ProjectName.deploy.cmd), I faced the below error. Please let me know if I had missed any. Since this is my first application which I am publishing, your suggestions/comments will help me to fix this issue.</p>

<p><strong>ERROR:</strong>
C:\Project>ProjectName.deploy.cmd /Y /L /M:<a href="http://localhost/MSDeployAgentService" rel="nofollow">http://localhost/MSDeployAgentService</a>
SetParameters from:
"C:\Project\ProjectName.SetParameters.xml"
You can change IIS Application Name, Physical path, connectionString or other deploy parameters in the above file.</p>

<hr>

<p>Start executing msdeploy.exe</p>

<hr>

<p>"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:package='C:\Project\ProjectName.zip' -dest:auto,computerName="http://localhost/MSDeployAgentService",includeAcls="False" -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParamFile:"C:\Project\ProjectName.SetParameters.xml"  -appHostConfigDir:"C:\Users\XXXX\Documents\IISExpress\config" -WebServerDir:"C:\Program Files\IIS Express\" -webServerManifest:"iisexpress.exe.manifest"
Info: Using ID 'd7a7b830-175c-4ec7-9baa-5d01db271c30' for connections to the remote server.
Info: Creating application (Default Web Site/MyApplication)
Info: Adding ACL's for path (Default Web Site/MyApplication)
Error: (2/17/2016 11:17:19 PM) An error occurred when the request was processed on the remote computer.
Error: This access control list is not in canonical form and therefore cannot be modified.
   at System.Security.AccessControl.CommonAcl.ThrowIfNotCanonical()
   at System.Security.AccessControl.CommonAcl.Purge(SecurityIdentifier sid)
   at System.Security.AccessControl.CommonSecurityDescriptor.PurgeAccessControl(SecurityIdentifier sid)
   at System.Security.AccessControl.ObjectSecurity.PurgeAccessRules(IdentityReference identity)
   at Microsoft.Web.Deployment.SetAclProvider.Add(DeploymentObject source, Boolean whatIf)
   at Microsoft.Web.Deployment.DeploymentObject.Update(DeploymentObject source, DeploymentSyncContext syncContext)
   at Microsoft.Web.Deployment.DeploymentSyncContext.HandleUpdate(DeploymentObject destObject, DeploymentObject sourceObject)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject destinationObject, DeploymentObject sourceObject)
   at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable<code>1 syncPassId, String syncSessionId)
   at Microsoft.Web.Deployment.DeploymentAgent.HandleSync(DeploymentAgentAsyncData asyncData, Nullable</code>1 passId)
Error count: 1.</p>