Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am getting this error after copying and pasting the code from the link below


It looks like the code cannot load IFilterValues

[TypeLoadException: Could not load type 'Microsoft.SharePoint.WebPartPages.IFilterValues' from assembly 'Microsoft.SharePoint, Version=14.900.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.]

I think the version number (14.900.0.0) is wrong and it should be (

Any ideas how to fix this?

share|improve this question
Have you included the assembly reference properly in your project? –  James Love Mar 8 '11 at 19:20
Yes, I have added the correct reference to Microsoft.SharePoint assembly (version = –  i.jk Mar 8 '11 at 19:47
Are you trying to do this as a sandboxed web part as you said in your other post - its a VERY key detail! –  Ryan Mar 8 '11 at 21:10
Yes. I believe this is a sandboxed Web Part –  i.jk Mar 8 '11 at 22:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.