Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Trying to setup anonymous access to a SharePoint 2010 blog following: http://www.sharepointblues.com/2010/12/22/blog-site-in-anonymous-use/

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): http://example.com/OA/Lists/Posts/Post.aspx?ID=8

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 stackoverflow.com Jan 29 '13 at 1:55

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

1 Answer 1

up vote -1 down vote accepted

I have a project download on my blog post that will give you working code. http://www.townofbedrock.com/blog/?p=236

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

 
discard

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.