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

The account 'ClancyCom2' does not appear to be valid. The account was obtained from this location: 'setAclAccess'.

$
0
0

Dear WebDeployers,

I am getting this error using the Web Deploy Wizard in Visual Studio Ultimate 2013.

Note that "ClancyCom2"  is the name of the application pool on the remote machine  which is being used by the destination web site. I believe that is what I should be granting folder permission to on the remote machine.  I have set up a ClancyCom2.wpp.targets file to configure the setting of permissions on that remote machine. 

Here is the error:

Error 22 Web deployment task failed. ((10/30/2014 5:36:20 PM) An error occurred when the request was processed on the remote computer.)

(10/30/2014 5:36:20 PM) An error occurred when the request was processed on the remote computer.The account 'ClancyCom2' does not appear to be valid. The account was obtained from this location: 'setAclAccess'. Some or all identity references could not be translated.    at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)    at System.Security.Principal.NTAccount.Translate(Type targetType)    at Microsoft.Web.Deployment.Impersonator.GetNTAccount(String userName, String source)  0 0 ClancyCom2

There is a similar error in the event log of the remote server.

Strangely I had this working and I do not know what I have changed.

I do not understand why it thinks that 'ClancyCom2' is not a valid account ? Should an Application Pool be viewed as a "valid account" ?

Any help would be appreciated.

Thanks

Terry Clancy


Web Deploy package: Differentiate between a Web deploy package and a normal *.zip file

$
0
0

I could see that the web deploy packages has *.zip extension. I can even have normal zipped package with this extension. How to determine that a package is valid Web Deploy Package?

I know that there are some configuration files in the package like parameters.xml, archive.xml and systemInfo.xml. But none of these are really mandatory for a Web deploy package. So is there any other way using web deploy API's to determine whether it is a valid Web Deploy Package?

Web Deploy Package : archive.xml file

$
0
0

Hi,

I have created a webdeploy package and it contains archive.xml file. I could see that it contains various tags like metaProperty, metaKey, rootWebConfig32, machineConfig32. 

I would like to fetch all useful information from this file. Unable to understand anything from this file.

Can someone tell me the significance of this file and its contents?

Sample contents:

