Skip to content

Commit 798fe3e

Browse files
committed
fixed #1616
1 parent 0f7e55c commit 798fe3e

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
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 Control Panel (*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

0 commit comments

Comments
 (0)