.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Anonymous user to comment on post, does not allow anonymous user to view pending post SharePoint 201

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :SharePoint

I have created a Blog site using SharePoint Foundation 2010 , I made allow anonymous access to this site 

and i also made anonymous user to Comment on the Post and View the comment for the Post .  

http://<server_name>/Blog/Default.aspx  this is the default Page were we can see all the Post ..

When i Click on the Comment http://<server_name>/Blog/Lists/Posts/Post.aspx?ID=1 i am redirected to this page 

I have also allowed content approval for the Comment Submitted by the anonymous user 

but the Problem is that Anonymous user can see all the Comment for that particular post before approved.

Please help for this...

View Complete Post

More Related Resource Links

How to allow anonymous user to Search in SharePoint Foundation 2010?


I have created a SharePoint Foundation Web Application with Windows based Authentication and I have Allowed 

Anonymous user to view Entire Web Site Access.I have used the Default Search which is Available in master page,

When i search the It does not allow search for Anonymous user to search. I really do not understand to fix this Problem .

I am new to SharePoint Foundation 2010.

Hide SharePoint Ribbon for anonymous user (Not the Sign In Link)



We need to hide the Sharepoint 2010 ribbon for anonymous users. But we should have the Sign In Link (which is a part of the Ribbon, I believe). Please let me know the steps for this.

The Sharepoint site has been setup for custom form based authentication.


Aritra Saha.

Anonymous access - User prompted for login after click in web part area

I have a MOSS2010 site, internet-facing using anonymous access. I've found workarounds to many of the anonymous access issues I've come across, but I don't know how to fix this one. Any ideas or assistance would be appreciated. A user visits one of my pages with a OOB webpart. If they click within the area for that web part, essentially selecting the web part, it prompts for a login. I don't want my users getting prompted for a login, but I don't know why they're being prompted in the first place. According to the logs, it looks like it is trying to access _layouts/wpribbon.aspx. They aren't clicking on the items (titles aren't clickable), it's the area within the web part box. Can I make that area non-clickable?? Go to: www.carlile.biz/careers/pages/current-openings.aspx Click on the area around the Locations or the Current Openings listed. Either will prompt for a login. Even with a valid login, the view does not change and no further options are presented.

Why is the "attach file" control not active, if I try to upload a file as an anonymous user within a

Hi everybody! We try to design an online application form and implement an infopath form over a form webpart! Meanwhile, I'm able to see the form as an anonymous user and I can enter the specific informations, but unfortunately I'm not able to attach a file, because the control is not aktive! Does someone have an idea, why?   Thanks for your replies    

User keeps losing Session on Anonymous site?


This code was working before, but something has changed and I don't know what.  I have an anonymous registration page.  On it, I have a CAPTCHA image, with a URL pointing to an ASPX page that is generating the image.  On the Registration page I am generating a 6 digit code to be displayed in the CAPTCHA image, then saving it to a Session variable.  On the CAPTCHA ASPX page, I am grabbing that Session variable and creating the image.  However, the Session is resetting when the CAPTCHA ASPX page is called.  If I debug it, it has a different ID and the variable is gone.

Why is this happening and how can I fix it?  I have Sessions enabled in SharePoint 2007.

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'



We are building a web part to fetch data from SQL Server. The Sharepoint application and SQL database are on two different servers. But when i am trying to access the database from the web part it gives the following error

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

 Sharepoint site details:

Windows authentication enabled

IIS->Application Pool Identity,IIS->website->Directory security,crediantial used to access the database ,are same
 (administrator Crediantials)

Any help regarding this issue will be greatly appreciated.



How to get Email of Current User Data View Web Part Sharepoint 2010 and pass to WebService data sour

I have to pass in the email address of the current user to a web service data source (run time) of a Data View Web Part.

My Question is:

a) How can I get Email address of current user based  in DVWP.
I know we can get the CurrentUser using the CurrentUserName but how do we get the Email for the Current User.

b) After getting the Email how do we pass to the Web Service.

Limited Acess User cannot see Anonymous content.


After creating a user to only have access to a specific folder in a Document Library (Limited Access), none the the anonymous content viewable by this User; only the specific folder.  This results in an access denied on Home page.

How can this user be allowed to see anonymous content without signing out?

Custom list for anonymous user submission & Visual Studio Sequentional workflow on that custom list.


I have couple of question to experts here in sharepoint.

I created a custom list & given add, view anonymous access in our intranet site.

then i went to our public site & submitted the item i get error saying " An unexpected error has occured" instead of showing the allitem.aspx for custom list.

But item is submitted in sharepoint custom list. 

i collected following infomation in the event log

General                        8nca Verbose  Application error when access /testsite/Lists/test/NewForm.aspx, Error=Server Out Of Memory  There is no memory on the server to run your program. Please contact your administrator with this problem.   at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish)     at Microsoft.SharePoint.Librar

Web part disappears when browsing as anonymous user


Hey all,


I have a web part on a login page, when i am not logged in it's simply not there, the second I log in it appears. Can anyone suggest a way for me to troubeshoot this? It's deployed in a feature event receiver, that feature is part of this 'unsecured/anonymous' site


Edit: The web part only contains HTML, no references to lists or anything else that may be restricted

search results for anonymous user ---public facing site



How Do I enable search results for anonymous users on my internet site

I changed the inheritance of  results page but it didnot work

Thanks in advance

How to grant Anonymous permissions to Limited Access User.


The problem is granting a user access to only a single Document Library deep within a site;  this user can navigate directly to this document library, but this user can no longer see any anonymous content.

How can a limited access user also maintain the anonymous permissions before signing in? 

infopath form view restriction for sharepoint user/groups



I would like to restrict sharepiont groups on infopath form views . I mean when they login to sharepoint site and open the form they should see their view in the form.  we have sharepoint foundation 2010. 

I have gone through following link


I think this service required sharepoint server 2010. Is there any link where I can work out this on sharepoint foundation.

any help appreciated.




how can a standard sharepoint user view storage space

how is a sharepoint user able to view the amount of data avaible and used?

create a sharepoint view using caml where a multiuser filed is filtered by current user



I am using SharePoint Foundation 2010

I have a list with a person filed (set to allow multi users) called UserContacts

I want a vew that displays only list items where the current user is one of the entries in the UserContacts field.

How can this be done. I would like to do this in CAML as i am doing this programatically.

Help is REALY appreciated


Adding attachments to a list with anonymous user (MOSS)


i am trying to add a list item with an anonymous user.

the list is a custom list that has enabled anonymous access and has enabled

everything works fine, but when i try to add an attachment, i get a windows login prompt!

how would i go about this then?

any help appreciated.

Connecting to MSDB store: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'



I'm trying to connect to SQL MSDB store using ADO.Net SQLConnection class in the windows authentication mode using c#. 

Connection string I'm using is "Data Source=datasource; Initial Catalog=msdb; Integrated Security=True".

When the control reaches connection.open() in the code, it errors out with the message

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

I made sure that I'm an admin on the SQL machine and my 'user' object is mapped to MSDB db .

Any suggestions?



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend