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

MSdeploy with dbSqlPackage without rollback

$
0
0

please help.

Is there some way to deploy database from package without rollback sql-script transaction if fail?

Clarify: I want to deploy DB from script file using dbSqlPackage provider. During deploy I have some errors in my script. So I need to debug where is the problem in my script file. Problem is that after fail in deploying  all the changes in Database are rolled back. Is there some parameter in msdeploy that dont roll back during deploy? 


Incorrect syntax when deployind using msdeploy dbsqlPackage provider

$
0
0

Very strange issue, I can not understand.

Please help.

I am deploying DB from package using msdeploy. In the package in script file i put only one query: 

insert [sometable].[somename] ([id], [text]) values (1, N'create schema [name]
go
')

After running the deploy command sync I recive the error: 

Error: Unclosed quotation mark after the character string 'CREATE SCHEMA [name]'.
Incorrect syntax near 'CREATE SCHEMA [name]'.
Error count: 1.

If I execute this query directly from SQL Management Studio it is fine.

Where is the problem?



Web Deploy Logs an Error in Windows Event Viewer

$
0
0

We're making use of Microsoft Web Deploy v3 for deploying our websites to our customers.

We're using the getSystemInfo feature of Web Deploy for connectivity check in remote deployment scenarios.

If the getSystemInfo call returns an xml with the target system properties, means that the connectivity is established and the user is an administrator in that particular machine.

This is where we're facing an issue. Eventhough the getSystemInfo call returns the system properties xml without any error, an Event Log of type Error is logged in the Windows event viewer .

This occurs in the following versions of Web Deploy: v2.1, v3.0 and v3.5. Only difference is the stack trace in Event Log.

The details of the error, as in the event log, is described below (took from Windows 7 SP1):

with Microsoft Web Deploy v3.0 and v3.5:

User: Client IP: 172.26.8.237:80 Content-Type: Version: 9.0.0.0 MSDeploy.VersionMin: 7.1.600.0 MSDeploy.VersionMax: 9.0.1631.0 MSDeploy.Method: GetPackage MSDeploy.RequestId: 3e823066-6387-4861-a86d-05083c910dc3 MSDeploy.RequestCulture: en-US MSDeploy.RequestUICulture: en-US ServerVersion: 9.0.1631.0 Skip: objectName="^configProtectedData$" Provider: webServer, Path:

A tracing deployment agent exception occurred that was propagated to the client. Request ID '3e823066-6387-4861-a86d-05083c910dc3'. Request Timestamp: '8/7/2013 5:45:06 PM'.

Error Details: System.Net.HttpListenerException (0x80004005): The specified network name is no longer available    at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size)    at System.IO.BufferedStream.Write(Byte[] array, Int32 offset, Int32 count)    at System.IO.BinaryWriter.Write(Int64 value)    at Microsoft.Web.Deployment.PackageSerializer.UnsafeSerializeSingleObject(DeploymentObject obj, Int32 parentId)    at Microsoft.Web.Deployment.PackageSerializer.SerializeSingleObject(DeploymentObject obj, Int32 parentId)    at Microsoft.Web.Deployment.PackageSerializer.SerializeChildrenSyncFirst(SerializeObjectContext objectContext)    at Microsoft.Web.Deployment.PackageSerializer.SerializeChildrenSyncFirst(SerializeObjectContext objectContext)    at Microsoft.Web.Deployment.PackageSerializer.SerializeChildrenSyncFirst(SerializeObjectContext objectContext)    at Microsoft.Web.Deployment.PackageSerializer.SerializeChildrenSyncFirst(SerializeObjectContext objectContext)    at Microsoft.Web.Deployment.PackageSerializer.SerializeChildrenSyncFirst(SerializeObjectContext objectContext)    at Microsoft.Web.Deployment.PackageSerializer.SerializeChildrenSyncFirst(SerializeObjectContext objectContext)    at Microsoft.Web.Deployment.PackageSerializer.SerializeChildrenSyncFirst(SerializeObjectContext objectContext)    at Microsoft.Web.Deployment.PackageSerializer.SerializeChildrenSyncFirst(SerializeObjectContext objectContext)    at Microsoft.Web.Deployment.PackageSerializer.SerializeChildrenSyncFirst(SerializeObjectContext objectContext)    at Microsoft.Web.Deployment.PackageSerializer.SerializeChildrenSyncFirst(SerializeObjectContext objectContext)    at Microsoft.Web.Deployment.DeploymentAgent.HandleGetPackage(DeploymentAgentWorkerRequest workerRequest)    at Microsoft.Web.Deployment.DeploymentAgent.HandleRequestWorker(DeploymentAgentAsyncData asyncData)    at Microsoft.Web.Deployment.DeploymentAgent.HandleRequest(DeploymentAgentAsyncData asyncData)

with Microsoft Web Deploy v2.1:

User: Client IP: 172.26.8.200:80 Content-Type: Version: 8.0.0.0 MSDeploy.VersionMin: 7.1.600.0 MSDeploy.VersionMax: 7.1.1070.1 MSDeploy.Method: GetPackage MSDeploy.RequestId: 76ebc861-36c1-48d5-85f8-fc4d57c40d54 MSDeploy.RequestCulture: en-US MSDeploy.RequestUICulture: en-US Skip: objectName="^configProtectedData$" Provider: webServer, Path:

Tracing deployment agent exception. Request ID '76ebc861-36c1-48d5-85f8-fc4d57c40d54'. Request Timestamp: '8/7/2013 2:55:13 PM'.

Error Details: System.Net.HttpListenerException: An operation was attempted on a nonexistent network connection    at System.Net.HttpResponseStream.Dispose(Boolean disposing)    at System.IO.Stream.Close()    at System.IO.BufferedStream.Dispose(Boolean disposing)   at System.IO.Stream.Close()    at Microsoft.Web.Deployment.PackageSerializer.Dispose()    at Microsoft.Web.Deployment.DeploymentAgent.HandleGetPackage(DeploymentAgentWorkerRequest workerRequest)    at Microsoft.Web.Deployment.DeploymentAgent.HandleRequestWorker(DeploymentAgentAsyncData asyncData)    at Microsoft.Web.Deployment.DeploymentAgent.HandleRequest(DeploymentAgentAsyncData asyncData)

Kindly help us to resolve the issue.

Any troubleshooting tip would be appreciated.

Missing Management Service Delegation icon

msdeploy sync file incrementally

$
0
0

Is there any way to make an incremental sync of a file using msdeploy?
I thing that when comparing directories, complete files with changes are sync, but not only those changes (incremental changes).
In my case, I need to make small changes to many files (for example, if I change 100 files from 1MB each one, I have to update those 100 MB using msdeploy?).

Does dbDACFx provider support SqlCommandVariable parameters?

$
0
0

Hi

I have been playing around with the dbDACFx provider to deploy databases based on the output from my SSDT project (a dacpac file), instead of using the $(IntermediateOutputPath)AutoScripts\MyDb_IncrementalSchemaOnly.dacpac which can be generated for my. 

I have tried to use the Parameters.xml file to set custom deploy parameters but when using the the following xml I am a bit lost:

<parameter name="Service Account" description="Please provide a service account" defaultValue="Test" tags="">
<parameterEntry kind="SqlCommandVariable" scope="<which file to use here?>" match="ServiceAccount" />
</parameter>

What file do I use as scope? As I see it, it makes no sense to use the dacpac file, since it is some binary format. How can I instruct ms deploy to pass the parameters on to the DACFx framework so when it deploys the dacpac the sqlcmdvars have been correctly set?

How to set WMSvc trace levels with Web Deploy 3.5

$
0
0

Hi, I just upgraded to Web Deploy 3.5 and I'm hoping to use WMSvc tracing to get a list of transferred files.   Is this possible?  If so, what trace level would be required?  Also I hope to debug an intermittent problem with "socket errors".  I found a link that describes WMSvc tracing but it applies to MSDeploy v1:  http://technet.microsoft.com/en-us/library/ff729437(v=ws.10).aspx   Should I follow the instructions for setting trace level, except change

reg add "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\1" /v EnabledTraceLevel /t REG_DWORD /d 2 /f

to

reg add "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\3" /v EnabledTraceLevel /t REG_DWORD /d 2 /f   ?

Thank you.

problem about sync using webdeploy

$
0
0

Hi Guys,

I have several IIS7.5 AP Servers using Anonymous Authentication ,and  installed webdeply to sync IIS Configuration and contents from one to others :

msdeploy -verb:sync -source:apphostconfig="Default Web Site" -dest:apphostconfig="Default Web Site",computername=server02

msdeploy -verb:sync -source:appPoolconfig="ASP.NET v4.0" -dest:appPoolconfig="ASP.NET v4.0",computername=server02 

msdeploy -verb:sync -source:webServer -dest:webServer,computername=server02

It will get successful results, not need validation or password .

But there is a risk: if another person also build an IIS7.5 AP Server,he also can sync the configuration and contents to/from my Server not need validation ,Like:

