Почему MSDeploy в AzureVM перестает работать? ERROR_COULD_NOT_CONNECT_TO_REMOTESV C. (внутренняя ошибка сервера 500 - PullRequest
0 голосов
/ 30 марта 2020

У меня установлен MSDeploy на Azure ВМ. Я мог легко развернуть с VS2019 на виртуальную машину в один клик. Это работало до сих пор, ничего не меняется (хотя windows обновление несколько дней go). Внезапно VS начал сообщать об этом

Error       Web deployment task failed. (Could not connect to the remote computer ("vm.cloudapp.azure.com") using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.)

Could not connect to the remote computer ("vm.cloudapp.azure.com") using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.
The remote server returned an error: (500) Internal Server Error.

Начал копать журналы и трассировки на сервере IIS, установленном на виртуальной машине. Самое близкое, что я мог бы получить, - это трассировка, которая не сообщает источник внутренней ошибки сервера (по крайней мере, не на языке, который я понимаю).

<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type='text/xsl' href='freb.xsl'?>
<!-- saved from url=(0014)about:internet -->
<failedRequest url="https://vm.cloudapp.azure.com:8172/msdeploy.axd?site=SIT"
               siteId="1"
               appPoolId="WMSvcAppPool"
               processId="6704"
               verb="HEAD"
               authenticationType="NOT_AVAILABLE"               activityId="{80000004-0000-FE00-B63F-84710C7967BB}"
               failureReason="STATUS_CODE"
               statusCode="500"
               triggerStatusCode="500"
               timeTaken="671"
               xmlns:freb="http://schemas.microsoft.com/win/2006/06/iis/freb"
               >
...
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>5</Level>
  <Opcode>4</Opcode>
  <Keywords>0x100</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:31.585Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="ModuleName">FailedRequestsTracingModule</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>PRE_BEGIN_REQUEST_START</Opcode>
  <Keywords>
   <Keyword>RequestNotifications</Keyword>
  </Keywords>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{002E91E3-E7AE-44AB-8E07-99230FFA6ADE}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>5</Level>
  <Opcode>5</Opcode>
  <Keywords>0x100</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:31.585Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="ModuleName">FailedRequestsTracingModule</Data>
  <Data Name="NotificationStatus">0</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>PRE_BEGIN_REQUEST_END</Opcode>
  <Keywords>
   <Keyword>RequestNotifications</Keyword>
  </Keywords>
  <freb:Description Data="NotificationStatus">NOTIFICATION_CONTINUE</freb:Description>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{002E91E3-E7AE-44AB-8E07-99230FFA6ADE}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>55</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:31.585Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="RemoteAddress">41.58.93.151</Data>
  <Data Name="RemotePort">57269</Data>
  <Data Name="LocalAddress">10.0.1.4</Data>
  <Data Name="LocalPort">8172</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>GENERAL_ENDPOINT_INFORMATION</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>50</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:31.585Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="Headers">Host: vm.cloudapp.azure.com:8172
MSDeploy.VersionMin: 7.1.600.0
MSDeploy.VersionMax: 9.0.2606.0
MSDeploy.RequestUICulture: en-US
MSDeploy.RequestCulture: en-US
Version: 9.0.0.0
</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>GENERAL_REQUEST_HEADERS</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>12</Opcode>
  <Keywords>0x80</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:31.585Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="RequestURL">/msdeploy.axd?site=SIT</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>URL_CACHE_ACCESS_START</Opcode>
  <Keywords>
   <Keyword>Cache</Keyword>
  </Keywords>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{AC1D69F1-BF33-4CA0-9313-BCA13873E1DC}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>13</Opcode>
  <Keywords>0x80</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:31.585Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="PhysicalPath"></Data>
  <Data Name="URLInfoFromCache">false</Data>
  <Data Name="URLInfoAddedToCache">true</Data>
  <Data Name="ErrorCode">0</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>URL_CACHE_ACCESS_END</Opcode>
  <Keywords>
   <Keyword>Cache</Keyword>
  </Keywords>
  <freb:Description Data="ErrorCode">The operation completed successfully.
 (0x0)</freb:Description>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{AC1D69F1-BF33-4CA0-9313-BCA13873E1DC}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>30</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:31.585Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="PhysicalPath"></Data>
  <Data Name="AccessPerms">512</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>GENERAL_GET_URL_METADATA</Opcode>
  <freb:Description Data="AccessPerms">Script</freb:Description>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>43</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:31.585Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="OldHandlerName"></Data>
  <Data Name="NewHandlerName">MSDeploy</Data>
  <Data Name="NewHandlerModules">ManagedPipelineHandler</Data>
  <Data Name="NewHandlerScriptProcessor"></Data>
  <Data Name="NewHandlerType">Microsoft.Web.Deployment.DeploymentAgentHandler, Microsoft.Web.Deployment, Version=7.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>HANDLER_CHANGED</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>41</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.053Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="Name">WebManagement</Data>
  <Data Name="Type">Microsoft.Web.Management.Server.WebManagementHttpModule, Microsoft.Web.Management, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>VIRTUAL_MODULE_UNRESOLVED</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>41</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.053Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="Name">WindowsAuthentication</Data>
  <Data Name="Type">System.Web.Security.WindowsAuthenticationModule</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>VIRTUAL_MODULE_UNRESOLVED</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>41</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.053Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="Name">WebManagementBasicAuthentication</Data>
  <Data Name="Type">Microsoft.Web.Management.Server.WebManagementBasicAuthenticationModule, Microsoft.Web.Management, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>VIRTUAL_MODULE_UNRESOLVED</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>41</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.053Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="Name">WebManagementAuthorization</Data>
  <Data Name="Type">Microsoft.Web.Management.Server.WebManagementAuthorizationModule, Microsoft.Web.Management, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>VIRTUAL_MODULE_UNRESOLVED</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>5</Level>
  <Opcode>1</Opcode>
  <Keywords>0x100</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.053Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="ModuleName">IpRestrictionModule</Data>
  <Data Name="Notification">1</Data>
  <Data Name="fIsPostNotification">false</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>NOTIFY_MODULE_START</Opcode>
  <Keywords>
   <Keyword>RequestNotifications</Keyword>
  </Keywords>
  <freb:Description Data="Notification">BEGIN_REQUEST</freb:Description>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{002E91E3-E7AE-44AB-8E07-99230FFA6ADE}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>5</Level>
  <Opcode>2</Opcode>
  <Keywords>0x100</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.053Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="ModuleName">IpRestrictionModule</Data>
  <Data Name="Notification">1</Data>
  <Data Name="fIsPostNotificationEvent">false</Data>
  <Data Name="NotificationStatus">0</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>NOTIFY_MODULE_END</Opcode>
  <Keywords>
   <Keyword>RequestNotifications</Keyword>
  </Keywords>
  <freb:Description Data="Notification">BEGIN_REQUEST</freb:Description>
  <freb:Description Data="NotificationStatus">NOTIFICATION_CONTINUE</freb:Description>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{002E91E3-E7AE-44AB-8E07-99230FFA6ADE}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>5</Level>
  <Opcode>1</Opcode>
  <Keywords>0x100</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.053Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="ModuleName">FailedRequestsTracingModule</Data>
  <Data Name="Notification">1</Data>
  <Data Name="fIsPostNotification">false</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>NOTIFY_MODULE_START</Opcode>
  <Keywords>
   <Keyword>RequestNotifications</Keyword>
  </Keywords>
  <freb:Description Data="Notification">BEGIN_REQUEST</freb:Description>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{002E91E3-E7AE-44AB-8E07-99230FFA6ADE}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>5</Level>
  <Opcode>2</Opcode>
  <Keywords>0x100</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.053Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="ModuleName">FailedRequestsTracingModule</Data>
  <Data Name="Notification">1</Data>
  <Data Name="fIsPostNotificationEvent">false</Data>
  <Data Name="NotificationStatus">0</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>NOTIFY_MODULE_END</Opcode>
  <Keywords>
   <Keyword>RequestNotifications</Keyword>
  </Keywords>
  <freb:Description Data="Notification">BEGIN_REQUEST</freb:Description>
  <freb:Description Data="NotificationStatus">NOTIFICATION_CONTINUE</freb:Description>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{002E91E3-E7AE-44AB-8E07-99230FFA6ADE}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>5</Level>
  <Opcode>1</Opcode>
  <Keywords>0x100</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.053Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="ModuleName">RequestFilteringModule</Data>
  <Data Name="Notification">1</Data>
  <Data Name="fIsPostNotification">false</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>NOTIFY_MODULE_START</Opcode>
  <Keywords>
   <Keyword>RequestNotifications</Keyword>
  </Keywords>
  <freb:Description Data="Notification">BEGIN_REQUEST</freb:Description>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{002E91E3-E7AE-44AB-8E07-99230FFA6ADE}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>5</Level>
  <Opcode>2</Opcode>
  <Keywords>0x100</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.053Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="ModuleName">RequestFilteringModule</Data>
  <Data Name="Notification">1</Data>
  <Data Name="fIsPostNotificationEvent">false</Data>
  <Data Name="NotificationStatus">0</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>NOTIFY_MODULE_END</Opcode>
  <Keywords>
   <Keyword>RequestNotifications</Keyword>
  </Keywords>
  <freb:Description Data="Notification">BEGIN_REQUEST</freb:Description>
  <freb:Description Data="NotificationStatus">NOTIFICATION_CONTINUE</freb:Description>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{002E91E3-E7AE-44AB-8E07-99230FFA6ADE}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>5</Level>
  <Opcode>1</Opcode>
  <Keywords>0x100</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.053Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="ModuleName">AspNetInitializationExceptionModule</Data>
  <Data Name="Notification">1</Data>
  <Data Name="fIsPostNotification">false</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>NOTIFY_MODULE_START</Opcode>
  <Keywords>
   <Keyword>RequestNotifications</Keyword>
  </Keywords>
  <freb:Description Data="Notification">BEGIN_REQUEST</freb:Description>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{002E91E3-E7AE-44AB-8E07-99230FFA6ADE}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="ASPNET" Guid="{AFF081FE-0247-4275-9C4E-021F3DC1DA35}"/>
  <EventID>0</EventID>
  <Version>0</Version>
  <Level>0</Level>
  <Opcode>1</Opcode>
  <Keywords>0xf</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.069Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ConnID">0</Data>
  <Data Name="Context ID">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="Data1">HEAD</Data>
  <Data Name="Data2">/msdeploy.axd</Data>
  <Data Name="Data3">site=SIT</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>AspNetStart</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{06A01367-79D3-4594-8EB3-C721603C4679}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="ASPNET" Guid="{AFF081FE-0247-4275-9C4E-021F3DC1DA35}"/>
  <EventID>0</EventID>
  <Version>0</Version>
  <Level>5</Level>
  <Opcode>7</Opcode>
  <Keywords>0x1</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.069Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ConnID">0</Data>
  <Data Name="Context ID">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="Data1">/LM/W3SVC/1/ROOT-4-132300519915843730</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>AspNetAppDomainEnter</Opcode>
  <Keywords>
   <Keyword>Infrastructure</Keyword>
  </Keywords>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{06A01367-79D3-4594-8EB3-C721603C4679}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>56</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.178Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="HeaderName">Cache-Control</Data>
  <Data Name="HeaderValue">private</Data>
  <Data Name="Replace">true</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>GENERAL_SET_RESPONSE_HEADER</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>4</Level>
  <Opcode>56</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.178Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="HeaderName">X-AspNet-Version</Data>
  <Data Name="HeaderValue">4.0.30319</Data>
  <Data Name="Replace">true</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>GENERAL_SET_RESPONSE_HEADER</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>3</Level>
  <Opcode>16</Opcode>
  <Keywords>0x100</Keywords>
  <TimeCreated SystemTime="2020-03-30T14:26:32.225Z"/>
  <Correlation ActivityID="{80000004-0000-FE00-B63F-84710C7967BB}"/>
  <Execution ProcessID="6704" ThreadID="6712"/>
  <Computer>Tracker</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{80000004-0000-FE00-B63F-84710C7967BB}</Data>
  <Data Name="ModuleName">AspNetInitializationExceptionModule</Data>
  <Data Name="Notification">1</Data>
  <Data Name="HttpStatus">500</Data>
  <Data Name="HttpReason">Internal Server Error</Data>
  <Data Name="HttpSubStatus">0</Data>
  <Data Name="ErrorCode">0</Data>
  <Data Name="ConfigExceptionInfo"></Data>
 </EventData>
...
</failedRequest>

И средство просмотра событий также не содержит никакой информации , Я мог видеть только журналы для последнего успешного развертывания. То же самое касается "C: \ Windows \ ServiceProfiles \ LocalService \ AppData \ Local \ Temp \ WMSv c"

1 Ответ

0 голосов
/ 31 марта 2020

Чтобы решить эту проблему, попробуйте выполнить следующие действия:

1) проверить связь с удаленным компьютером

2) убедиться, что службы msdepsv c или wmsv c запущены

enter image description here

3) что брандмауэр не блокирует порты 80 или 8172.

enter image description here

самая важная вещь, которую вам нужно проверить, это правильность введенных вами данных в профиле publi sh.

Вы можете подтвердить это, нажав на Подтвердить соединение.

enter image description here

Сообщение об ошибке ERROR_COULD_NOT_CONNECT_TO_REMOTESV C может указывать на то, что вы неправильно ввели значение имени сайта IIS. Проверьте имя сайта на целевом сервере в диспетчере IIS и повторите попытку.

Для получения более подробной информации см. Ссылку ниже:

Устранение неполадок при веб-развертывании с помощью Visual Studio

Устранение неполадок, типичных для Web Deploy

...