How to solve HTTP Error 403.14 - Forbidden error in web service project

Last Reply 7 days ago By dharmendr

Posted 7 days ago

I a new to web service project . I'm getting HTTP Error 403.14 - Forbidden whenever I debug my .asmx web service project . It says

HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.

to enable directory but it's not going to work . How to solve this error? Please Help? Any clue will be helpful .

EDIT

I added

    <system.webServer>
    <directoryBrowse enabled="true" />
   </system.webServer>

this into web.config now I can see all the directory content but whenever I click .cs a page I get this error HTTP Error 404.7 - Not Found The request filtering module is configured to deny the file extension.

And

when I click the .asmx project I get the parser error

Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

I am debugging my project in local

You are viewing reply posted by: dharmendr 7 days ago.
Posted 7 days ago
saha says:
Not Found The request filtering module is configured to deny the file extension.

Refer below link.

https://stackoverflow.com/questions/13455939/http-error-404-7-not-found-the-request-filtering-module-is-configured-to-deny

 

saha says:
An error occurred during the parsing of a resource required to service this request.

Refer below links.

ASP.Net Error: error occurred during the parsing of a resource required to service this request