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.

  • 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)?

  • 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 code.msdn.microsoft.com/ULSViewer 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.

  • 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: social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/… 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 social.msdn.microsoft.com/Forums/en-US/… 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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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