<sitemanifest MSDeploy.ObjectResolver.createApp="Microsoft.Web.Deployment.CreateApplicationObjectResolver" MSDeploy.ObjectResolver.dirPath="Microsoft.Web.Deployment.DirPathObjectResolver" MSDeploy.ObjectResolver.filePath="Microsoft.Web.Deployment.FilePathObjectResolver">
<iisApp path="C:\Users\TT\documents\visual studio 2012\Projects\WebDeployEX\WebApp\obj\Release\Package\PackageTmp" MSDeploy.path="2" MSDeploy.MSDeployLinkName="Child1" MSDeploy.MSDeployKeyAttributeName="path" MSDeploy.MSDeployProviderOptions="H4sIAAAAAAAEAE2QwU/CMBTGh0KV6IWD9/0ByzIYoDHhQICTURdENLGXbn1oYWubtZ3hr9fXiOg7fO9L+9rf1watIAi+sHz3dXmC8nYviloZtbHxJ+QxB12qfQXSRuEaaiOUnFzH/TiJkyicudK6GiYSnK1ZGYWZy0tR3MF+pXYgJ2k/36Q3ozHj6XgI6ajjSYM/wAsC5kfAP5vVqhEc6kdtEWjaPpw+rD2wCtqa2Y+ORGdIw0oHptUixMcnp16EMFOtiT8nZ7f02WBymtWMA+h4+jRfrClXhfMoQxthHCtDYx0XKhwk/QGOqi0UuIcJf1ItXr3HS6nKt3QJJTADNGPFjr0f+6rS3Q4yuwSl551/MDlDuaqYxAm+dNKKCg5f2SO/M+co7WYYJxffib/OIJcBAAA=">
<createApp path="C:\Users\TT\documents\visual studio 2012\Projects\WebDeployEX\WebApp\obj\Release\Package\PackageTmp" MSDeploy.path="2" isDest="AA==" MSDeploy.isDest.Type="Microsoft.Web.Deployment.DeploymentObjectBooleanAttributeValue" managedRuntimeVersion="v4.0" MSDeploy.managedRuntimeVersion="2" enable32BitAppOnWin64="" MSDeploy.enable32BitAppOnWin64="2" managedPipelineMode="" MSDeploy.managedPipelineMode="2" applicationPool="" MSDeploy.applicationPool="1" appExists="True" MSDeploy.appExists="1" MSDeploy.MSDeployLinkName="createApp" MSDeploy.MSDeployKeyAttributeName="path" />
<contentPath path="C:\Users\TT\documents\visual studio 2012\Projects\WebDeployEX\WebApp\obj\Release\Package\PackageTmp" MSDeploy.path="2" MSDeploy.MSDeployLinkName="contentPath" MSDeploy.MSDeployKeyAttributeName="path" MSDeploy.MSDeployProviderOptions="H4sIAAAAAAAEAE2Q307CMBTGh7ImBG94gz0AWTYmaEy4IMCVURdFNLE33XbQQdc2/TPC0+tpXNBz8Z0v7Tn9fWnQC4LgG8t3X1cXKB8PdamlkTsbH6GIK1BcnhoQdhxtQZtaivlNnMZJnIyjpePWaZgLcFYzPo5yV/C6vIfTRh5AzLO02GW30xmrstk1ZNPQkyZ/gDcErM6AfzbXsq0r0E/KItD0fTjVnT2yBvqK2a9QoDOkZdyB6fUI8fHJJcqwlML6Z3CK+GWxvKOvBuPTXLMKQMWLl9V6SytZOs8ztK2NYzwy1lW1jCZJOsFRuYcS7zDmb7T1u/cLpags9vQZODADNGflgX2e+6ZRgxCZA4IyCru/HZHODH8AQWQJLXcBAAA=">
<MSDeploy.dirPath path="C:\Users\TT\documents\visual studio 2012\Projects\WebDeployEX\WebApp\obj\Release\Package\PackageTmp" MSDeploy.MSDeployLinkName="contentPath" />
</contentPath>
</iisApp>
<setAcl path="C:\Users\TT\documents\visual studio 2012\Projects\WebDeployEX\WebApp\obj\Release\Package\PackageTmp" MSDeploy.path="2" isDest="AA==" MSDeploy.isDest.Type="Microsoft.Web.Deployment.DeploymentObjectBooleanAttributeValue" setAclUser="" MSDeploy.setAclUser="1" setAclAccess="Read" MSDeploy.setAclAccess="1" MSDeploy.MSDeployLinkName="Child2" MSDeploy.MSDeployKeyAttributeName="path" MSDeploy.MSDeployProviderOptions="H4sIAAAAAAAEAE2P3U4CMRCFF4Uq0Rt8gn0AsgFW0JhwQYArom4Q0cTedLuDFsq26c+afXqdBkXn4sxJO5PvTNSIougLK/RQlycob/eCG2XVxiWfkCcFaKnqPZSuG6/BWKHK8U3ST3pJrxtPvXTewLgE7wyT3TjzuRR8AfVK7aAcp/18k94OR6xIR9eQDluBNPgDvCBgdgT8s5lRlSjAPGqHQNsM4fTP2wPbQ1Mz99Eq0VlSMenBNhqEhPjkNIgFN+GShL1yekefLSanmWEFgE4mT7P5mhaK+4CytBLWMxlb5wuh4kGvP8BRtQWOf5jwkGr+GvxEa6ryLV2CBGaBZozv2Puxr/a63UJmm6B0ggsHkzOUq0OkJVjlDYdVraFDfgfOw85MGEQqU198AxP1n/SZAQAA" />
<setAcl path="C:\Users\TT\documents\visual studio 2012\Projects\WebDeployEX\WebApp\obj\Release\Package\PackageTmp" MSDeploy.path="2" isDest="AA==" MSDeploy.isDest.Type="Microsoft.Web.Deployment.DeploymentObjectBooleanAttributeValue" setAclUser="anonymousAuthenticationUser" MSDeploy.setAclUser="1" setAclAccess="Read" MSDeploy.setAclAccess="1" MSDeploy.MSDeployLinkName="Child3" MSDeploy.MSDeployKeyAttributeName="path" MSDeploy.MSDeployProviderOptions="H4sIAAAAAAAEAE2QT08CMRDFF4VV0ItevewHIBtgBY0JBwKcjLpBRBP30u0OUui2Tf9g9tPrFBSdw+ubttP3S4NaEARfWH71dX6E8v7AqJZGLm38CXlcgOKyKkHYdrQAbZgUw5u4G3fiTjsaO26dhqEAZzXh7Sh1OWf0Hqq53IAYJt18mdz2B6RIBteQ9Bs+qfcX8IoBk0PAP5tquWUF6CdlMdDUPZz62XskJdQVsauGQGfCLeEOTK0Whh4/PPZiwI4oD/2cGN9lLwbJs1STAkDFo+fJdJEVkjofZbItM47wyFhXMBn1Ot0eXpVroHiGhHuq6Zv3I6Uyma+zGXAgBrKU0A35OKzzUjUbmNkMUS682yGdoLT2SJ4kPMX+ct/PwEinKcwrBRfh70AT5YoIKapSOjNydoWgjBL/GbsXWj5kwjQySl2dfQNhZXh+ygEAAA==" />
</sitemanifest>

