Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all 663 articles
Browse latest View live

Moving from IIS 7.0 > 8.5

$
0
0

Hi

I am trying to migrate hundreds of sites from a shared hosting server to a new server.

Source: Windows 2008, 32bit DC edition  (Not R2)

Destination: Windows 2012 R2 x64 Std Edition.

I am using the GUI inside of IIS.

Steps I took:

on the source, I made the .zip file and copied it to the Destination Server

on the destination server I opened IIS, right click the server name and import on web deploy. I then get this error:

I visited http://www.iis.net/learn/publish/troubleshooting-web-deploy/web-deploy-error-codes#ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH

I compared the msdeploy.exe.config files

Source:

<configuration><startup  useLegacyV2RuntimeActivationPolicy="true" ><supportedRuntime version="v2.0.50727" /><supportedRuntime version="v4.0" /></startup></configuration>

Destination:

<configuration><startup  useLegacyV2RuntimeActivationPolicy="true" ><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" /><supportedRuntime version="v2.0.50727" /></startup></configuration>

I then copied and pasted the source one to destination so they were identical, then rebooted the destination server so all services were restarted. I tried again but I got the same error.

can anyone help me get this to work?


How to configure automatic (web)deploy for Internet Information Services (IIS)?

$
0
0

Hi everyone,

Without any answer on StackOverflow I decided to ask my question here (hoping someone knows the solution), see http://stackoverflow.com/questions/37436904/how-to-configure-automatic-webdeploy-for-internet-information-services-iis

For a continuous integration project I'm trying to configure a package called Web Deploy 3.5.

The server is running on Windows Server 2012 and IIS version 8.5.

I did the following steps to configure it.

  1. Installed complete Web Deploy 3.5;
  2. Enabled in IIS management panel -> Management Service -> Remote connections - and checked Windows credentials or IIS Manager credentials;
  3. Added a new Windows User with Administrator rights and checked password never expired;
  4. Allowed on site level the user via IIS Manager Permissions;
  5. Restart the following services: Web Deployment Agent Service and Web Management Service

After configuration I execute the following command from another machine:

"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:contentPath="C:\Release\Website\" -dest:contentpath="website.lan",wmsvc=webserver.lan,username=deploymentuser,password=test -allowUntrusted

The following error occured everytime.

Error: Could not complete the request to remote agent URL 'https://webserver.lan:8172/msdeploy.axd?Site=website.lan'.
Error: The underlying connection was closed: An unexpected error occurred on a send.
Error: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Error: An existing connection was forcibly closed by the remote host
Error count: 1.

When I go in a browser to https://webserver.lan:8172/msdeploy.axd?Site=website.lan

and provide the login credentials for user deploymentuser, I see a white page. I have googled a lot on this error and verified the configuration with http://www.iis.net/learn/publish/using-web-deploy/configure-the-web-deployment-handler

and http://www.iis.net/learn/manage/remote-administration/remote-administration-for-iis-manager

..but I cannot fix it.

Does anyone know a solution?

Thanks a lot,

Jordy

ERROR_EXCEPTION_WHILE_CREATING_OBJECT : Web deployment task failed

$
0
0

Dear Web Deploy folk,

I am getting the error "ERROR_EXCEPTION_WHILE_CREATING_OBJECT" deploying from my dev machine (Windows 10) to my test server (Windows Server 2012 R2 with Web Deploy prerequisites installed)

Any assistance to help solve this or else if you can suggest an approach to debug and understand the problem, it would be appreciated.

Shown below with surrounding lines of Web Deploy output:

 

1>Skip copying .\umbraco_client\Ui\ui-lightness\jquery-ui.custom.css to obj\Release\Package\PackageTmp\umbraco_client\Ui\ui-lightness\jquery-ui.custom.css, File obj\Release\Package\PackageTmp\umbraco_client\Ui\ui-lightness\jquery-ui.custom.css is up to date

1>Skip copying .\Global.asax to obj\Release\Package\PackageTmp\.\Global.asax, File obj\Release\Package\PackageTmp\.\Global.asax is up to date

1>Publish Pipeline Deploy phase Stage PipelineCopyAllFilesToOneFolderForMsdeploy
1>Generate source manifest file for Web Deploy package/publish ...

1>Start Web Deploy Publish the Application/package to http://ClancySvrVM1/MSDEPLOYAGENTSERVICE ...

