HTTP Error 403 - Forbidden
Asked Answered
J

7

6

When I start Debugging on asp.net3.5 . Browser display bellow message

*Server Error in '/attn-web' Application.

HTTP Error 403 - Forbidden.

Version Information: ASP.NET Development Server 9.0.0.0*

Judah answered 10/3, 2011 at 7:38 Comment(3)
Yes , When I Debug program, browser prompt 'Authentication Required' Input Box with information 'Enter user name and Passord for localhost:1169'. and after entering user name and password browser this display above message which is mention before.Judah
Do you happen to have NOD32 installed and running?Uzzia
I think Windows authentication is enabled in web.config.Change it to formMm
E
5

It might be an issue with NTLM Authentication.

  1. Right-click on your solution in the Solution Explorer.
  2. Select Property Pages.
  3. Select Start Options in the dialog.
  4. In the Server section, uncheck NTLM Authentication
Endrin answered 5/2, 2013 at 10:6 Comment(0)
U
2

If you have Vista or Windows 7 try running the Visual Studio as administrator (right click the EXE and choose "Run as administrator") as it might be some security/permissions issue.

Uzzia answered 10/3, 2011 at 8:49 Comment(0)
L
2

I was getting following issues, after trying their solutions i got this same error message

WCFTestClient The HTTP request is unauthorized with client authentication scheme 'Anonymous' (my service is a non-WCF service)

The HTTP request is unauthorized with client authentication scheme 'Ntlm'

and finally got the solution from here which is In the Server section, uncheck NTLM Authentication (Project Properties -> Web -> Servers)

Lumbard answered 10/2, 2012 at 10:44 Comment(0)
W
1
  1. Firewall,
  2. bad 'hosts' file,
  3. aspnet server configuration problem,
  4. Folder security restrictions

..

Try to look at log files (Win+F, select folder /Windows and specify to find fresh files) and 'Event Viewer' (Press Win, then type: Event Viewer)

P.S.: Nothing personal, but your question is really unclear.

Walcoff answered 10/3, 2011 at 8:34 Comment(0)
L
0

It happened to me too. I had moved the project and fetched it again. It turns out that Visual Studio binds the virtual directory name as the source path for the files, and moving a (physical) directory makes IIS adjust the virtual directory to the new path. Visual Studio uses the virtual directory name still, and that causes a conflict.

Deleting in IIS the virtual directory made things work again.

Laforge answered 31/3, 2017 at 14:50 Comment(0)
P
0

I also had the same problem. This is how I solved it. I think this may be helpful for you.

1. Go to "start" and then type IIS(Internet Information Services) and hit Enter
2. In the right side there are "connections"
3. Go to "sites"-> "Default Web Site" which is located inside the connections
4. Double click the "Default website"
5. There in the features view double click the "Directory Browsing"
6. In the right side there are the actions if "Enable" is available double click on that (Otherwise that feature is all ready available)
7. Then go back to the previous page
8. Double click on "Default Document"
9. There you can see a list of default documents
10. If your default document for the website is not available you can add it by clicking the "add" in the right side and there type the name of your default document.

Phenoxide answered 6/3, 2018 at 8:3 Comment(0)
B
-1

you just need to change the specific port you are using:

  1. Right-click on your project in the Solution Explorer.
  2. Go to Properties.
  3. Select Web in the dialog.
  4. Change the Specific port to anything else e.g. 44444

hope this is the solution for your problem

Balderdash answered 30/8, 2013 at 19:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.