<metaKey path="ROOT" MSDeploy.path="2" setProperties="3001,6016,2104,6000,2102,9101,2103,1002" MSDeploy.setProperties="1" MSDeploy.MSDeployKeyAttributeName="path" MSDeploy.MSDeployProviderOptions="H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In6NX/PX+DV+jf/7//6//2/8xP9+o1/r1/g1fo3vfVFM66qpztvxVT4Zz/JVWV0v8mU7Sn8yr5uiWn72YLw73hnvjNKTddmu6/yzZb5u66wcpS/Xk7KY/l759Zvqbb787N7u5Pzewf1Ps9m9T/fze/d/XfS05zr4LnXw1Hbg/fqyri6LWV5/uWqpw+bX+TV+jV/jN1rpZy+yRf7rrLJ2/usus0Xe/HqXWbnOm1/z1/z1fj2g/+v92r/Gr/Fr/PqLvM1+r/z618OLSbm4e3WvuZze3f2xX/fX+DV+jR/79X6NX+PX+M3xG/73m+Mv/O83/H8AtQP0xQ8BAAA=">
<metaProperty name="Path" propertyId="3001" attributes="Inherit" userType="2" dataType="String" value="C:\inetpub\wwwroot" MSDeploy.value="8" MSDeploy.MSDeployKeyAttributeName="name">
<MSDeploy.dirPath path="c:\inetpub\wwwroot" MSDeploy.MSDeployLinkName="Microsoft.Web.Deployment.ContentExtension" />
</metaProperty>
<metaProperty name="AccessFlags" propertyId="6016" attributes="Inherit" userType="2" dataType="DWord" value="513" MSDeploy.value="8" MSDeploy.MSDeployKeyAttributeName="name" />
<metaProperty name="AppIsolated" propertyId="2104" attributes="Inherit" userType="100" dataType="DWord" value="2" MSDeploy.value="8" MSDeploy.MSDeployKeyAttributeName="name" />
<metaProperty name="AuthFlags" propertyId="6000" attributes="Inherit" userType="2" dataType="DWord" value="5" MSDeploy.value="8" MSDeploy.MSDeployKeyAttributeName="name" />
<metaProperty name="AppFriendlyName" propertyId="2102" attributes="Inherit" userType="100" dataType="String" value="Default Application" MSDeploy.value="8" MSDeploy.MSDeployKeyAttributeName="name" />
<metaProperty name="AppPoolId" propertyId="9101" attributes="Inherit" userType="1" dataType="String" value="DefaultAppPool" MSDeploy.value="8" MSDeploy.MSDeployKeyAttributeName="name" />
<metaProperty name="AppRoot" propertyId="2103" attributes="Inherit" userType="2" dataType="String" value="/LM/W3SVC/1/ROOT" MSDeploy.MSDeployKeyAttributeName="name" />
<metaProperty name="KeyType" propertyId="1002" attributes="None" userType="1" dataType="String" value="IIsWebVirtualDir" MSDeploy.value="8" MSDeploy.MSDeployKeyAttributeName="name" />
<metaKey path="aspnet_client" MSDeploy.path="2" setProperties="6016,6005,1002" MSDeploy.setProperties="1" MSDeploy.MSDeployKeyAttributeName="path" MSDeploy.MSDeployProviderOptions="H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In6NX/PX+DV+jf/7//6//2/8xP9+o1/r1/g1fo3vfVFM66qpztvxVT4Zz/JVWV0v8mU7Sn8yr5uiWn72YLw73hnvjNKTddmu6/yzZb5u66wcpS/Xk7KY/l759Zvqbb787N7u5Pzewf1Ps9m9T/fze/d/XfS05zr4LnXw1Hbg/fqyri6LWV5/uWqpw+bX+TV+jV/jN1rpZy+yRf7rrLJ2/usus0Xe/HqXWbnOm1/z1/z1fj2g/+v92r/Gr/Fr/PqLvM1+r/z618OLSbm4e3WvuZze3f2xX/fX+DV+jR/79X6NX+PX+M3xG/73m+Mv/O83/H8AtQP0xQ8BAAA=">
<metaProperty name="AccessFlags" propertyId="6016" attributes="Inherit" userType="2" dataType="DWord" value="1" MSDeploy.value="8" MSDeploy.MSDeployKeyAttributeName="name" />
<metaProperty name="DirBrowseFlags" propertyId="6005" attributes="Inherit" userType="2" dataType="DWord" value="0" MSDeploy.value="8" MSDeploy.MSDeployKeyAttributeName="name" />
<metaProperty name="KeyType" propertyId="1002" attributes="None" userType="1" dataType="String" value="IIsWebDirectory" MSDeploy.value="8" MSDeploy.MSDeployKeyAttributeName="name" />
</metaKey>