1>Starting Web deployment task from source: manifest(C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\TeraTastic.SourceManifest.xml) to Destination: auto().1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4283,5): Error ERROR_EXCEPTION_WHILE_CREATING_OBJECT: Web deployment task failed. (Object of type 'manifest' and path 'manifest xml hidden' cannot be created.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXCEPTION_WHILE_CREATING_OBJECT.)

1>Publish failed to deploy.

1>
========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========

As per Sept 18 entry in thread at http://forums.iis.net/t/1216307.aspx?MSDeploy+ERROR_EXCEPTION_WHILE_CREATING_OBJECT+trying+to+set+Folder+Permissions 

I have checked  \obj\Release\Package\ProjectName.SourceManifest.xml (in my case TeraTastic.SourceManifest.xml)  exists and confirmed that I do I have access to it .  Apparently this manifest file is just a list of source objects to sync and I should check that every path specified within the file exists and that I have access to it.  And if necessary edit ProjectName.wpp.targets to correct. However I found that several folders in that file do not NOT exist and I could find no error in ProjectName.wpp.targets to correct? 

 Here is my ProjectName.SourceManifest.xml with comments at the end of the offending lines indicating the folders that do not exist:

 

<?xml version="1.0" encoding="utf-8"?><sitemanifest><DbDacFx path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\AutoScripts\TeraTastic09ConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" /><DbDacFx path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\AutoScripts\umbracoDbDSN_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" /><IisApp path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp" setAclResourceType="Directory" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp" setAclUser="anonymousAuthenticationUser" setAclResourceType="Directory" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\AA_TTLogs" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\App_Browsers" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\App_Code" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\App_Data" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" />                   // Windows can't find .... Check the spelling and try again.<setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\App_GlobalResources" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\App_Plugins" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\App_Start" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" />          // Windows can't find .... Check the spelling and try again.<setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\bin" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\Config" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\Controllers" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\cssTT" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\fonts" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\images" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\img" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\js" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\jstree" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\macroScripts" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\masterpages" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\media" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" />                      // Windows can't find .... Check the spelling and try again.<setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\Models" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" />             // Windows can't find .... Check the spelling and try again.<setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\plugin_SmartMenus" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\Plugins" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" />                    // Windows can't find .... Check the spelling and try again.<setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\Raven" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" />                      // Windows can't find .... Check the spelling and try again.<setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\rs-plugin" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\Scripts" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\Services" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" />           // Windows can't find .... Check the spelling and try again.<setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\TT_Classes" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" />                 // Windows can't find .... Check the spelling and try again.<setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\TT_Constants" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" />       // Windows can't find .... Check the spelling and try again.<setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\TT_Scripts" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="ReadAndExecute" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\Umbraco" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\Umbraco_Client" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\Views" setAclUser="TeraTastic" setAclResourceType="Directory" setAclAccess="Modify" /><setAcl path="C:\Clancy\A_TeraTastic\Dev\TeraTastic09\TeraTastic\obj\Release\Package\PackageTmp\web.config" setAclUser="TeraTastic" setAclResourceType="File" setAclAccess="Modify" /></sitemanifest>

 

And here is my TeraTastic.wpp.targets file:

 

