Solved

403 - Forbidden: Access is denied

Posted on 2013-06-04
2
725 Views
Last Modified: 2013-06-10
Hi Experts,
My environments:  C#, ASP.NET in Visual Studio 2010

In a web project, there are many records in a Grid.  I am trying to Update a record in the list.  When update the any record other than 1st one, it is working just fine.  But when update the 1st record successfully, and going back to the same record again for another update I get this message.

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


The question is, how it works for all other records, but the 1st record?  

I tried to add <identity impersonate="true"/> in the web.config.  But no good.  I tried to add this IIS_IUSRS user to the website folder.  But for some reason it did not allow me.  Please let me know if you have any other suggestion.

Thank you very much for your time and willingness to help in advance!
0
Comment
Question by:RadhaKrishnaKiJaya
2 Comments
 
LVL 23

Accepted Solution

by:
Roopesh Reddy earned 500 total points
Comment Utility
Hi,

Can you explain in detail, how you are updating?

Common cause for 403 error - http://pcsupport.about.com/od/findbyerrormessage/a/403error.htm

Hope it helps u...
0
 

Author Closing Comment

by:RadhaKrishnaKiJaya
Comment Utility
Thank you roopeshreddy,
Your link is very helpful.  After debugging my issue, I found that the page is generated dynamically and for some reason populating wrong values in the Edit link.  Thank you for your time and help!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now