Skip to content

Commit 9080c20

Browse files
committed
more updates
1 parent aef04cd commit 9080c20

5 files changed

+38
-8
lines changed

docs/debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Remote debug ASP.NET on an IIS computer"
33
description: Learn how to set up and configure a Visual Studio ASP.NET MVC 4.5.2 application, deploy it to IIS, and attach the remote debugger from Visual Studio.
44
ms.custom: ['remotedebugging', 'seodec18']
5-
ms.date: 05/06/2020
5+
ms.date: 08/31/2021
66
ms.topic: "conceptual"
77
ms.assetid: 9cb339b5-3caf-4755-aad1-4a5da54b2a23
88
author: "mikejo5000"
@@ -244,7 +244,16 @@ For information on running the remote debugger as a service, see [Run the remote
244244

245245
The breakpoint should be hit in Visual Studio.
246246

247-
## <a name="bkmk_openports"></a> Troubleshooting: Open required ports on Windows Server
247+
## Troubleshooting IIS deployment
248+
249+
- If you can't connect to the host using the host name, try the IP address instead.
250+
- Make sure the required ports are open on the remote server.
251+
- Verify that the version of ASP.NET used in your app is the same as the version you installed on the server. For your app, you can view and set the version in the **Properties** page. To set the app to a different version, that version must be installed.
252+
- If the app tried to open, but you see a certificate warning, choose to trust the site. If you already closed the warning, you can edit the publishing profile, a *.pubxml file, in your project and add the following element (for test only): `<AllowUntrustedCertificate>true</AllowUntrustedCertificate>`
253+
- If the app does not start from Visual Studio, start the app in IIS to test that it deployed correctly.
254+
- Check the Output window in Visual Studio for status information, and check your error messages.
255+
-
256+
## <a name="bkmk_openports"></a> Open required ports on Windows Server
248257

249258
In most setups, required ports are opened by the installation of ASP.NET and the remote debugger. However, you may need to verify that ports are open.
250259

docs/debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,17 @@ For information on running the remote debugger as a service, see [Run the remote
237237

238238
The breakpoint should be hit in Visual Studio.
239239

240-
## <a name="bkmk_openports"></a> Troubleshooting: Open required ports on Windows Server
240+
## Troubleshooting IIS deployment
241+
242+
- If you can't connect to the host using the host name, try the IP address instead.
243+
- Make sure the required ports are open on the remote server.
244+
- For ASP.NET Core, you need to make sure that the Application pool field for the **DefaultAppPool** is set to **No Managed Code**.
245+
- Verify that the version of ASP.NET used in your app is the same as the version you installed on the server. For your app, you can view and set the version in the **Properties** page. To set the app to a different version, that version must be installed.
246+
- If the app tried to open, but you see a certificate warning, choose to trust the site. If you already closed the warning, you can edit the publishing profile, a *.pubxml file, in your project and add the following element (for test only): `<AllowUntrustedCertificate>true</AllowUntrustedCertificate>`
247+
- If the app does not start from Visual Studio, start the app in IIS to test that it deployed correctly.
248+
- Check the Output window in Visual Studio for status information, and check your error messages.
249+
250+
## <a name="bkmk_openports"></a> Open required ports on Windows Server
241251

242252
In most setups, required ports are opened by the installation of ASP.NET and the remote debugger. However, you may need to verify that ports are open.
243253

@@ -253,7 +263,7 @@ Required ports:
253263
::: moniker range="vs-2017"
254264
* 4022 - Required for remote debugging from Visual Studio 2017 (see [Remote Debugger Port Assignments](../debugger/remote-debugger-port-assignments.md) for more information).
255265
::: moniker-end
256-
* UDP 3702 - (Optional) Discovery port enables you to the **Find** button when attaching to the remote debugger in Visual Studio.
266+
* UDP 3702 - (Optional) Discovery port enables you to use the **Find** button when attaching to the remote debugger in Visual Studio.
257267

258268
1. To open a port on Windows Server, open the **Start** menu, search for **Windows Firewall with Advanced Security**.
259269

@@ -266,6 +276,7 @@ Required ports:
266276
5. Select one or more network types to enable for the port and click **Next**.
267277

268278
The type you select must include the network to which the remote computer is connected.
279+
269280
6. Add the name (for example, **IIS**, **Web Deploy**, or **msvsmon**) for the Inbound Rule and click **Finish**.
270281

271282
You should see your new rule in the Inbound Rules or Outbound Rules list.

docs/debugger/remote-debugging-azure.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,17 @@ Download the version of the remote tools that matches your version of Visual Stu
287287

288288
The breakpoint should be hit in Visual Studio.
289289

290-
### <a name="bkmk_openports"></a> Troubleshooting: Open required ports on Windows Server
290+
## Troubleshooting IIS deployment
291+
292+
- If you can't connect to the host using the host name, try the IP address instead.
293+
- Make sure the required ports are open on the remote server.
294+
- For ASP.NET Core, you need to make sure that the Application pool field for the **DefaultAppPool** is set to **No Managed Code**.
295+
- Verify that the version of ASP.NET used in your app is the same as the version you installed on the server. For your app, you can view and set the version in the **Properties** page. To set the app to a different version, that version must be installed.
296+
- If the app tried to open, but you see a certificate warning, choose to trust the site. If you already closed the warning, you can edit the publishing profile, a *.pubxml file, in your project and add the following element (for test only): `<AllowUntrustedCertificate>true</AllowUntrustedCertificate>`
297+
- If the app does not start from Visual Studio, start the app in IIS to test that it deployed correctly.
298+
- Check the Output window in Visual Studio for status information, and check your error messages.
299+
300+
### <a name="bkmk_openports"></a> Open required ports on Windows Server
291301

292302
In most setups, required ports are opened by the installation of ASP.NET and the remote debugger. However, if you are troubleshooting deployment issues and the app is hosted behind a firewall, you may need to verify that the correct ports are open.
293303

docs/deployment/tutorial-import-publish-settings-azure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ A publish settings file (*\*.publishsettings*) is different than a publishing pr
8585
msdeploySite="DeployASPDotNetCore"
8686
userName="$DeployASPDotNetCore"
8787
userPWD="abcdefghijklmnopqrstuzwxyz"
88-
destinationAppUrl="http://deployaspdotnetcore20180508031824.azurewebsites.net"
88+
destinationAppUrl="http://deployaspdotnetcore2021.azurewebsites.net"
8989
SQLServerDBConnectionString=""
9090
mySQLDBConnectionString=""
9191
hostingProviderForumLink=""

docs/deployment/tutorial-import-publish-settings-iis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ After the app deploys successfully, it should start automatically.
8686
- If you can't connect to the host using the host name, try the IP address instead.
8787
- Make sure the required ports are open on the remote server.
8888
- For ASP.NET Core, you need to make sure that the Application pool field for the **DefaultAppPool** is set to **No Managed Code**.
89-
- Verify that the version of ASP.NET used in your app is the same as the version you installed on the server. For your app, you can view and set the version in the **Properties** page.
89+
- Verify that the version of ASP.NET used in your app is the same as the version you installed on the server. For your app, you can view and set the version in the **Properties** page. To set the app to a different version, that version must be installed.
9090
- If the app tried to open, but you see a certificate warning, choose to trust the site. If you already closed the warning, you can edit the *.pubxml file in your project and add the following element (for test only): `<AllowUntrustedCertificate>true</AllowUntrustedCertificate>`
9191
- If the app does not start from Visual Studio, start the app in IIS to test that it deployed correctly.
92-
- Check the Output window in Visual Studio for more information.
92+
- Check the Output window in Visual Studio for status information, and check your error messages.
9393

9494
## Next steps
9595

0 commit comments

Comments
 (0)