Web server/website migration from server 2003 to 2008/12

$
0
0

What are the list of common issues faced when migrating web server applications/websites from server 2003(IIS5.0) to 2008/12(IIS 7/8).

Web Deploy IIS8.1, how to setup / web deploy handler

$
0
0

Hi.

I have a question how to setup a web deploy environment in intranet with server 2012r2, iis8.5 and sql server.

I followed the instructions from this article:

http://www.asp.net/web-forms/overview/deployment/configuring-server-environments-for-web-deployment/configuring-a-web-server-for-web-deploy-publishing-(web-deploy-handler)

At the end, i wanted to have a user deploy app to a website with a sql database.

I do not find a manual how to setup web deploy that a developer can create the web app with a database.

Here is a short description how it could work http://www.iis.net/learn/web-hosting/joining-the-web-hosting-gallery/configure-site-for-web-deploy-publishing

Does somebody has some kind of manual how to setup sql, so that web deploy works and not give too much permissions to users?

Web Deploy, Registering Multiple Global Address Assemblies w/o listing them individually

$
0
0

Hi,

I'm trying to find a way to register multiple Global Assemblies using the gacinstall provider in a web deploy manifest file without having to list them individually. Is there a way to point to a folder containing all the Global Assemblies .dll's and have the gacinstall provider install them all. Maybe using a wildcard if possible.

Currently I have to list them like this:

<gacInstall path="D:\PLUS\v2_0\GlobalAssemblies\PLUS.BusinessServices.PolicyAccess.dll" />
<gacInstall path="D:\PLUS\v2_0\GlobalAssemblies\PLUS.BusinessServices.ISOClient.dll" />
<gacInstall path="D:\PLUS\v2_0\GlobalAssemblies\PLUS.BusinessServices.LOBShared.dll" />

If I have over 60 assemblies I would like to use soemthing like this:

<gacInstall path="D:\SIGI_NET\PLUS\v2_0\GlobalAssemblies\*.dll" />

or a way to have it loop through the directory, installing each dll it finds.

I'm sure it's just wishful thinking but if anyone knows of a way using WEB DEPLOY, I would appreciate the help.

Thanks,

Best method of migrating IIS to a new domain

$
0
0

Hi Folks,

I've been tasked with migrating IIS boxes to a new domain varying from version 6 to version 7.5. What is the best way to acheive this.

Thanks

J

How can I use the MSDeploy C# API to specify a destination app pool(s) during IIS6 to IIS7 migration?