<?xml version="1.0" encoding="utf-8"?><Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><Target Name="SetupCustomAcls" AfterTargets="AddIisSettingAndFileContentsToSourceManifest"><ItemGroup><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\AA_TTLogs</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest>   <MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\App_Browsers</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\App_Code</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\App_Data</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\App_GlobalResources</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\App_Plugins</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\App_Start</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\bin</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\Config</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\Controllers</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest>   <MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\cssTT</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\fonts</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest>     <MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\images</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest> <MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\img</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest>     <!--<MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\Install</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest>

      --><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\js</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\jstree</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\macroScripts</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\masterpages</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\media</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\Models</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest>       <MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\plugin_SmartMenus</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest>  <MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\Plugins</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\Raven</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\rs-plugin</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\Scripts</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\Services</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\TT_Classes</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\TT_Constants</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\TT_Scripts</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>ReadAndExecute</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\Umbraco</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\Umbraco_Client</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><!--<MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\usercontrols</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest>

      --><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\Views</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest><!--<MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\xslt</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>Directory</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest>

      --><MsDeploySourceManifest Include="setAcl"><Path>$(_MSDeployDirPath_FullPath)\web.config</Path><setAclUser>TeraTastic</setAclUser><setAclAccess>Modify</setAclAccess><setAclResourceType>File</setAclResourceType><AdditionalProviderSettings>setAclUser;setAclResourceType;setAclAccess</AdditionalProviderSettings></MsDeploySourceManifest></ItemGroup></Target><Target Name="DeclareCustomParameters" AfterTargets="AddIisAndContentDeclareParametersItems"><ItemGroup><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\AA_TTLogs$</Match><Description>Add write permission to the A_TTLogs folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/A_TTLogs</DefaultValue><Value>$(_DestinationContentPath)/A_TTLogs</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\App_Browsers$</Match><Description>Add write permission to the App_Browsers folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/App_Browsers</DefaultValue><Value>$(_DestinationContentPath)/App_Browsers</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_CodeSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\App_Code$</Match><Description>Add read permission to the App_Code folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/App_Code</DefaultValue><Value>$(_DestinationContentPath)/App_Code</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_DataSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\App_Data$</Match><Description>Add read permission to the App_Data folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/App_Data</DefaultValue><Value>$(_DestinationContentPath)/App_Data</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\App_GlobalResources$</Match><Description>Add write permission to the App_GlobalResources folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/App_GlobalResources</DefaultValue><Value>$(_DestinationContentPath)/App_GlobalResources</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_PluginsSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\App_Plugins$</Match><Description>Add read permission to the App_Plugins folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/App_Plugins</DefaultValue><Value>$(_DestinationContentPath)/App_Plugins</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\App_Start$</Match><Description>Add write permission to the App_Start folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/App_Start</DefaultValue><Value>$(_DestinationContentPath)/App_Start</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="binSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\bin$</Match><Description>Add read permission to the bin folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/bin</DefaultValue><Value>$(_DestinationContentPath)/bin</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="ConfigSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\Config$</Match><Description>Add read permission to the Config folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/Config</DefaultValue><Value>$(_DestinationContentPath)/Config</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\Controllers$</Match><Description>Add write permission to the Controllers folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/Controllers</DefaultValue><Value>$(_DestinationContentPath)/Controllers</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="cssSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\cssTT$</Match><Description>Add read permission to the cssTT folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/cssTT</DefaultValue><Value>$(_DestinationContentPath)/cssTT</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\fonts$</Match><Description>Add write permission to the fonts folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/fonts</DefaultValue><Value>$(_DestinationContentPath)/fonts</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\images$</Match><Description>Add write permission to the images folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/images</DefaultValue><Value>$(_DestinationContentPath)/images</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\img$</Match><Description>Add write permission to the img folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/img</DefaultValue><Value>$(_DestinationContentPath)/img</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><!--<MsDeployDeclareParameters Include="InstallSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\Install$</Match><Description>Add read permission to the Install folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/Install</DefaultValue><Value>$(_DestinationContentPath)/Install</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters>

      --><MsDeployDeclareParameters Include="jsSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\js$</Match><Description>Add read permission to the js folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/js</DefaultValue><Value>$(_DestinationContentPath)/js</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\jstree$</Match><Description>Add write permission to the jstree folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/jstree</DefaultValue><Value>$(_DestinationContentPath)/jstree</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="macroScriptsSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\macroScripts$</Match><Description>Add read permission to the macroScripts folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/macroScripts</DefaultValue><Value>$(_DestinationContentPath)/macroScripts</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="masterpagesSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\masterpages$</Match><Description>Add read permission to the masterpages folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/masterpages</DefaultValue><Value>$(_DestinationContentPath)/masterpages</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="mediaSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\media$</Match><Description>Add read permission to the media folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/media</DefaultValue><Value>$(_DestinationContentPath)/media</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\Models$</Match><Description>Add write permission to the Models folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/Models</DefaultValue><Value>$(_DestinationContentPath)/Models</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\plugin_SmartMenus$</Match><Description>Add write permission to the plugin_SmartMenus folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/plugin_SmartMenus</DefaultValue><Value>$(_DestinationContentPath)/plugin_SmartMenus</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\Plugins$</Match><Description>Add write permission to the Plugins folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/Plugins</DefaultValue><Value>$(_DestinationContentPath)/Plugins</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\Raven$</Match><Description>Add write permission to the Raven folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/Raven</DefaultValue><Value>$(_DestinationContentPath)/Raven</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\rs-plugin$</Match><Description>Add write permission to the rs-plugin folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/rs-plugin</DefaultValue><Value>$(_DestinationContentPath)/rs-plugin</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="scriptsSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\scripts$</Match><Description>Add read permission to the scripts folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/scripts</DefaultValue><Value>$(_DestinationContentPath)/scripts</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\Services$</Match><Description>Add write permission to the Services folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/Services</DefaultValue><Value>$(_DestinationContentPath)/Services</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\TT_Classes$</Match><Description>Add write permission to the TT_Classes folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/TT_Classes</DefaultValue><Value>$(_DestinationContentPath)/TT_Classes</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\TT_Constants$</Match><Description>Add write permission to the TT_Constants folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/TT_Constants</DefaultValue><Value>$(_DestinationContentPath)/TT_Constants</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="App_BrowsersSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\TT_Scripts$</Match><Description>Add write permission to the TT_Scripts folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/TT_Scripts</DefaultValue><Value>$(_DestinationContentPath)/TT_Scripts</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="UmbracoSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\Umbraco$</Match><Description>Add read permission to the Umbraco folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/Umbraco</DefaultValue><Value>$(_DestinationContentPath)/Umbraco</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><MsDeployDeclareParameters Include="Umbraco_ClientSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\Umbraco_Client$</Match><Description>Add read permission to the Umbraco_Client folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/Umbraco_Client</DefaultValue><Value>$(_DestinationContentPath)/Umbraco_Client</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><!--     <MsDeployDeclareParameters Include="usercontrolsSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\usercontrols$</Match><Description>Add read permission to the usercontrols folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/usercontrols</DefaultValue><Value>$(_DestinationContentPath)/usercontrols</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters>

      --><MsDeployDeclareParameters Include="ViewsSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\Views$</Match><Description>Add read permission to the Views folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/Views</DefaultValue><Value>$(_DestinationContentPath)/Views</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters><!--    <MsDeployDeclareParameters Include="xsltSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\xslt$</Match><Description>Add read permission to the xslt folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/xslt</DefaultValue><Value>$(_DestinationContentPath)/xslt</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters>

            --><MsDeployDeclareParameters Include="web.configSetAclParam"><Kind>ProviderPath</Kind><Scope>setAcl</Scope><Match>^$(_EscapeRegEx_MSDeployDirPath)\\web.config$</Match><Description>Add read permission to the web.config folder.</Description><DefaultValue>{$(_MsDeployParameterNameForContentPath)}/web.config</DefaultValue><Value>$(_DestinationContentPath)/web.config</Value><Tags>Hidden</Tags><Priority>$(VsSetAclPriority)</Priority><ExcludeFromSetParameter>True</ExcludeFromSetParameter></MsDeployDeclareParameters></ItemGroup></Target></Project>

  

Any assistance to help solve this or else if you can suggest an approach to debug and understand the problem it would be appreciated.

 

Thanks

 Terry Clancy

ClanceZ

[Web Deploy] Automatic backup not created properly when deploying from VS 2015

$
0
0

Hi,

I try to make automatic backup works when I deploy a website from Visual Studio 2015 with the publish wizard.

My problem is when I deploy a new version of a website from IIS Manager/WebDeploy everything works fine with automatic backup (I mean, the backup is fully created as expected). However, when I deploy the same website from VS 2015 with <EnableMSDeployBackup>True</EnableMSDeployBackup> in my pubxml file), the backup is not created properly. I only got a ZIP file of 64 KB  with two file in it : archive.xml and systemInfo.xml.

I cannot figured out what I am missing to make it works…

Thanks for your help!

Best,
Niniel

Enabling EnablePackageProcessLoggingAndAssert when using VS UI at VS / Build/ Publish

Working in VS Debug but after deployment Umbraco.ModelsBuilder.dll missing

$
0
0

Hi All,

My Umbraco project runs OK in Visual Studio / Cassini, but with I use MS Deploy to deploy to a Local Windows Server 2012 IIS machine on the same subnet it fails to deploy Umbraco.ModelsBuilder.dll to the bin folder on the target machine and I get the error below.

Any Ideas what is going on here ?

Thanks

Terry Clancy  ClanceZ

Error from IE:

Server Error in '/' Application.

