SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to setup anonymous access to a SharePoint 2010 blog following:

I am not sure what I am doing wrong but the source code is (VS 2012 C# 3.5): Source Code for Anonymous Access

I have already enabled anonymous authentication on the site and toggled it off and on as well. Deployed and installed the solution and the feature was activated as well. Even did an iisreset just to be sure.

I can get to the main page of the blog but when navigating to the direct link (Example):

The authentication dialog displays.

Not sure what is wrong with the code but so far it will not allow anonymous access.

Any guidance would be appreciated, thank you.

share|improve this question

migrated from Jan 29 '13 at 1:55

This question came from our site for professional and enthusiast programmers.

up vote -1 down vote accepted

I have a project download on my blog post that will give you working code.

share|improve this answer
While this may theoretically answer the question, we prefer inclusion of the essential parts of the answer here, and to provide the link for reference. See answer for general guidelines. – SPDoctor Mar 23 '13 at 15:04
Will have to compare the codes from both to see where something went wrong but now in another project so will be some time before I can get to it. – DarkS0ul Apr 3 '13 at 15:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.