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've followed along with this Microsoft tutorial.

I can step through my code and see results returned from the database, so my Linq queries are working.

However, when I try to set up the web part, I get a message saying "Unable to display this Web Part. To troubleshoot the problem, open this page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator."

This has me confused since I've recreated my project several times, and I'm positive I haven't missed any steps in the tutorial.

In the SharePoint log, there are lines about the default filter possibly causing performance issues. I've changed the throttling from 2000 (default) to 40000 items, but I think that's bogus - my table only has about 700 records, and I limit the Linq to 20 results.

Any thoughts on what's going on here and how I can correct this?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

I wound up figuring this out with advice from another Microsoft forum. Posting a link here in case anyone else runs into the same issue.

Resolution

share|improve this answer
add comment

Your Answer

 
discard

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.