Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

403 - Forbidden: Access is denied

Posted on 2013-06-04
2
Medium Priority
?
778 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 2000 total points
ID: 39223006
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
ID: 39232018
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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Integration Management Part 2
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

916 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