• Register
0 votes
70 views

Problem :

I have my newly created website. First time I was able to succesfully login.

The default address:

www.abc.com  

I typed above address on browser and it redirected me to my login page:

www.abc.com/pages/landingpage.aspx

When I entered my login credential and tried to log into the site.

After some time I just opened new tab and tried to enter my website address

www.abc.com

But now it gives me below error:

403 - Forbidden: Access is denied.
 You do not have permission to view this directory or page using 
 the credentials that you supplied.

So my whole story is, if I am not logged on to my site then I can open my site number of tabs and the browsers but as soon as I am logged in to my site, I am getting the above error.

7 5 2
3,870 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I had the same problem recently. It turned out that I haven’t specify the default page and I didn't had any page that was named after my default page convention (default.html, defult.aspx etc). So the ASP.NET didnt allow a user to browse my directory and shows me a error message. To fix it, I just added one default page in my Web.Config as shown below and it worked.

<system.webServer>
    <defaultDocument>
        <files>
            <add value="myDefault.aspx"/>
        </files>
    </defaultDocument>
</system.webServer>

 

9 7 4
38,600 points

Related questions

1 vote
1 answer 7 views
7 views
Problem: I need help understanding this error: the activity must be exported or contain an intent-filter. you do not have permission to view this directory or page using the credentials that you supplied
asked Mar 6 MUHAMMAD MUNEEB 83k points
0 votes
0 answers 3 views
3 views
Problem: i need some help about this problem you are not authorized to view this page due to invalid authentication headers.
asked Mar 17 Rohit kr 16.2k points
1 vote
1 answer 8 views
8 views
Problem: How to get rid of the "Windows can't verify the publisher of this driver software" window? Policy setting didn't work. I have tried the following suggested solutions however neither one has worked. I am working on Driver Validation test automation using C# ... by the tech expert members didn't solve my problem. Can anybody provide a working solution? I would be highly appreciate it.
asked Mar 6 Shovo210 13.8k points
0 votes
1 answer 98 views
98 views
Problem : Hi I am trying to develop the web application its working fine but since yesterday I had the problem when I try to click the link it gives me below error The length of the query string for this request exceeds the configured maxQueryStringLength value. ... to auto generate I am trying to use asp dotnet4 Ajax control toolkit and also using the update panel. Any suggestions on this ?
asked Feb 2, 2020 jwilliam 3.9k points
0 votes
1 answer 12 views
12 views
Problem: Why i am getting this error: Error is > Type or namespace definition, or end-of-file expected
asked Mar 16 ummesalma 25.2k points
0 votes
2 answers 270 views
270 views
Problem : I am new to ASP MVC and I am facing one error. I am trying to access the Model's Data from the Controller section and I am getting following error when I try to create a Movie as a part of the exercise, whenever I try to click on the link "Create New" I ... am using the Visual Studio 2012 RC I am not sure if this is the root cause of my issue.Please let me know the solution for my issue.
asked Dec 3, 2019 alecxe 7.5k points
0 votes
1 answer 14 views
14 views
Problem: metadata publishing for this service is currently disabled.
asked Feb 18 charles mathews 5.5k points
0 votes
1 answer 4 views
4 views
Problem: As I previously stated in my question, I am having difficulty learning. Could someone help assist me in completing my project?
asked Apr 1 rakib1 51.5k points
0 votes
1 answer 3 views
3 views
Problem: I need help in resolving this problem: you do not have permission to view or edit this object's permission settings windows 10
asked Apr 7 rakib1 51.5k points