Skip to content

Commit 70c676f

Browse files
authored
Merge pull request #3072 from Mikejo5000/mikejo-br13
Miscellaneous edits
2 parents 4bdc9f9 + c2ade27 commit 70c676f

6 files changed

+10
-58
lines changed

docs/debugger/error-the-web-server-could-not-find-the-requested-resource.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ ms.workload:
1919
---
2020
# Error: The Web Server Could Not Find the Requested Resource
2121
Due to security considerations, IIS has returned a generic error.
22-
23-
One possible cause is the security configuration of the server. IIS 6.0 and earlier versions used an add-on program, known as URLScan, to filter out suspicious and malformed requests. IIS 7.0 has built-in Request Filtering for the same purpose. In both cases, overly restrictive request filtering can prevent Visual Studio from debugging the server.
24-
25-
There are numerous possible causes of this error. A few of the most common causes include a problem with the IIS installation or configuration, the web site configuration, or permissions in the file system. You can try accessing the resource with a browser. Depending on how IIS is configured you might have to use a local browser on the server or inspect the IIS error log to get a detailed error message.
22+
23+
One possible cause is the security configuration of the server. IIS 6.0 and earlier versions used an add-on program, known as URLScan, to filter out suspicious and malformed requests. IIS 7.0 has built-in Request Filtering for the same purpose. In both cases, overly restrictive request filtering can prevent Visual Studio from debugging the server.
24+
25+
Another possible cause of this error is that the W3SVC service for IIS is not started. Check that this service is started (grayed out) in the Services window (*services.msc*).
26+
27+
There are numerous additional possible causes of this error. A few of the most common causes include a problem with the IIS installation or configuration, the web site configuration, or permissions in the file system. You can try accessing the resource with a browser. Depending on how IIS is configured, you might have to use a local browser on the server or inspect the IIS error log to get a detailed error message.
2628

2729
For more information on troubleshooting IIS, see [IIS Management and Administration](/iis/manage/provisioning-and-managing-iis/iis-management-and-administration).
2830

docs/debugger/getting-started-with-the-debugger.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This article introduces the features of the Visual Studio debugger in a step-by-
2525
|---------|---------|
2626
| ![movie camera icon for video](../install/media/video-icon.png "Watch a video") | [Watch a video](https://mva.microsoft.com/en-US/training-courses-embed/getting-started-with-visual-studio-2017-17798/Debugger-Feature-tour-of-Visual-studio-2017-sqwiwLD6D_1111787171) on debugging that shows similar steps. |
2727

28-
Although the demo app is C# and C++, the features are applicable to Visual Basic, JavaScript, and other languages supported by Visual Studio (except where noted). The screenshots are in C#. To switch between the C# and C++ sample code in this article, use the language filter in the upper right of this page.
28+
Although the demo app is C# and C++, the features are applicable to Visual Basic, JavaScript, and other languages supported by Visual Studio (except where noted). The screenshots are in C#.
2929

3030
In this tutorial, you will:
3131

@@ -55,6 +55,9 @@ In this tutorial, you will:
5555

5656
Visual Studio creates the project.
5757

58+
> [!NOTE]
59+
> To switch between the C# and C++ sample code in this article, use the language filter in the upper right of this page.
60+
5861
4. In *Program.cs* (C#) or *get-started-debugging.cpp* (C++), replace the following code
5962

6063
```csharp

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,7 @@ You can also publish and deploy the app using the file system or other tools.
160160

161161
In this tutorial, we are using Visual Studio 2017.
162162

163-
If you have trouble opening the page with the remote debugger download, see [Unblock the file download](../debugger/remote-debugging.md#unblock_msvsmon) for help.
164-
165163
[!INCLUDE [remote-debugger-download](../debugger/includes/remote-debugger-download.md)]
166-
167-
> [!TIP]
168-
> In some scenarios, it can be most efficient to run the remote debugger from a file share. For more information, see [Run the remote debugger from a file share](../debugger/remote-debugging.md#fileshare_msvsmon).
169164

170165
## <a name="BKMK_setup"></a> Set up the remote debugger on Windows Server
171166

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,7 @@ You can also publish and deploy the app using the file system or other tools.
141141

142142
In this tutorial, we are using Visual Studio 2017.
143143

144-
If you have trouble opening the page with the remote debugger download, see [Unblock the file download](../debugger/remote-debugging.md#unblock_msvsmon) for help.
145-
146144
[!INCLUDE [remote-debugger-download](../debugger/includes/remote-debugger-download.md)]
147-
148-
> [!TIP]
149-
> In some scenarios, it can be most efficient to run the remote debugger from a file share. For more information, see [Run the remote debugger from a file share](../debugger/remote-debugging.md#fileshare_msvsmon).
150145

151146
## <a name="BKMK_setup"></a> Set up the remote debugger on Windows Server
152147

docs/debugger/remote-debugging-azure.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ If you're not using Web Deploy, you must publish and deploy the app using the fi
179179

180180
In this tutorial, we are using Visual Studio 2017.
181181

182-
If you have trouble opening the page with the remote debugger download, see [Unblock the file download](../debugger/remote-debugging.md#unblock_msvsmon) for help.
183-
184182
[!INCLUDE [remote-debugger-download](../debugger/includes/remote-debugger-download.md)]
185183

186184
### <a name="BKMK_setup"></a> Set up the remote debugger on Windows Server

docs/debugger/remote-debugging.md

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -42,47 +42,6 @@ If you just want to download and install the remote debugger and don't need any
4242

4343
[!INCLUDE [remote-debugger-download](../debugger/includes/remote-debugger-download.md)]
4444

45-
## <a name="unblock_msvsmon"></a> Unblock the download of the remote tools on Windows Server
46-
47-
The default security settings in Internet Explorer on Windows Server can make it time-consuming to download components such as the remote tools.
48-
49-
* Enhanced Security Configuration is enabled on Internet Explorer, which prevents you from opening websites and accessing web resources unless the domain containing the resource is explicitly allowed (that is, trusted). Although you can disable this setting, we do not recommend it because it can presents a security risk.
50-
51-
* On Windows Server 2016, a default setting in **Internet Options** > **Security** > **Internet** > **Custom Level** > **Downloads** also disables file downloads. If you choose to download the remote tools directly on Windows Server, you must enable file download.
52-
53-
To download the tools on Windows Server, we recommend one of the following:
54-
55-
* Download the remote tools on a different computer such as the one running Visual Studio, and then copy the *.exe* file to Windows Server.
56-
57-
* Run the remote debugger [from a file share](#fileshare_msvsmon) on your Visual Studio machine.
58-
59-
* Download the remote tools directly on Windows Server and accept the prompts to add trusted sites. Modern websites often include many third-party resources, so this can result in a lot of prompts. In addition, any redirected links may need to be added manually. You can choose to add some of the trusted sites before beginning the download. Go to **Internet Options > Security > Trusted Sites > Sites** and add the following sites.
60-
61-
* visualstudio.microsoft.com
62-
* download.visualstudio.microsoft.com
63-
* about:blank
64-
65-
For older versions of the debugger on my.visualstudio.com, add these additional sites to make sure that login is successful:
66-
67-
* microsoft.com
68-
* go.microsoft.com
69-
* download.microsoft.com
70-
* my.visualstudio.com
71-
* login.microsoftonline.com
72-
* login.live.com
73-
* secure.aadcdn.microsoftonline-p.com
74-
* msft.sts.microsoft.com
75-
* auth.gfx.ms
76-
* app.vssps.visualstudio.com
77-
* vlscppe.microsoft.com
78-
* query.prod.cms.rt.microsoft.com
79-
80-
If you choose to add these domains while downloading the remote tools, then choose **Add** when prompted.
81-
82-
![Blocked content dialog box](../debugger/media/remotedbg-blocked-content.png)
83-
84-
When you download the software, you get some additional requests to grant permission to load various web site scripts and resources. On my.visualstudio.com, we recommend that you add the additional domains to make sure that login is successful.
85-
8645
## <a name="requirements_msvsmon"></a> Requirements
8746

8847
[!INCLUDE [remote-debugger-requirements](../debugger/includes/remote-debugger-requirements.md)]

0 commit comments

Comments
 (0)