Dcx

  -  

www.abc.com/pages/landingpage.aspxI entered my login credential & log into the site.

Bạn đang xem: Dcx

After some time I opened a new tab and enter my website address

www.abc.comNow it gives me an error:

403 - Forbidden: Access is denied. You vày not have permission to view this directory or page usingthe credentials that you supplied.

The whole story is this: if I am not logged on my site, then I can xuất hiện my site number of tabs và browsers. But as soon as I logged in my site, I am getting the error above.


cốt truyện
Improve this question
Follow
edited Jun 16, 2021 at 10:34

*

Hakan Fıstık
15.6k1212 gold badges100100 silver badges123123 bronze badges
asked Oct 15, 2012 at 9:45
*

vikasvikas
33622 gold badges55 silver badges1515 bronze badges
1
showroom a comment |

7 Answers 7


Sorted by: Reset to mặc định
Highest score (default) Trending (recent votes count more) Date modified (newest first) Date created (oldest first)
12
Try this

Now you are using that means you are not allowing authenticated user to lớn use your site.

authorization Element


nội dung
Improve this answer
Follow
answered Oct 15, 2012 at 10:05
*

jamsjams
21.1k2626 gold badges7373 silver badges9494 bronze badges
5
showroom a phản hồi |
12
I had the same problem. It turned out that I didn"t specify a default page và I didn"t have any page that is named after the mặc định page convention (default.html, defult.aspx etc). As a result, ASP.NET doesn"t allow the user lớn browse the directory (not a problem in Visual Studio built-in web hệ thống that allows you lớn view the directory) and shows the error message. Khổng lồ fix it, I added one default page in Web.Config and it worked.


nói qua
Improve this answer
Follow
answered Jan 18, 2013 at 20:07

*

YingYing
2,6202323 silver badges2323 bronze badges
địa chỉ cửa hàng a comment |
2
You can get the same error in Asp.net MVC5 if you have a class name và a folder with a matching nameExample : If you have class lands where when you want to lớn see view/lands/index.cshtml file, if you also have a folder with name "lands" you get the error as it first try the lands folder


giới thiệu
Improve this answer
Follow
answered Feb 1, 2020 at 4:07
*

Sam PatirageSam Patirage
10955 bronze badges
add a comment |
2
Resolution for 404 Forbidden in recent .Net 4.7 MVC/webform pplication hosting in Azure VMWe need khổng lồ install the .Net 4.7 & extensibilty & development in hệ thống role other than the .Net 4.7/version feature as below:This might have been alreday activated .Net Activated feature

We need to also địa chỉ the below under IIS webserver role-> Application Development -> select the .Net version as belowImage khổng lồ Activate the requited Role under IIS webserver RoleServer Role Activation under application Development


cốt truyện
Improve this answer
Follow
edited May 31, 2020 at 20:27
Wai Ha Lee
8,3897676 gold badges6060 silver badges9090 bronze badges
answered May 31, 2020 at 19:59
HimanjanHimanjan
2122 bronze badges
1
địa chỉ a phản hồi |
2
If your using MVC in your project you must use:

routes.IgnoreRoute("");More here.

Xem thêm: Cách Khắc Phục Lỗi 500 Internal Server Error Wordpress Biến Mất Dễ Dàng

ASP.NET MVC not serving mặc định document


tóm tắt
Improve this answer
Follow
edited Jun 16, 2021 at 10:35
Hakan Fıstık
15.6k1212 gold badges100100 silver badges123123 bronze badges
answered Aug 6, năm trước at 20:46
Eric WildEric Wild
59133 silver badges1111 bronze badges
showroom a phản hồi |
0
In my case, the issue was new sites had an implicit deny of all IP addresses unless an explicit allow was created. Khổng lồ fix: Under the site in Features View: Under the IIS Section > IP Address và Domain Restrictions > Edit Feature Settings > phối "Access for unspecified clients:" to "Allow"


nói qua
Improve this answer
Follow
edited Feb 27, 2015 at 19:39
CommunityBot
111 silver badge
answered Feb 27, năm ngoái at 15:05
KenKen
111 bronze badge
showroom a phản hồi |
0
giới thiệu
Improve this answer
Follow
answered Apr 11, 2015 at 6:52
Musakkhir SayyedMusakkhir Sayyed
6,8621313 gold badges3939 silver badges6464 bronze badges
add a comment |

Your Answer


Thanks for contributing an answer lớn Stack Overflow!

Please be sure lớn answer the question. Provide details & share your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.

Xem thêm: Work 100% Cara Mengatasi Error You Don"T Currently Have Permission To Access This Folder Pada Windows 10√ Bahyudinnor


Draft saved
Draft discarded

Sign up or log in


Sign up using Google
Sign up using Facebook
Sign up using thư điện tử and Password
Submit

Post as a guest


Name
e-mail Required, but never shown


Post as a guest


Name
email

Required, but never shown


Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy & cookie policy


Not the answer you're looking for? Browse other questions tagged or ask your own question.
The Overflow Blog Featured on Meta
Linked
21
ASP.NET MVC not serving mặc định document
0
.NET web form application redirect issue
1
Why docker on IIS gives http 403 error after source code change?
0
403 access denied error occure when i click to lớn an url. I want help regarding this issue
Related
6
tăng cấp from .NET 3.0 lớn 3.5: Sites set khổng lồ StateServer revert to InProc when in web Garden
26
Asp.net forms authentication cookie not honoring timeout with IIS7
25
Which one is better, InProc or SQL Server, for Session State mode in asp.net?
0
ASP.NET: 403 - Forbidden: Access is denied. You vì chưng not have permission to view this directory or page using the credentials that you supplied
0
Session.Abandon does not automatically redirect lớn loginurl in asp.net
0
ASP.NET not redirecting to defaultURL automatically after ending session
2
Time outs in asp.net website config settings và security
Hot Network Questions more hot questions

Question feed
Subscribe to RSS
Question feed to lớn subscribe lớn this RSS feed, copy và paste this URL into your RSS reader.


lang-cs
Stack Overflow
Products
Company
Stack Exchange Network
Site kiến thiết / logo © 2022 Stack Exchange Inc; user contributions licensed under CC BY-SA. Rev2022.12.19.43125


Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device và disclose information in accordance with our Cookie Policy.