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

If I tried to view in Element one of three External List I geting this error:

Unable to display this Web part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.

After I call it from Code i Getting this error:

enter image description here

I tried this with simplest code.

I can't manage what it is a problem. Could You Help me, please.

  SPList kontrakty2List = witryna.Lists["CRM_Kontrakty"];
                SPQuery kontrakty2Query = new SPQuery();
                kontrakty2Query.Query = "<OrderBy><FieldRef Name='lsm_name'/></OrderBy>";
                SPListItemCollection kontrakty2Grupa = kontrakty2List.GetItems(kontrakty2Query);

                foreach (SPListItem oKontrakty2ListText in kontrakty2Grupa)
                    Label4.Text += oKontrakty2ListText["lsm_name"].ToString();
share|improve this question
Could you translate the error into English please? – Sam Sussman Dec 20 '12 at 14:02
Second that. If we can understand what the error is saying, maybe we can point out where the error is. – SPArchaeologist Dec 20 '12 at 14:51
Naturally, here is transletting: Could't find default method of serching for grup View associate with operation specified method searching (reading element) QS_Kontrakty_Aktywne_FKRead Item unit WADB02 in namespace units – Grzegorz Z Dec 20 '12 at 15:23

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.