msdeploy -verb:sync -source:webServer -dest:webServer,computername=server02

How to avolid this problem? Thanks a lot~!


Web Deploy to IIS 7 with Pass-through authentication

$
0
0

Note: This is a cross-post from: http://serverfault.com/questions/254326/web-deploy-to-iis-7-with-pass-through-authentication
I thought that forums.iis.net might have more specialized knowledge on the topic.  Any help is much appreciated!

<div class="post-text">

After much trial and error configuration, I'm currently able to script msdeploy.exe to deploy a package built in Visual Studio 2010 to a remote server running IIS 7.5 with a command line like:

Basic authentication command:

msdeploy -source:package="project.zip"
-dest:auto,computerName='https://webserver:8172/MsDeploy.axd',authtype='Basic',username='DOMAIN\myuser',password='xxx',includeAcls='False'
 -verb:sync -setParamFile:"SetParameters.xml" -allowUntrusted

Can I eliminate the need to provide a password in the command line by enabling pass-through authentication? The Web Deploy docs mention the authType parameter that can specify 'NTLM', instead of Basic. However, whenever I try this (see example below), I get an error indicating a 401. The WMSvc web log shows a 401.2 and no userid is populated in that log entry, unlike previous attempts using Basic authentication do actually show the DOMAIN\myuser in the web log. No other useful information is found in event viewer of either client or server.

Note: The target webserver is on another domain, so I establish a token with:

net use \\webserver /u:DOMAIN\myuser

Pass-through authentication command attempt:

msdeploy -source:package="project.zip" 
-dest:auto,computerName='https://webserver:8172/MsDeploy.axd',authtype='NTLM',includeAcls='False'
 -verb:sync -setParamFile:"SetParameters.xml" -allowUntrusted

It seems msdeploy.exe is not properly authenticating with IIS at the HTTP level. What could be wrong?

Client is Windows XP, Server is Win2008R2. Both are running msdeploy.exe version 7.1.618.0. Both have .NET 2.0, 3.5, and 4.0 installed.

</div>

 

AppPoolConfig & IIS Management Delegation

$
0
0

I am trying to read the app pool configuration from a remote IIS 8 server with IIS management delegation active. This works fine when the IIS site and the application pool have the same name:

msdeploy.exe" -verb:dump -xml -source:apppoolconfig="MySite",wmsvc="https://MyServer:8172/msdeploy.axd?site=MySite",authType="basic",username="DeploymentUser",password="******" -allowUntrusted -verbose

However, when the site and the application pool have different names command fails with an error:

msdeploy.exe" -verb:dump -xml -source:apppoolconfig="MyAppPool",wmsvc="https://MyServer:8172/msdeploy.axd?site=MySite",authType="basic",username="DeploymentUser",password="******" -allowUntrusted -verbose

Error Code: ERROR_USER_NOT_AUTHORIZED_FOR_DEPLOYMENTPROVIDER

Error: Object of type 'appPoolConfig' and path 'MyAppPool' cannot be created.

I presume this is because I have not set-up the management service delegation rule correctly, but I cannot figure out what the settings should be. This is the rule that I have:

Providers = appPoolConfig
Actions = *
Path Type = Path Prefix
Path = {userScope}
Identity Type = "Specific User" (who is a local admin)

"DeploymentUser" (used in the msdeploy.exe calls above) is assigned to this rule.


Could anyone please explain what I am doing wrong?

Msdeploy.exe converting datetime format differently on each computer.

$
0
0

I'm really pulling my hair out on this one.

I have two computers - my workstation with windows 8 and a local server with windows server 2012.

When i run this command on my workstation: msdeploy -verb:sync -source:dbFullSql='Data Source=\\RemoteServerPath\App_Data\Database.sdf' -dest:dbFullSql='C:\SqlData.sql'
It creates the sql file smoothly no problems there.

When i run the same command on the server and on the same file: msdeploy -verb:sync -source:dbFullSql='Data Source=C:\ServerPath\App_Data\Database.sdf' -dest:dbFullSql='C:\SqlData.sql'
It creates the sql file, true, but the difference is in what is in the file.

In the first file i created it formated the dates like this: 2013-08-04T21:53:10.540
But on the server it formats the dates like this:  2013-08-04 21:53:10.540

I don't understand why it does that. I'm running the same version of Web Deploy v3.
There must be something that is set up differently somewhere, but i have no clue what to look for.

Any help would be greatly appreciated.

Web Deploy authentication context accessing web site folders?

$
0
0

