"This Web Part is not Marked has Safe"

on August 8, 2006

We’ve all seen this error at least a thousand of times.

I use to get it for a different reason than usual. I coded a new Web Part and I forgot to put the keyword “public” before the Class name.

This typo pulled that error message. In case it arises to you…