Configuration Error
  Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

 Parser Error Message: Could not load file or assembly 'Umbraco.ModelsBuilder' or one of its dependencies. The system cannot find the file specified.

Source Error:



Line 183:        <add assembly="System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
Line 184:        <add assembly="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
Line 185:        <add assembly="Umbraco.ModelsBuilder" />
Line 186:        <add assembly="System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
Line 187:        <add assembly="System.Collections.Concurrent, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />


 Source File:  C:\inetpub\TeraTastic\web.config    Line:  185

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Umbraco.ModelsBuilder' could not be loaded.



WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].




Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1055.

Update ConnectionString in web.config using MSDeploy

$
0
0

How can I update connectionString in my web.config during deploy with MSDeploy?

Current web.config contains:

<?xml version="1.0" encoding="utf-8"?><configuration> <connectionStrings><site Setting="ON" /><remove name="conn1" /><add name="conn1" connectionString="server=server.database.windows.net;database=devdatabase1;user id=dbuser;password=dbpass;trusted_connection=False" providerName="System.Data.SqlClient" /><add name="conn2" connectionString="server=server.database.windows.net;database=devdatabase2;user id=dbuser;password=dbpass;trusted_connection=False" providerName="System.Data.SqlClient" /><add name="conn3" connectionString="server=server.database.windows.net;database=devdatabase3;user id=dbuser;password=dbpass;trusted_connection=False" providerName="System.Data.SqlClient" /><add name="StorageConnectionString" connectionString="DefaultEndpointsProtocol=http;AccountName=devstorage;AccountKey=devkey" /></connectionStrings></configuration>

What I need here is update connectionString for each add name="conn1|2|3".

 found this post and made Property.xml file with:

<parameters><parameter name="ChangeSiteSetting" value="OFF"><parameterEntry type="XMLFile" scope="web.config$" match="//configuration/connectionStrings/site/@Setting"/></parameter><parameter name="ChangeRemoveName" value="NewConn"><parameterEntry type="XMLFile" scope="web.config$" match="//configuration/connectionStrings/remove/@name"/></parameter>  <parameter name="ChangeAddName" value="NewConn"><parameterEntry type="XMLFile" scope="web.config$" match="//configuration/connectionStrings/remove/add/@name"/></parameter><parameter name="ChangeConnection" value="NewConnString"><parameterEntry type="XMLFile" scope="web.config$" match="//configuration/connectionStrings/remove/add/@connectionString"/></parameter></parameters>

And run it as:

$ msdeploy -verb:sync -source:dirpath=C:\BuildTest\Src -dest:dirpath=C:\BuildTest\Dst -setParamFile=C:\BuildTest\Property.xml

Result is:

$ type Dst\web.config<?xml version="1.0" encoding="utf-8"?><configuration><connectionStrings><site Setting="OFF" /><remove name="NewConn" /><add name="conn1" connectionString="server=server.database.windows.net;database=devdatabase1;user id=dbuser;password=dbpass;trusted_connection=False" providerName="System.Data.SqlClient" /><add name="conn2" connectionString="server=server.database.windows.net;database=devdatabase2;user id=dbuser;password=dbpass;trusted_connection=False" providerName="System.Data.SqlClient" /><add name="conn3" connectionString="server=server.database.windows.net;database=devdatabase3;user id=dbuser;password=dbpass;trusted_connection=False" providerName="System.Data.SqlClient" /><add name="StorageConnectionString" connectionString="DefaultEndpointsProtocol=http;AccountName=devstorage;AccountKey=devkey" /></connectionStrings></configuration>

I tried to set:

<parameterEntry type="XMLFile" scope="web.config$" match="//configuration/connectionStrings/remove/add[@name=conn1]/@connectionString"/>

to reach and update  connectionString name="conn1" - but this not works too.

Idea is to have separate Property.xml files for DEV, STAGE, PROD environments and update them during deploy viavariable, e.g.:

$ msdeploy -verb:sync -source:dirpath=C:\BuildTest\Src -dest:dirpath=C:\BuildTest\Dst -setParamFile=C:\BuildTest\DEVproperty.xml

ERROR_USER_NOT_AUTHORIZED_FOR_DEPLOYMENTPROVIDER while performing deployment (web application or windows services) as NON-Admin user via MSDeploy

$
0
0

Hi Team,

