In my ASP.NET project I'm trying to run asmx webService but fail with - HTTP Error 403.14
Checked other questions and tried their solution but it didn't help me.
How do I fix this error -

On a very old project of mine it works but not on my new one
In my ASP.NET project I'm trying to run asmx webService but fail with - HTTP Error 403.14
Checked other questions and tried their solution but it didn't help me.
How do I fix this error -

On a very old project of mine it works but not on my new one
Hi @Elado,
Try to enable the Directory Browsing feature and add a default document in IIS:
Method 1: Enable the Directory Browsing feature in IIS (recommended)
To resolve this problem, follow these steps:
Start IIS Manager. To do it, select Start, select Run, type inetmgr.exe, and then select OK.
In IIS Manager, expand server name, expand Web sites, and then select the website that you want to change.
In the Features view, double-click Directory Browsing.
In the Actions pane, select Enable.
Method 2: Add a default document
To resolve this problem, follow these steps:
Start IIS Manager. To do it, select Start, select Run, type inetmgr.exe, and then select OK.
In IIS Manager, expand server name, expand Web sites, and then select the website that you want to change.
In the Features view, double-click Default Document.
In the Actions pane, select Enable.
In the File Name box, type the name of the default document, and then select OK.
More detail information, see HTTP Error 403.14 - Forbidden when you open an IIS webpage.
Besides, you could also check whether you have checked the related .NET Framework version, check the following threads:
Resolving the 403.14 error for ASP.NET on Windows Server 2016
This is a default IIS configuration error when the requested URL is a folder that does not contain a default file. Most likely, the URL you are using is incorrect. Are you trying to access the WSDL?
I guess the Web Services is what you mean by WSDL, so yes trying to access it.
I made the startup page as the WebService.asmx.
I guess the Web Services is what you mean by WSDL, so yes trying to access it. I made the startup page as the WebService.asmx
The Web Service Definition Language (WSDL) is an XML file that defines the methods and types that makeup an ASMX SOAP service. Clients access/download the WSDL to discover and document all the web methods and types so the client knows how to interact with the ASMX service. In Visual Studio, this is called creating a service reference. Visual Studio generates all the code required to interact with SOAP services as if the services are a local library.
The fact that you do not know what a WSDL is, indicates that you have not taken the time to learn the technology you are using. At this point, the forums will not be much help until you learn the basics.
.
Learn to post complete screen shots for such issues which show clearly the URLs and other important information. Like others commented, URL is rather critical here as 403.14 is always expected if the wrong URL is used.
I realized I "disabled" a default document type instead of deleting it. Didnt realize that disable is for all default documents, RIP.
12 people are following this question.