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 unable to add a web part to a publishing page. I am seeing the following in the ULS:

File 0f4c91df-ccde-48e9-9c80-3612e95fa849 has length 889, but corresponds to Features\Components\BannerModule\BannerModule.webpart (version 4; LCID 1033) with length 882

SharePoint Foundation Web Parts tkqm High WebPartAdder_ItemCannotBeAddedULS

I have four other webparts in the same Feature and all work fine.

Any insights as to why the file sizes would differ?

share|improve this question

Had to use Reflector's debugger to determine that a property getter was throwing a null reference exception. Breakpoints on my ctor were never hit...

Also, the object in question was changed from List to Collection at the suggestion of FxCop. The List object was not null.

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.