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

Unable to sync sites hosted on IIS with diferent versions

$
0
0

Hi,

I've been using Web Deployment Tool for some time, but now i have to restore an site hosted on IIS 10 to a server with IIS 7.5.

The website was running in IIS 7.5 until some weeks ago. We create a new server with IIS 10, and used msdeploy version 9.0.19730 to import the site from IIS 7.5 for IIS 10 (perfect, without any issues).

We keep the two sites running side by side (responding to diferent URL's)

Now we have some problem with the server running IIS 7.5 (unfortunately we could't upgrade the windows version on this server at this moment).

I’ve create a package with the site content in IIS 10:

 

msdeploy -verb:sync -source:webserver -dest:package=E:\IIS10.zip,encryptPassword= SOMEPASS > msdeploysync.log

 

When i try to restore it on IIS 7.5:

 

msdeploy -verb:sync -source:package=E:\IIS10.zip,encryptPassword= SOMEPASS -dest:webserver > msdeployrestore.log

Error: Child object 'customFields' cannot be added to object 'logFile'. The 'logFile' provider may not support this deployment.

Error count: 1.

 

Following  this thread: https://serverfault.com/questions/715407/customfields-error-when-using-msdeploy-to-export-import-website-between-server

I've unziped the IIS10.zip file and editted  archive.xml file removing the line with the "customFields".

Then genereted a new zip file (IIS10Edited.zip)

Now running:

msdeploy -verb:sync -source:package=E:\IIS10Edited.zip,encryptPassword= SOMEPASS -dest:webserver > msdeployrestore1.log

I received the error:

Error: Source (contentPath) and destination (webServer) are not compatible for the given operation.

Error count: 1.

 

Changing the command to:

msdeploy -verb:sync -source:package=E:\IIS10Edited.zip,encryptPassword= SOMEPASS -dest:auto > msdeployrestore1.log

 

Error Code: ERROR_SITE_DOES_NOT_EXIST

More Information: Site '.' does not exist.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SITE_DOES_NOT_EXIST.

Error count: 1.

 

Some ideas of how work aroung this problem?

Thanks in advance.

 


Failing with error 0x80070520 - A specified login session doesn't exist

$
0
0

Hello all,

I am having an issue using Web Deploy to sync two WebServers together when running the following command:

msdeploy -verb:sync -source:webServer,computername=xxx.xxx.xxx.xxx,username=<wd_user>,password=<wd_passwd> -dest:webServer,computerName=xxx.xxx.xxx.xxx,username=<wd_user>,password=<wd_passwd> -skip:file="\\.*\.tmp"

I receive the following error:

Microsoft.Web.Deployment.DeploymentException: (2/16/2018 2:14:17 PM) An error occurred when the request was processed on the remote computer. ---> System.Exception: A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520)
at Microsoft.Web.Deployment.HttpCertCommitableItem.ApplyConfiguration()
at Microsoft.Web.Deployment.HttpCertCommitableItem.CommitChanges(DeploymentCommitContext commitContext)
at Microsoft.Web.Deployment.DeploymentCommitContext.CommitChanges(DeploymentSyncOptions syncOptions, DeploymentBaseContext baseContext)
at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable`1 syncPassId, String syncSessionId)
at Microsoft.Web.Deployment.DeploymentAgent.HandleSync(DeploymentAgentAsyncData asyncData, Nullable`1 passId, String user, String siteName)
--- End of inner exception stack trace ---
at Microsoft.Web.Deployment.StatusThreadHandler.CheckForException()
at Microsoft.Web.Deployment.AgentClientProvider.RemoteDestSync(DeploymentObject sourceObject, DeploymentSyncContext syncContext, Nullable`1 syncPass, String syncSessionId)
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 MSDeploy.MSDeploy.ExecuteWorker()
Error count: 1.

Things I have tried:

  • tested Certificates on both servers with "certutil -v -store my <cert_Thumbprint>" which as far as I can tell showed they were working properly.
  • Set owners permissions of the "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" to the Administrators group.
  • exporting/importing certificates with an exportable private key.
  • Going to "http://xxx.xxx.xxx.xxx/MSDEPLOYAGENTSERVICE" on both servers and logging on with the required user accounts.
  • Reinstalling Web Deploy on the server that I feel is the issue.
  • Using the flag -allowuntrusted=true to the end of the command listed above.

Accessing https://xxx.xxx.xxx.xxx:XXXX/msdeploy.axd which loads a blank page however when I into the browser's debugger > Networking I see a 404 "File not found" error, I didn't think this was the issue but I am not sure of the default behavior.

I've spent a lot of time trying to troubleshoot this but for the life of me I can't seem to get it going, really hoping that it is something silly that I missed.

Anyone have any ideas or helpful hints?

Cheers,

_Tortoise

Skip App_Data folder from publishing.

$
0
0

Hi,

I was trying to deploy a site by skipping App_Data folder. Since I have log files which I need them.

How can I skip the folder.

I have used the following commands, it didn't help me out.

msdeploy -verb:sync -source:package=abc.Web.zip -dest:auto,computername="abc.local",username="abc",password="abc" -setParam:kind=ProviderPath,scope=iisApp,value="abc.com" -allowUntrusted

-skip:objectName=dirPath,absolutePath=.*App_Data.*,skipAction=delete

I have tried many combinations.

I appreciate if someone can help me out. thanks in advance.

WebDeploy appOfflineTemplate usage

$
0
0

According to this post, appOfflineTemplate allows me to specify a relative path to an html file. My question is, relative to what? Is it to the path that's being published to, or some other location?

Thank you

Web Deploy at app level ?

$
0
0

Hi,

Currently I have multiple applications deployed under a single web site (mysite.com/app1, mysite.com/app2 etc...). I would like now to give a 3rd party the ability to deploy to one of those applications (let's say app2) while it seems web deploy can be configured only at the site level ? (giving them the ability to deploy to any app under the site).

How could I handle this case ? For now I don't see much other solution than maybe to create a separate app2 site pointing at the same location and that would be used only for deployment... Or is there some simpler solution ?

Thanks in advance.

The underlying connection was closed: An unexpected error occurred on a send.

$
0
0

When doing Publish from Build server to Target server. We are seeing following error:

Web deployment task failed. (Could not complete the request to remote agent URL 'https://<HOSTNAME/IP>:8172/msdeploy.axd?site=<OURWEBSITE>'.)

This error indicates that you cannot connect to the server. Make sure the service URL is correct, firewall and network settings on this computer and on the server computer are configured properly, and the appropriate services have been started on the server.

Error details: Could not complete the request to remote agent URL 'https://<HOSTNAME/IP>:8172/msdeploy.axd?site=<OURWEBSITE>'.

The underlying connection was closed: An unexpected error occurred on a send.Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

An existing connection was forcibly closed by the remote host                   0              0              WEBSITENAME

We've been troubleshooting these since DAYS [Not hours] - We've read all following blogs/articles. Tried all possible solution. Bu with no luck:

We’ve tried few things like :

  1. Disable Firewall/Antivirus, Allow Port 8172
  2. Make sure Hostname/IP gets resolved
  3. Server’s IP and Port number is reachable : Yes – We verified it using Telnet and it can connect to Port 8172  and also verified Firewall rules as well – All good!
  4. Verified all Web deploy related services are fine or not – and they are fine – We tried to run Powershell script given by Microsoft in Reference Link #2 – But no luck
  5. Verified username and password are fine – They are fine – Verified it using remote desktop with those credentials
  6. Reinstalled MSDeploy on SBX – and It didn’t helped
  7. No any log entry in MS Deploy IIS Log [HEAD/POST]
  8. Tried with MSDeploy command : msdeploy.exe -verb:dump -source:iisapp="Default Web Site",computername=https://<HOSTNAME>:8172/msdeploy.axd?site=Default%20Web%20Site,username=<USERNAME>,password=<PASSWORD>,authType=basic  -verbose –whatif
  9. Fired MS deploy command from my local – as given in earlier email and monitored packets on SBX server using TCPView and netstat command

  10. Found that : TCP Packet gets sent on 8172 and status : SYNC_RCVD – and then it drops packet
  11. As I understand this is how flow works:
     - Web Management Service listens on 8172
     - If request received it calls MsDeploy.axd
      Somehow, packet gets reached to Machine – But after that it should forward it to IIS – And in turn IIS will send it to MsDeploy – And looking at log files – Packet is being dropped at machine level

References:

  1. http://stackoverflow.com/questions/12959501/web-deployment-task-failed-when-using-webdeploy-in-vs2012
  2. http://stackoverflow.com/questions/12959501/web-deployment-task-failed-when-using-webdeploy-in-vs2012
  3. http://www.iis.net/learn/publish/troubleshooting-web-deploy/troubleshooting-web-deploy-problems-with-visual-studio
  4. http://stackoverflow.com/questions/5841370/cant-get-my-ec2-windows-server-2008-web-stack-instance-to-receive-publishings
  5. http://stackoverflow.com/questions/11479927/visual-studio-2012-web-deploy-to-windows-server-2008-r2-with-iis-7-and-msdeploy
  6. http://stackoverflow.com/questions/11479927/visual-studio-2012-web-deploy-to-windows-server-2008-r2-with-iis-7-and-msdeploy

Anything obvious -- We are missing?

Web Deploy Parameters not Changing for All Servers

$
0
0

We have a continuous delivery process created using Jenkins, MSBuild, and Web Deploy. Things work beautifully when deploying to our development server, however, when I try to deploy a web deploy package using the *.deploy.cmd file on two newly configured servers the web.config changes defined in the parameters.xml file are not being applied. The rest of the deployment works great but I am seeing a message like this for every parameter that needs to change:

Verbose: Parameter entry 'config/1' could not be applied to '<path>\Package\PackageTmp\Web.config'. Deployment will continue with the original data. Details: 
Cannot set a value on node type 'Element'.

Since the transforms for the exact same package work on deployments to one server and not to the new servers, this seems like a server configuration issue but I've gone through and checked everything against Microsoft's Web Deploy install instructions and it all looks fine. I wasn't the person who originally set up Web Deploy on the working folder so I don't know what they might have done differently. I suspect this is related to permissions but the few places I can think to check were the same on both servers.

I found other questions with this error message where it was an issue with the XPath in their parameters.xml file. I don't think this is my problem because I can deploy successfully to one of my servers but here's an example from my paramters.xml and SetParams.xml files for good measure:

parameters.xml

<parameter name="config"><parameterEntry kind="XmlFile" scope="\\web.config$" match="//configuration/appSettings/add[@key='config']" /></parameter>

*.SetParameters.xml

<parameters><setParameter name="config" value="&lt;add key=&quot;config&quot; value=&quot;testing&quot; /&gt;" /></parameters>

Does anyone know how to fix this or what kind of additional permissions I will need on my new servers?

Failed to apply migration

$
0
0

Webdeploy failed to apply migration saying problem between lines "1609" and "1616" of a script

Here exactly

IF NOT EXISTS(SELECT * FROM [__EFMigrationsHistory] WHERE [MigrationId] = N'20170331103534_corporate7')
BEGIN
    CREATE UNIQUE INDEX [IX_Persons_CorporatePersonId] ON [Persons] ([CorporatePersonId]) WHERE [CorporatePersonId] IS NOT NULL;
END;

GO

error is - Invalid column name 'CorporatePersonId'

Migration 20170331103534_corporate7 already applied to DB as many other migration after it. I double checked connection string. All point to DB where 20170331103534_corporate7 applied long time ago

Full error

Severity    Code    Description    Project    File    Line    Suppression State
Error        Web deployment task failed. (Ошибка при выполнении сценария базы данных. Ошибка произошла между следующими строками сценария: "1609" и "1616". Дополнительные сведения могут содержаться в подробном журнале. Начало команды следующее:
"IF NOT EXISTS(SELECT * FROM [__EFMigrationsHisto"
 Invalid column name 'CorporatePersonId'. http://go.microsoft.com/fwlink/?LinkId=178587  Дополнительные сведения: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE.)
Failed to publish the database. This can happen if the remote database cannot run the script. Try modifying the database scripts, or disabling database publishing in the Package/Publish Web properties page. If the script failed due to database tables already exist, try dropping existing database objects before creating new ones. For more information on doing these options from Visual Studio, see http://go.microsoft.com/fwlink/?LinkId=179181.
Error details:
Ошибка при выполнении сценария базы данных. Ошибка произошла между следующими строками сценария: "1609" и "1616". Дополнительные сведения могут содержаться в подробном журнале. Начало команды следующее:
"IF NOT EXISTS(SELECT * FROM [__EFMigrationsHisto"
 Invalid column name 'CorporatePersonId'. http://go.microsoft.com/fwlink/?LinkId=178587  Дополнительные сведения: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE.
Invalid column name 'CorporatePersonId'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Web.Deployment.DBStatementInfo.Execute(DbConnection connection, DbTransaction transaction, DeploymentBaseContext baseContext, Int32 timeout)    CETDB        0    


Website not working on new server

$
0
0

Hi,

I follow this document to move IIS website from Server 2003 X32 to 2008 R2 X64

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/ff633422(v=ws.10)

After moving the site I was getting following error

 There was an error while performing this operation.

Details:

 Filename:
\\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Error:

But after following this site i fix the problem

https://blogs.iis.net/wonyoo/workaround-running-asp-net-1-1-on-vista-sp2-ws08-sp2

But now I get this error when I try to load the site.

Service Unavailable

--------------------------------------------------------------------------------

HTTP Error 503. The service is unavailable.

and on other site I get this error

HTTP Error 500.0 - Internal Server Error
Calling GetFilterVersion on ISAPI filter "C:\program files\Citrix\Licensing\LMC\Tomcat\bin\win32\i386\isapi_redirect.dll" failed Detailed Error Information
Module IIS Web Core
Notification Unknown
Handler StaticFile
Error Code 0x80070002
Requested URL http://localhost:80/Timesheet
Physical Path C:\TIMESHEET
Logon Method Not yet determined
Logon User Not yet determined

Web Deployment Tool on Win2k8 R2

$
0
0

Hi all,

I'm trying to install Web Deployment Tool on Win2k8 R2, but always fail with the next error:

"

MSI (s) (D4:20) [16:53:38:151]: Created Custom Action Server with PID 3780 (0xEC4).
MSI (s) (D4:FC) [16:53:38:182]: Running as a service.
MSI (s) (D4:FC) [16:53:38:182]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action InstallEtwManifest script error -2146827859, Microsoft VBScript runtime error: ActiveX component can't create object: 'oLocator.ConnectServer' Line 9, Column 13,
MSI (s) (D4:18) [16:53:47:371]: Product: Microsoft Web Deploy 3.6 -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action InstallEtwManifest script error -2146827859, Microsoft VBScript runtime error: ActiveX component can't create object: 'oLocator.ConnectServer' Line 9, Column 13,

MSI (s) (D4:18) [16:53:47:371]: Closing MSIHANDLE (121) of type 0 for thread 2584
MSI (s) (D4:18) [16:53:47:371]: Closing MSIHANDLE (120) of type 790536 for thread 4764
Action ended 16:53:49: InstallFinalize. Return value 3.
MSI (s) (D4:9C) [16:53:49:836]: User policy value 'DisableRollback' is 0
MSI (s) (D4:9C) [16:53:49:836]: Machine policy value 'DisableRollback' is 0

"

(This is not all the LOG file.)

I also try to install in another Win2k8 R2 (this one without IIS I Think) everything works without any problem.

Also, I got procmon saves of a good and bad version and trying to get some info from there.

I spend the whole day trying to install this app, search with our friend google, a lot of posts but nothing solves the problem, 8h and not even a different error.

Thanks in advance for everyone.

Web deploy memory problem

$
0
0

We have IIS7/Windows Server 2008 R2 configuration. The following procedure with Web deploy 3.6 is used to migrate IIS7 to IIS10

Procedure
https://www.assistanz.com/steps-to-migrate-the-websites-from-iis-7-5-to-iis-10/

One website (one domain) say XXX.com has multiple about 50 applications. They are called XXX.com/App1, XXX.com/App2 etc.

We use exactly the same procedure mentioned above. The directory of the domain takes about 7 GB on the disk. The following command causes free space of the disk is reduced by more than 200 GB. The result file is not created.

msdeploy -verb:sync -source:metakey=lm/w3svc/1 -dest:package=c:\Site1.zip > WebDeployPackage.log

IIS is run in a HyperV VM and the problem causes critical low memory problem and the VM stops.

I have made a few tests. First I have deleted all static content from all application directories. The size of XXX.com was reduced from about 7 GB to about 500 MB before the test. The same problem with memory occured.
Next I deleted all files except config files from all directories of all XXX.com applications. The size of the domain folder was reduced to 4.4 MB. It hasn't solved the problem. This time I had 50 GB free disk space before the test and all space was used by msdeploy.

What can cause that problem?

Thanks

Skip rules in .configsettings not working

$
0
0

Hi,

I am trying to add a skip rule to the .configsettings file on my server, so deployments will never delete files inside App_Data

I added these two, based on the example within the file itself, to the rules section:

<rule name="AppDataFiles" type="Microsoft.Web.Deployment.DeploymentSkipRuleHandler" objectName="filePath" skipAction="Delete" absolutePath="//App_Data//.*"/>
<rule name="AppDataFolders" type="Microsoft.Web.Deployment.DeploymentSkipRuleHandler" objectName="dirPath" skipAction="Delete" absolutePath="//App_Data//.*"/>

But now when I run msdeploy, it just says (in red)

Error: Object reference not set to an instance of an object.
Error count: 1.

and fails.  I've tried different escapings in absolutePath, a different string for the type, and commenting out one or both of the rules completely.  Everything works fine with the rules both commented out, but this error appears otherwise consistently.

What's the correct way to do this?  To be clear, I want this to be a server setting rather than a command line deployment argument.

Thanks,

Miles

Unable to re-install MSDeploy 3.6 on Windows 2016 DataCenter

$
0
0

I am currently unable to re-install MSDeploy 3.6 on new Windows 2016 DataCenter server. Exe got installed successfully but there were few items which was not installed, hence I was unable to perform automated deployments remotely. 

Then I tried re-installing missing items by selecting Complete items, but since then I am unable to install MSDeploy 3.6. 

The setup is getting rolled back.

I tried uninstalling the exe and restarted the server. Now I am unable to get anything installed, tried getting new exe, 3.5 MSDeply too, but things are not getting installed.

Can anyone please suggest what could be the problem ?

=== Logging stopped: 8/3/2018 18:06:08 ===
MSI (c) (D8:3C) [18:06:08:203]: Note: 1: 1708
MSI (c) (D8:3C) [18:06:08:203]: Product: Microsoft Web Deploy 3.6 -- Installation failed.

MSI (c) (D8:3C) [18:06:08:203]: Windows Installer installed the product. Product Name: Microsoft Web Deploy 3.6. Product Version: 10.0.1973. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.

MSI (c) (D8:3C) [18:06:08:203]: Grabbed execution mutex.
MSI (c) (D8:3C) [18:06:08:203]: Cleaning up uninstalled install packages, if any exist
MSI (c) (D8:3C) [18:06:08:203]: MainEngineThread is returning 1603
=== Verbose logging stopped: 8/3/2018 18:06:08 ===

Unable to publish compressed package created using powershell

$
0
0

I am currently unable to deploy my code using msdeploy. The package was modified with only 1 file. The package created was unzipped and after modifying the file it was compressed back again. There are no other changes.

But when I try to publish it is throwing error Warning: Skipping source dirPath because of rule SkipInvalidSource.

Can anyone please let me know what is the problem here ?

WebDeploy 3.6 scripts are outdated

$
0
0

Current WebDeploy version is 3.6. It contains PowerShell scripts that work correctly with Windows Server 2012 only. They return errors on 2012 R2 and 2016:

The current SKU is invalid. This script should only be used on a server SKU.

I have to use my own versions of AddDelegationRules.ps1 and SetupSiteForPublish.ps1. I fixed some other bugs there also.

Is there a planned update of WebDeploy? Possibly this forum is not a good place for bug report.


Restore one site from package containing multiple sites

$
0
0

We create a msdeploy package for multiple sites as follows:

"c:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:manifest=MultipleSitesMultipleProviders.xml -dest:package=Test.zip,encryptPassword="password" -disableLink:ContentExtension -enableLink:AppPoolExtension

Content of MultipleSitesMultipleProviders.xml:

<sitemanifest><appHostConfig path="SITE1" /><appPoolNetFx path="SITE1" /><dirPath path="C:\SITES\SITE1" /><appHostConfig path="SITE2" /><appPoolNetFx path="SITE2" /><dirPath path="C:\SITES\SITE2" /><appHostConfig path="SITE3" /><appPoolNetFx path="SITE3" /><dirPath path="C:\SITES\SITE3" /></sitemanifest

And here is how that package is restored:

"c:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -dest:auto -source:package=Test.zip,encryptPassword="password"

This restores all three sites. The problem I'm trying to solve is how to tell msdeploy.exe to restore just one of the sites that I specify somehow. I'm thinking this might be done using a -skip parameter which would tell the deploy to skip the two sites we don't want to install. But I could not understand what the format of that this command might look like.

Here is one wild guess of what I could try passing which did nothing:

-skip:objectName=appHostConfig,absolutePath=^SITE2$,skipAction=Delete -skip:objectName=appHostConfig,absolutePath=^SITE3$,skipAction=Delete

Is this even possible to do? Any help would sure be appreciated! Thank you.

We are currently đồng bộ hóa CA

$
0
0

Error Insufficient Access to AppHostConfig

$
0
0

Hello, I'm very new to .Net Core, Web Deploy, and IIS Management.  I'm on the SysOps side of things so I want to verify that I'm doing things correctly.  I've just finished setting up Web Deploy so our Developers can deploy to IIS.  We've come across this error:
Error Insufficient Access to AppHostConfig

I've read somewhere that I could give them access to the Applicationhost.config file in the Windows\System32\inetsrv\config folder.  Is this the correct thing to do?

Web Management service crash

$
0
0

Hi All,

any one have an idea on how to pull out the logs for the agent and web managent services?

I am having an issue with on of my servers, my current setup is.

CA (master) syncs to CD1 via push sync script site by site.
other CD's pull from CD1 via pull script and do an entire webserver sync.

This allows me to filter what sites are pushed to CD1 but keep all my CD's consistent.

However CD1 been the source for all the other CD's and what the CA pushes to seems to be having an issue with the service ever since i updated to web deploy 3.6. It was working fine on 3.5 but i had to update to TLS 1.2 only.

it will work for maybe 1-2 hours then crash again.
Checked event viewer and nothing obvious in there so i was wondering if there is a way to add extra logging?

Publish ASP.Net web package to filesystem.

$
0
0
<div class="post-text" itemprop="text">

When MSBuild packages an ASP.Net website, it creates a .zip file and a set of xml files. Using msdeploy, I can push that zip file and a set of parameter replacements to an IIS server, right?

Now, here's the conundrum: given that Web Package zip file, is there a way to unpack it and do the token replacement cleanlywithout deploying to IIS? Just unpack it to a folder and apply the SetParameters.xml so that it would be ready to robocopy to a file system location?

Msdeploy's parameters are opaque to say the least. I've tried deploying using the file and folder providers, and that doesn't work.

I could roll my own - I'd have to reverse-engineer the token replacement logic and deal with how the zip file contains the entire folder tree right down to the drive root (instead of being relative paths from the project folder, which is what it will use when it deploys). All of this is doable... but very annoying and I was hoping there was a better way.

Thanks in advance.

</div>
Viewing all 663 articles
Browse latest View live


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