• Register
0 votes

Problem :

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

The default address:


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


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


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

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.

            <add value="myDefault.aspx"/>


9 7 4
38,600 points

Related questions

0 votes
2 answers 131 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 54 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 jwilliam 3.9k points
0 votes
1 answer 48 views
Problem : I came across a problem as follows if you set the autopostback property of a control to true, the page is posted back to the server Any solution on this ?
asked Nov 12, 2019 peterlaw 6.9k points
0 votes
1 answer 11 views
How can you find the mime type of a file based on the file signature, not the extension in .Net? I want a simple way to get a mime type where the file extension is incorrect or not given, something similar?
asked Aug 29 Aliza313 720 points
0 votes
1 answer 665 views
Problem : I have my facebook messenger application. It has the webhook subscribed to the page events. It used to work fine for me until few days ago, when a webhook was unsubscribed from the page and when I am trying to subscribe it again then it tells me: "Insufficient ... action." I am the owner and admin on both of the FB page and messenger app. Does somebody know what could be a problem?
asked Feb 4 jwilliam 3.9k points