Error: Unable to display this Web Part
I am receiving the following error message when trying to display my web part.
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. Corre开发者_StackOverflow中文版lation ID:e1c61ac1-788a-46c6-9311-495a5fa0603f
I had gone to Central Administration, to the Secure Store Services and created the "Target Application ID" and have already set permissions and credentials. Also, I have set the permissions in the "Business Data Connectivity Application". This removed the - BDC and NT\Authority errors that I had, now I have the error noted above and don't remember how to remove it. Thank you for your help.
I Fixed it! What I learned is that parameters were not set. This has happened to me twice. When parameters/filters are not set, the return of data is too large to be passed and an error as the one noted is given. I tried going back to add filters/parameters, but instead recreated the ECT, the only difference was this time filters were added. :)
The answer above is correct - if the webpart attempts to retrieve too much data, it displays this error. But it is also displayed if you are attempting to create an External List, and have not specified the desired list view. This may sound simple, but it confused me for a while. If you have created the list (and have set the filter parameters/throttling values correctly) and get this error, go to "Edit web part" and in the View box, you will probably see something like , but if you change it to your default "[Content type name] Read List", the data should display correctly. The error also occurs, if the XSLT Stylesheet is invalid. If you have edited the code manually, and it is flawed, it displays this error message.
Another reason is that XSL Transformation takes longer than 1 sec (by default).
Note:I'm running into this issue using a 3rd party forms designer. Within this designer, it provides some options for CSS styling to their controls. For some reason, adding styles to the controls was making this error arise.
So, if you're using 3rd party, or even if not, try to remove all applied CSS to make sure it's not something as simple as that.
Sorry for re-posting in such an old thread, want to provide more solutions if anyone else can't get it solved via the above posts.
make sure the resources the webpart is using has the right permissions. For Eg. The webpart may be accessing data from site assets/style library etc. So check the permissions of user on the corresponding library from webpart. If the user doesnt have the necessary permission then you wont be able to see the webpart n SP will give you error "Unable to display this Web Part"
It Worked for me. Check!
精彩评论