I'm trying to deploy to a high-availability configuration: 2 Windows 2003/IIS 6.0 servers behind a load balancer. The Virtual Directory definitions both point to the same NAS share via a UNC address. MSDeploy connects to the first server, gets the UNC address then fails authenticating access to the NAS folders. MSDeploy is being run by a workflow engine using an Active Directory ID. That ID is in the Administrators group for both web servers and has update authority to the NAS folders. I've logged into the web servers using the ID and can access the folders from the web servers by using Start->Run and specifying the UNC path.

Here are the messages from MSDeploy:

d:\build\agent3\bi_hartsource_mmaccountscore\Microsoft_Deploy_Web_App\trunk>"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package=MMAccountScoreToSiebel.zip -dest:auto,computerName=AD1HFDS7IF901 -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParamFile:"MMAccountScoreToSiebel.SetParameters.xml" 2>MMAccountScoreToSiebel.deploy.log

Info: Using ID '7abfef93-1554-44cf-9ecf-80f326e88167' for connections to the remote server.

Info: Adding sitemanifest (sitemanifest).

Info: Adding virtual path (Default Web Site/MMAccountScore)

Info: Adding directory (Default Web Site/MMAccountScore).

d:\build\agent3\bi_hartsource_mmaccountscore\Microsoft_Deploy_Web_App\trunk>type MMAccountScoreToSiebel.deploy.log

Error Code: ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER

More Information: Unable to perform the operation ("Create Directory") for the specified directory ("\\ad1.prod\HIG\BusIns\HS\INT\HSIF\MMAccountScore"). This can occur if the server administrator has not authorized this operation for the user credentials you are using. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER.

Error: The error code was 0x80070005.

Error: Access to the path '\\ad1.prod\HIG\BusIns' is denied.

Error count: 1.

Does the Web Deploy Agent on the web server use the context of the ID which executed the MSDeploy command to access the folders that are behind the Virtual Directory? Is additional configuration of Web Deploy required? There isn't much doc I can find on configuring Web Deploy on Windows 2003/IIS 6.0 other than putting the ID of the remote requester into the Administrators group...

msdeploy issue

$
0
0

 I have a development machine, a Web Server, and a File Server.  My Web Server is hosting a website on a share from a File Server.  Previously when I had all these machines on a domain, I was able to publish directly from VS 2010 on the development machine.  Now that I have removed the domain, I am getting:

Error 3 Web deployment task failed.((2/11/2012 6:14:15 PM) An error occurred when the request was processed on the remote computer.)

(2/11/2012 6:14:15 PM) An error occurred when the request was processed on the remote computer.
An error was encountered when processing '\\Spike\Website\Applications\CallbackASPApp'.
Logon failure: unknown user name or bad password.
  0 0 CallbackASPApp

I have updated the Web Server to use the new credentials when accessing the share on the File Server.  The website is functioning properly, but I cannot publish successfully. I don't know which user/pass it's trying to use that's generating the error above.  I've even granted Everyone to both the security and share of the web folder on the File Server to no avail.  The credentials I'm supplying match an Administrator account on the Web Server.

 Any suggestions to help me troubleshoot?

Migrating IIS 6 to IIS 8

$
0
0

1. I have a Windows Server 2003 machine with IIS 6 which currently holds everything. I need to migrate everything to a Windows Server 2012 machine with IIS 8. Will using the same set of instructions as migrating to IIS 7 work? Such as the instructions from this site..

http://technet.microsoft.com/en-us/library/ff633422%28v=ws.10%29.aspx

2. My second question. Will using the Web Deploy utility remove everything that is on the old server or will everything be on the old server as well as the new server once I use this utility and migrate everything?

Thanks for the help.

An issue about Web Deploy iisApp Provider

$
0
0

Hey,

  I met an issue when I use webdeploy to sync an application under website .

the env as follows:

two Windows Server 2008 R2 IIS Server named Server1 & Server2.

each Server has one Web Site named Site1 and a lot of applications under the site1.

one day I add an application "app1" (The phyiscal path is c:\inetsrv\Site1\SM\app1\,add to Application Pool “Pool1",.net framework  2.0) on Server1.

( there are two application pools named "pool1" & "Pool2" .net framework2.0 on Server1 & Server2).

I want to using web deploy to sync it to Server2:

msdeploy -verb:sync -source:iisApp="Site1/app1" -dest:iisApp="Site1/app1",computername=Server2 

The command is successful and the application name is ok under Site1,but the physical path & application pool are different from Server1.

it changed,the phyiscal path is c:\inetsrv\Site1\root\app1\ and application pool is "Pool2" .net framework 2.0)

How I can keep the same physical path and application pools on server2 after sync?