$
0
0

The issue:
Hi, I'm trying to learn how to specify a destination app pool when using msdeploy c# api with the MetaKey provider to migrate an IIS6 website to an IIS7 server. I can't find any documentation that points me in the right direction or even fits this scenario.

The examples I've found all involve using the package provider to create a package and parameters.xml file etc... but based on the requirements of this projectit must be a live sync. Creating a zip package on the source and importing it to the destination will not work for this project. 

Background:
Using the MSDeploy C# API I've successfully written and tested code that will live migrate an IIS6 website to an IIS7 (or 8) server. Everything is working fine with that code. I have questions regarding how to add additional functionality to that code to specify the destination root app pool and the virtual directory app pools.

Now that I'm trying to figure out how to specify the app pools on the destination server I've run into a lack of documentation and examples that get me far enough to clearly see a path forward.

In this situation we are migrating IIS6 websites that have a root app pool and 3 virtual directories that run under yet other app pools. If I run powershell commands that dump the site so I can view the archive.xml file I see the app pools listed in the archive.xml I just haven't yet figured out how to use a DeploymentSyncParameter in order to specify new values for those app pools. 

I'm clear on how to programatically create a DeploymentSyncParameter and add it to the deployment object before the sync occurs.  I just can't seem to put it all together.

Am I heading in the right direction with DeploymentSyncParameter? I'm attempting to create a DeploymentSyncParameter as a DeploymentSyncParameterEntryKind.DeploymentObjectAttribute. I think the problem is with the Scope and Match entries perhaps? 

If there is any additional info I can provide I will be very responsive.  Not looking for someone to write the code for me but to understand if this is even possible and to understand if DeploymentSyncParameters of Kind DeploymentObjectAttribute are the way it can be accomplished.  Has anyone seem examples of this on the web?


Deploying IIS8 Site to IIS7--Error Message

$
0
0

I'm trying to deploy a site running on IIS 8 to a server running 2008 R2 and IIS 7 using Web Deploy v3.  The import keeps dying with this error:

"Child object 'customAuthorization' cannot be added to object 'security'.  The 'security' provider may not support this deployment."  

I've run dependency checks on the IIS 8 server and I have all the prerequisites roles and features installed on the destination server.  I've even tried modifying the configsettings file but web deploy won't recognize the new rule.  

Please help.

msdeploy slow to copy large files between two remote servers

$
0
0

We run msdeploy on a "deployment" server that copies web site code between different environments (development, test, production).  When we execute a msdeploy command, it will run a -verb:sync between to different servers (serverA and serverB).

The command we run looks like this:

msdeploy -verb:sync
-source:manifest=c:\manifest.xml,computername=http://serverA/WebDeploy/
-dest:manifest=c:\manifest.xml,computername=http://serverB/WebDeploy/ 

The manifest file looks like this:

<Manifest>
    <dirpath path="C:\content" />
</Manifest>

Since we've updated our deployment server to windows 2008, migrations that move large files take a very long time.

For example, moving a 300mb file in the following scenarios:

execute msdeploy.exe on serverA to push local content to serverB - 10 seconds
execute msdeploy.exe on deployment server to push local content to serverB - 1 minute
execute msdeploy.exe on deploymnet server to sync content on serverA to serverB - 7 minutes

Is there anything I can do to decrease the amount of time it takes to independently sync two remote servers from a deployment server?

WebDeploy does not work because of .net versions

$
0
0

Dear all,

I get following message, when I try to migrate my server from Win2008R2 to Win2012R2 while importing the zip file in the IIS manager

[Window Title]
Import Server or Site Package

[Main Instruction]
An error occurred when performing this operation.
    
Details:    
The versions of the .NET Framework Configuration Provider (machineConfig64) are different on the source (2.0) and destination (4.0).  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH.