We have been receiving error - "ERROR_USER_NOT_AUTHORIZED_FOR_DEPLOYMENTPROVIDER" while executing below command using MSDeploy as Non-admin user (Username : myserviceaccount) in Target server. Same error by-passed when admin access provided to "myserviceaccount" user in Target server.

Typically, reported error should not appear when we declare delegation rules in IIS as mentioned in http://www.iis.net/learn/publish/using-web-deploy/configure-the-web-deployment-handler. But, MSDeploy still requires Admin access to "userName" for complete preSync & postSync MSDeploy commands.

Also, Have followed all directions captured in below blogs to complete the deployment as Non-Admin user. But, no luck favors to us.

1. http://www.jamescrowley.co.uk/2011/09/05/deploying-windows-services-using-msdeploy/

2. https://support.microsoft.com/en-us/kb/2023855

3. http://www.iis.net/learn/publish/using-web-deploy/configure-the-web-deployment-handler

Can you advise us what we are missing here?

MSDeploy Command:

“C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe” -verb:sync -preSync:runCommand=’mypath\Uninstall_Service.cmd’,waitInterval=30000 -source:package=’mypackage.zip’ -dest:manifest=”mypackage.DestinationManifest.xml”,computerName=”https://myserver:8172/MSDeploy.axd?site=Default Web Site”,userName=”myserviceaccount”,password=”#########”,authtype=”Basic”,includeAcls=”False” -setParamFile:”mypackage.SetParameters.xml” -postSync:runCommand=’mypath\Install_Service.cmd’,waitInterval=30000 -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -allowUntrusted


Is something listening on Port 8172?

$
0
0

I had a problem with Web Deploy as I was getting ERROR_DESTINATION_NOT_REACHABLE, so I followed the answer to this post.

When I ran that netsat, everying was 0 (as in the answer). The problem I was encountering was because no network connection was available on the server, so I solved that part.

However, even if the server is now reachable from Visual Studio and Web Deploy, netstat still returns 0 (as in the answer).

So is the answer correct or not? Is something listening on that port but being listed when using netstat?

Web Deploy [msdeploy.exe] - Post Deploy Script as part of deployment (not using command prompt)

$
0
0

Good Day Everyone

We are using Web Deploy to deploy ASP.NET web apps on the remote server. Is there any way to configure web deploy so that a post-deploy custom script could be included? It could be powershell or bat file BUT we do not want to run through command prompt on the target server. It must be setup as part of the deploy process.

I have seen ways to run it through command prompt but that's not what we want. It must be included somewhere in the settings/xml files that the web deploy process should read and make it part of the package. So when the package is finally deployed, that script also runs. Privileges are no issues.

Thanks

IIS 6.0 (Server 2003) to IIS 8.5 (Server 2012 R2)

$
0
0

Hello! 

I have been banging my head against my desk for the past couple weeks trying to figure out why I cannot migrate my IIS 6.0 (Server 2003) webwsites to IIS 8.5 (Server 2012 R2) using the MSDEPLOY tool.

I've used mostly used this blog post - https://blogs.msdn.microsoft.com/ericparvin/2014/09/12/migration-from-iis-6-to-iis-7-x-8-x/ - and due to our environment, I really need to be able to use the PUSH or PULL method to sync the servers. These servers are on the same subnet/workgroup and am logged in as a local administrator on both but I cannot get them to sync. 

Running this code.....

msdeploy -verb:sync -source:metakey=lm/w3svc/123456 ^
-dest:metakey=lm/w3svc/123456,computername=IPADDRESS -whatif

I get this error....

Error Code: ERROR_USER_NOT_ADMIN
More Information: Connected to 'IPADDRESS' using the Web Deployment Agent Service, but could not authorize. Make sure you are an administrator on 'IPADDRESS'
Error: The remote server returned an error: (401) Unauthorized


Now as I mentioned, these servers are not on the domain and therefore I can't use domain admin credentials. How can I give permission to either push/pull and migrate to IIS 8.5?

Web Deploy: WMSVC hang with dbFullSql

$
0
0

On a newly installed server we have installed webdeploy 3.6 and started to deploy our web application with the dbFullSql provider.

The deployment package consists of a ASP.NET Web Application and a SQL file to be deployed with the dbFullSql provider. It appears that the web management service goes into an endless loop and starts eating memory when the deployment occurs and it never ends.

 Interestingly this only occurs after access is granted to the database: If I disallow the credentials for connection to the database this is reflected as a failure in the web deployment. However, following the happy path results in the situation above.