May I need to append some argments or change other command?

Really need your help,Thanks a lot!!


SoapHttpClientProtocol web call timed out on System.Net.ConnectStream.Read

$
0
0

I have SoapHttpClientProtocol calling web service from a .Net stand alone application. I set the Timeout property be 10 seconds and I experienced the timed out after about 5 minutes, this is the exception log

System.InvalidOperationException: There is an error in XML document (1, 293). ---> System.Net.WebException: The operation has timed out.
at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
at System.Xml.XmlTextReaderImpl.ReadData()
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlReader.ReadElementString()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderLightstreamerSyncService.Read5_GetIdsToNotifyResponse()
at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer8.Deserialize(XmlSerializationReader reader)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)


System.Net.WebException: The operation has timed out.
at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
at System.Xml.XmlTextReaderImpl.ReadData()
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlReader.ReadElementString()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderLightstreamerSyncService.Read5_GetIdsToNotifyResponse()
at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer8.Deserialize(XmlSerializationReader reader)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

any ideas what's going wrong here?

Regarding an appropriate place on the forum

$
0
0

Hello all,

I have a questionm. Is there an appropriate place to file feature requests? I am sorry if I am asking in a wrong thread so please bare with me and be kind.

Best regards,
Aaron

Web Deploy, Management Service Delegation, recycleApp, works with IIS Users but not with Domain Users

$
0
0

Hi

I have successfully setup delegation in IIS 7.5 / Windows 2008R2 for application pool recycling using an IIS user by specifying the username and password on the msdeploy commandline: 

msdeploy.exe -verb:sync -source:recycleApp -dest:recycleApp="My Services",wmsvc=MyHostName,username=recycler,password=******,recycleMode="RecycleAppPool",authType=basic -allowUntrusted

In the delegation rule I have defined  '*' to allow all users to execute this rule. On the site level I have added the appropriate IIS User (recycler) to the IIS Manager Permissions and all is fine.

Then I have added a domain user to the IIS Manager Permissions on site level and was using the following command (logged in as the specified domain user) 

msdeploy.exe -verb:sync -source:recycleApp -dest:recycleApp="My Services",wmsvc=MyHostName,recycleMode="RecycleAppPool",authType=ntlm -allowUntrusted

Now I am getting unauthorized error:

Error Code: ERROR_USER_UNAUTHORIZED

I have restarted wmsvc, etc, but I am not able to find out why this does not work. wmsvc is enable for both local and windows users.

Many thanks

 

Deployment API and Application Pool Recycling with WMSVC

$
0
0

Hi all

I am successfully using the Web.Deployment API for application pool recycling, the code is attached here:

class Program {

        private static void Main(string[] args) {

            ServicePointManager.ServerCertificateValidationCallback = (s, c, chain, err) => true;

            var syncOptions = new DeploymentSyncOptions();
          
            var destBaseOptions = new DeploymentBaseOptions {
                AuthenticationType = "ntlm",
                UseDelegation = true,
                ComputerName = "MyServer",
            };

            var providerOptions = new DeploymentProviderOptions(DeploymentWellKnownProvider.RecycleApp);
            providerOptions.ProviderSettings["recycleMode"].Value = "RecycleAppPool";
            providerOptions.Path = "My Services";
            try {
                using (var depObject = DeploymentManager.CreateObject(providerOptions, destBaseOptions)) {
                    try {
                        var summary = depObject.SyncTo(DeploymentWellKnownProvider.Auto, string.Empty, destBaseOptions, syncOptions);
                        Console.WriteLine("Total Changes: {0}",summary.TotalChanges);
                    }
                    catch (Exception e) {
                        Console.WriteLine(e.Message);
                    }
                }
            }
            catch (Exception e) {
                Console.WriteLine(e.Message);
            }
        }
    }

This code basically correlates to the following commandine:

msdeploy.exe -verb:sync -source:recycleApp -dest:recycleApp="My Services",computerMame=MyServer,recycleMode="RecycleAppPool",authType=ntlm -allowUntrusted

This is perfectly ok for someone with Administrative priviledges. Since I have setup the server for delegation, I would like to rewrite the C# code above to correlate to this commandline, using the web deployment agent:

msdeploy.exe -verb:sync -source:recycleApp -dest:recycleApp="My Services",wmsvc=MyServer,recycleMode="RecycleAppPool",authType=ntlm -allowUntrusted

So far I have not found out, how I need to specify the wmsvc=MyServer option in C#. 

Any help appreciated.

Thanks





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
Viewing all 565 articles
Browse latest View live


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