[Expanded Information]
Microsoft.Web.Deployment.DeploymentDetailedException: The versions of the .NET Framework Configuration Provider (machineConfig64) are different on the source (2.0) and destination (4.0).  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH.
   at Microsoft.Web.Deployment.FrameworkMismatchRuleHandler.ThrowIfSourceAndDestVersionsDontMatch(DeploymentObject source, Version sourceVersion, Version destVersion)
   at Microsoft.Web.Deployment.FrameworkMismatchRuleHandler.ThrowIfSourceAndDestinationAttributeDontMatch(DeploymentObject source, DeploymentObject destination, String attributeName)
   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.HandleAddChild(DeploymentObject destParent, DeploymentObject sourceObject, Int32 position)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)
   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`1 syncPassId, String syncSessionId)
   at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
   at Microsoft.Web.Deployment.UI.InstallProgressWizardPage.OnWorkerDoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

[V] See details  [OK]

I already added .net 3.5 (including 2+3) to my server and changed the config file as described here, but it did not help.

Thank you all in advance

.net Framework versions error

$
0
0

Hi,

I have two servers. One runs IIS 7 on windows 2008 R2 and the other runs IIS 8 on windows 2012 R2. I have a lot of websites on the first server and I want to migrate to the new one. The servers are not in the same network, they are in different data centers. I used webdeploy to export the server package and copied the .zip file to the other server. When I import the file I get an error says the following:

The package installation failed.

Details:    
The versions of the .NET Framework Configuration Provider (rootWebConfig32) are different on the source (2.0) and destination (4.0).  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH.

In the details tab the following is written:

Microsoft.Web.Deployment.DeploymentDetailedException: The versions of the .NET Framework Configuration Provider (rootWebConfig32) are different on the source (2.0) and destination (4.0).  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH.
   at Microsoft.Web.Deployment.FrameworkMismatchRuleHandler.ThrowIfSourceAndDestVersionsDontMatch(DeploymentObject source, Version sourceVersion, Version destVersion)
   at Microsoft.Web.Deployment.FrameworkMismatchRuleHandler.ThrowIfSourceAndDestinationAttributeDontMatch(DeploymentObject source, DeploymentObject destination, String attributeName)
   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.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)
   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`1 syncPassId, String syncSessionId)
   at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
   at Microsoft.Web.Deployment.UI.InstallProgressWizardPage.OnWorkerDoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

I tried the solution in the link above but it did not work for me. Any help or suggestion is much appreciated.

Thank you.

Migrating from IIS6 to 7 or above

$
0
0

i have a good idea how to migrate from IIS6 to 7 or above. can you tell me does it remove it from the old server or clone/copy the information?

Constructor on type 'Microsoft.Web.Deployment.DeploymentReplaceRule' not found.

$
0
0

I'm trying to migrate from IIS 6 to IIS 8 using Web Deploy 3.5 and the DeploymentReplaceRule.  I assume that Microsoft.Web.Deployment.DeploymentReplaceRule is inside of Microsoft.Web.Deployment so I don't understand why it doesn't work.  I've reinstalled Web Deploy 3.5 without any success.

Can anyone help?

Here is the complete error message.

Error: An XML exception occurred.
C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe.configSettings: (line 13, position 3)
Error: The type 'Microsoft.Web.Deployment.DeploymentReplaceRule' could not be loaded. The configuration settings may not be valid.
Error: The type 'Microsoft.Web.Deployment.DeploymentReplaceRule' could not be loaded. The configuration settings may not be valid.
Error: Constructor on type 'Microsoft.Web.Deployment.DeploymentReplaceRule' not found.
Error count: 1.

Here is the msdeploy.exe.configsettings file.

<configuration>
  <linkExtensions>
    <linkExtension name="ContentExtension" enabled="false" />     <linkExtension name="CertificateExtension" enabled="true" />
    <linkExtension name="FrameworkConfigExtension" enabled="true" />     <linkExtension name="HttpCertConfigExtension" enabled="true" />
    <linkExtension name="AppPool" enabled="true" />
    <linkExtension name="AppPoolExtension" enabled="true" />
    </linkExtensions>
  <rules>
 <rule name="ReplaceIPAddressInSecureBindings40"   type="Microsoft.Web.Deployment.DeploymentReplaceRule" isDefault="true"   objectName="metaProperty" targetAttributeName="value"   match="10\.1\.1\.40:443:" replace="10.1.1.140:443:" /> </rules>

</configuration>

Here is the command line call.

msdeploy -verb:sync -source:webserver60,includeAcls=true -dest:package=NoContent.zip,encryptPassword='pwd' > NoContent.log

Windows Authentication in Migrated Website

$
0
0

We have existing websites running IIS6 on Windows 2003 Servers. These websites are for our local intranet, and use Windows Authentication.

The website applications were built with Visual Studio, and require Windows Authentication so that each user is shown the items that relate to them.

Each application begins with this snippet of code in the Page_Load event:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
  If Not IsPostBack Then
    Dim usr_nm As String = "Guest"
    If HttpContext.Current.User.Identity.IsAuthenticated Then
      usr_nm = HttpContext.Current.User.Identity.Name.Split(New Char() {"\"c})(1)
    End If
    CommonTools.SqlReadConnection = WebConfigurationManager.ConnectionStrings("SQL_CONN_STR").ConnectionString
    Dim ut_data As String = String.Format(WebConfigurationManager.AppSettings("ut9513_au_list_prod"), usr_nm)
    label1.Text = String.Format("[Debug] Username :: {0}", usr_nm)
    Dim company_list As String
    Using client As New WebClient()
      Dim objUTF8 As New UTF8Encoding()
      company_list = objUTF8.GetString(client.DownloadData(ut_data)).Trim()
    End Using
  End If
End Sub

The Username always returns the default "Guest" keyword, so no records are ever displayed.

I can't figure out how to get Windows Authentication to work on these new sites.

The new machine we got is running Windows 2008 with IIS 7.5.

The website is configured with these Authentication Settings:

IIS Authentication

What could be causing this website to NOT authenticate?

I have given both the Active Directory ASPNET account and thelocal machine's IIS User account full control over the applications.

In the Application Pool, the Process Model'sIdentity is NetworkService.

Under Basic Settings, the Physical Path is set andConnect as uses Application User (pass-through authentication).

The Advanced Settings for the applications has Physical Path Credentials Logon Type set toNetwork.

I have been trying different combinations of settings over the last couple of weeks, but nothing seems to work on this new server.

Does anyone know what I could be doing wrong?

I am a Software Developer. The Network Administrator here works on the Apache servers, so he leaves the IIS website to me.


Automatic backups with Web Deploy - Only backup virtual application not whole site?

$
0
0

Is there any way to change the automatic backups when using web deploy to only backup the virtual application that is being updated? We currently have lots of virtual applications underneath a single website in IIS, which causes the deploy time to skyrocket as it has to back up every single folder under the website.

This is using VS2013 using Web Deploy publishing.

EnableMSDeployBackup always set to false

$
0
0
Hi everybody, When I create a webdeploy profile publication in VS2012, the paramater EnableMSDeployBackup is always set to false and I need to edit the pubxlm file to set it to True. Does anyone know why this parameter is set to False et how set it to True by default ? Thanks by advance. Maxime

Web Deploy to copy application with children.

$
0
0

I am looking for the best way to use Web Deploy to migrate an application that has multiple child applications to a new website.

We have a website that hosts multiple applications that each have multiple children.  I need to copy just one of these parent applications with all its children to a different server regularly. 

Is the only way to do this using a custom manifest? 

Can the issApp provider be configured to recursively check for children?

On a related note.  Can Web Deploy be used to create a copy of an application with it's children on the same server with a different name?

Richard

Where is Web Deploy Client username list stored

$
0
0

I posted this question in the VS IDE forum and they said to post it here.

Where are these names stored?  I need to remove some.

"Error_Connection_Terminated" error

$
0
0

Hi 

I have been trying for days to try and solve this error I have posted in the troubleshooting forums and it may be worth a shot posting here to get some more exposure. I have tried everything I can think off to try and fix it but just cant solve it. has anyone came up against this before?

I am trying to deploy a test site to my localhost from the developer command prompt using MSDeploy and I am at the end of my rope trying to figure out whats causing it, the error is pretty ambiguous as to what the problem actually is. I've set privileges for the deploy folder correctly and I have restarted the Web Deployment Agent Service numerous times in the services window. I have gone over many solution's already posted on the net but to no avail as none of them deal with using the developer command prompt and instead only offer solution's by using visual studio itself.

<div class="comment-right-col">

</div>

Viewing all 565 articles
Browse latest View live