Does anyone know how to resolve this situation?

How do I deploy MSBUILD generated web packages?

$
0
0

I'm trying to setup a build that deploy our applications out of team services (VSO).

So far I have managed to setup the build to create my packages using http://www.asp.net/web-forms/overview/deployment/web-deployment-in-the-enterprise/building-and-packaging-web-application-projects

In Team Services I have added the args "/p:DeployOnBuild=true;PublishProfile=Test;DeployTarget=package" and have ensured that from the page above I configured my test publish profile correctly as I can do a one click deploy from VS.

At this point running a build from Team Services compiles all my code and generates the appropiate packages.

I then wrote a simple console app to crawl the compiled code and look for .cmd files in package folders to execute and having found them I am trying to execute the packages as per the instructions on http://www.asp.net/web-forms/overview/deployment/web-deployment-in-the-enterprise/deploying-web-packages

The instructions clearly show ...

[project name].deploy.cmd [/T | /Y][/M:<computer name>][/A:<Basic| NTLM>][/U:<user name>][/P:<password>][/L][/G:<true|false>][AdditionalMSDeploy.exe flags]

.. so, no problem I thought what i'll do is for each commmand file my console app finds I will give the command params like this ...

myproj.deploy.cmd /Y /M:test.foo.com /A:basic /U:<my user> /P:<my pass>

.. as it happens at this point in time the build agent happens to be on the same box as the deployment service so I could probably use NTLM but that doesn't work either however in the future I want to separate the two and the servers in question may not live on the same domain so I would like to pass over the user name and password like I am here.

At this point I get the problem shown here ...

https://forums.iis.net/t/1173147.aspx

I'd like to know what magic I need to perform in order to get the msbuild generated packages for my app to work bearing in mind this already works from VS using one click publishing I think it's reasonable to assume I have gotten all the settings right in the publish profile and the deployment service setup right on the server. 

So what am I doing wrong trying to execute the packages from a command prompt / build agent?

Any help would be greatly appreciated.

IIS 7 to 8.5. .Net version issues

$
0
0

Hello.

I have installed the Web Deployment tool on a old 32  server running IIS 7 and a new server running IIS 8.5. Both are 64 bit. I have updated the msdeploy.exe.config file to be the same in the multiple versions of the tool I have found in Program Files and Program Files (86).

<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true" >
<supportedRuntime version="v2.0.50727" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
</configuration>

I create the file on the old server, FTP it to the new server and run Web Deploy from the IIS gui but whatever I do I can't get rid of the .Net incompatibility error below. I have rebooted both machines and also run this command on the old server:

  • net stop msdepsvc & net start msdepsvc

And these commands on the new server

  • net stop msdepsvc & net start msdepsvc
  • net stop wmsvc & net start wmsvc

But to no avail. Any help to sort this out would be appreciated.

Web Deploy .Net error

Thanks.

Deploy everything in the bin directory to the root

$
0
0

I have a special use case. I have a Visual Studio project that is a plugin. When I right-click on the project and publish, all the files are deployed to the folder I wanted, but nested inside a bin directory. However, the application I am using wants the plugin files to not be in a bin file.

Site: Default Website\Plugin\MyPlugin

Default Website\PluginMyPlugin\Bin\my.dll
Default Website\PluginMyPlugin\Bin\dependency.dll

I need the files deployed like this.

Default Website\PluginMyPlugin\my.dll
Default Website\PluginMyPlugin\dependency.dll

I have been searching the web for some time trying to figure out how to deploy all the files in the bin directory but not put them in the bin directory.

Any ideas?


web deploy error message

$
0
0

In a vb.net 2010 web form application, I am getting the following error message when I deploy the code to a test app server.

C:\Program Files (x86)\MSBuild\Microsoft\WebDeployment\v10.0\Microsoft.WebDeployment.targets(1045,7): error MSB3073: The command "if not exist "\\c701-ws-wde-001\AL\" md "\\c701-ws-wde-001\AL\"" exited with code 1.
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

When I run the code in visual studio 2010, it works fine.

Does the location "\\c701-ws-wde-001\AL\" need update permissions set? If so, how do you change permissions on this location?

I looked on the internet and I cannot find this error message.

When I comment out some javascript alert message, the code deploys to the test app server correctly.

