1

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

http://msdn.microsoft.com/en-us/library/ms490609%28office.12%29.aspx

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 (14.0.0.0)?

Any ideas how to fix this?

  • 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 = 14.0.0.0) – 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.