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

i am not able to see custom web part on my anonymous site in sharepoint 2010. when i add out of box web part it is visible but custom web part is not visible.

please help me to resolve this.

share|improve this question
As Anders rightly says - more info needed. What is the web part doing? Post some source code and add some more detail. – Charles Lee Feb 3 '11 at 10:05
did you publish the page after adding your web part? is the web part throwing an error? – Mauro Feb 3 '11 at 10:11
i dont know how to publish page after adding web part . can u help me to figure out this. – Ashish Dubey Feb 7 '11 at 7:06
thanx it is working now. i published my page and im able to see my web part. thanx to all for your reply. – Ashish Dubey Feb 7 '11 at 12:20

to better be able to help you debugging this we need more info

do you have the custom web part working somewhere (for example in non-anonymous dev. environment)?

share|improve this answer
no, my web part is not working anywhere. for testing purpose i created a simle 'hello world!!' web part . – Ashish Dubey Feb 3 '11 at 10:10
if web part isnt working anywhere, it could be a number of reasons. Please post full source. – Anders Rask Feb 4 '11 at 13:12
Also add any related errors from ULS log (use ULS Viewer to monitor log while you add web part) to get an idea on what happens. – Anders Rask Feb 4 '11 at 13:13

At the end of your url just append contents=1 like(http://.....aspx?contents=1) and see whether your webpart is loaded on page or not.

share|improve this answer
my problem is that when i sign in with any account it shows the web part but it does not show for anonymous access. – Ashish Dubey Feb 3 '11 at 13:36
my web part is not visible on enterprise search template site but it is visible on basic search page template site. is there is any problem with enterprise search template for anonymous access? – Ashish Dubey Feb 4 '11 at 5:32
Have a look at here:… Same situation as you are facing :) – Anonymous Feb 4 '11 at 6:46
Or enable Anonymous access in Enterprise Portal. – Anonymous Feb 4 '11 at 6:48
i checked… url but i dont know how to publish or approve web part. can u help me to do this? – Ashish Dubey Feb 7 '11 at 7:08
up vote 0 down vote accepted

i just edited the page and there was a publish option on ribbon . i clicked on it. after that it starts working.

share|improve this answer

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.