Thus can you tell me what I can do to get the javascript alert message to work in the web deploy? Are there some web deploy properties that need to be set.

Are there compile options I can look at to try to figure out what is causing the problem?

Thus can you tell or show me what I can do to solve this problem?

some .asax .svc files become empty after deploy

$
0
0

We use msdeploy V3  to push our services(about 10 services) to AWS EC2.

Here is step in script:

1.Create instance in AWS.

2.Deploy all services to the instance created in step 1 one by one.

3.Terminate the instance created in step 1.

4.Snap a new image based on the instance terminated in step 3.

5.Launch instances based on the new image snapped in step 4.

It's strange that after deploy (step 2), the Global.asax and *.svc files in the last service become empty.

I checked the source files in PackageTmp, they are not empty.

Does anyone have idea about this?

or does msdeploy have CRC/MD5 check option?

Thank you.

Mikitty

Web deploy delete existing site in export

$
0
0

Hi guys;

I try ti migrate from IIS 7.5 to IIS 8.5, i installed Web deploy 3.5 and i have this command for export:

msdeploy -verb:sync -source:webserver,machineconfig32.netfxversion=2,machineconfig64.netfxversion=2,

rootwebconfig32.netfxversion=2,rootwebconfig64.netfxversion=2,includeAcls=true  -dest:package=D:\sites\server1.zip,encryptPassword=Password123

and for import:

C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -dest:webserver,machineconfig32.net
fxversion=2,machineconfig64.netfxversion=2,rootwebconfig32.netfxversion=2,rootwebconfig64.netfxversi
on=2 -source:package=D:\sites\server1.zip,encryptPassword=Password123 

My problem is when I import the sites in the target server, all of my old sites and their directories are deleted. Can anyone help if a parameter was added in my command lines to block or skip it ??

thanks

Need help using msdeploy with gMSA, without having to edit the registry

$
0
0

I have a TeamCIty server I wish to use with msdeploy.  I have IIS 7.5 on server 2012, with the Web Management Service role enabled. The server has no access to the internet, but is on the LAN, so I used WebPI and did an offline install of WHP_Recommended, the "Recommended Server Configuration for Web Hosting Providers" package; comes with msdeploy 3.5.  The server has 3 drives, C is for the system, D is for software installs and E is for data, as such I have inetpub on E, TeamCity's installed on D, with it's data directory on E.  So I have a gMSA, let's say account$. I have given non-adminWeb Deploy Publishing rights and website IIS Manager permissions to some domain users, as well as making sure the handler and management services are running, but when they try to run msdeploy from a remote workstation they keep getting unauthorized. I am an admin on the server, and it works for me, but the idea is to give non-admin publishing rights to others. I gave them permissions to the folders themselves and still nothing. I finally opted to add them to the Admin Group. It worked then. For obvious reasons, this is not the way we want it to go.  I'm not sure what I am doing wrong, what else can I do? Does it have anything to do with the fact that installs are all over the place? One such example is:

msdeploy.exe /verb:getsysteminfo /source:webserver,computerName="https://server:8172/msdeploy.axd?site=SiteName",username=domain\username,password=pass123,authType=basic -allowUntrusted=true

Like I said, works for me, an admin, but despite all the rights I've given other users, it still won't let them access it.  Any help is greatly appreciated.

UPDATE:

I edited my question as I found the solution in a an old blog from 2011, that led to an MSDN page:

"You can optionally enable users to authenticate with the Web Management Service using NTLM. To do this, update the registry on the server by adding a DWORD key named "WindowsAuthenticationEnabled" under HKEY_LOCAL_MACHINE\Software\Microsoft\WebManagement\Server, and set it to 1. If the Web Management Service is already started, the setting will take effect after the service is restarted."

The problem is that I am making a registry change.  I try to avoid regedit if at all possible.  There is a "msdeploy.exe.config" file in "C:\Program Files\IIS\Microsoft Web Deploy V3".  Is this something that could be edited to enable NTLM authentication?  The example file provided with the install does not give some clarity on this topic.

Migrating only one website

$
0
0

We have a 2003 web server with several websites and I plan on migrating all of them to 2012 R2. I plan on using Web Deploy. For testing purposes, I would like to migrate just one site to and see how it works. I've been searching throughout this site and others, trying to find the correct command to use for just one site. 

Viewing all 663 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>