SharePoint 2013 - Dataview Webpart始终显示无法显示错误 [英] SharePoint 2013 - Dataview Webpart always displays Unable to display error

查看:78
本文介绍了SharePoint 2013 - Dataview Webpart始终显示无法显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

在我的客户端的一个SP 2013服务器上,每当我添加一个空的dataview webpart时,保存页面然后在浏览器中查看它会显示错误"无法显示此网页部分..."这发生在全新的webpart或aspx页面上,除了添加空数据视图webpart之外,没有对其进行任何其他
编辑。我可以继续并添加数据源,但在查看页面时仍然会收到错误,因此看起来这个服务器上的dataview webpart有问题。

On one of my client's SP 2013 servers, whenever I add an empty dataview webpart, save the page and then view it in the browser it displays the error "Unable to display this webpart..." This happens on a brand new webpart or aspx page with no other edits made to it other than adding the empty dataview webpart. I can proceed and add a datasource but I still get the error when viewing the page so it seems like there is something wrong with the dataview webpart on this server.

我注意到的一件事是,在添加数据源后,我没有任何数据源的字段用于分组或过滤,所以看起来有些东西无法正常工作。我无法访问日志,因此无法检查相关性
ID。如果我直接从数据视图菜单中选择一个列表而不是选择"空数据视图"。列表将显示在浏览器中,但从技术上讲,这是一个列表视图Web部件,同样的问题是没有任何过滤
或分组的字段。

One thing I noticed is that after adding the datasource, I do not have any of the datasource's fields to use for grouping or filtering so it seems like something is not working correctly. I do not have access to the logs so I cannot check the correlation ID. If I choose a list directly from the dataview menu rather than choosing "Empty Data View" the list will display in the browser but technically this is a list view web part and the same issue occurs with not having any of the fields for filtering or grouping.

我看过有关增加xslt超时的帖子,但是当添加空数据视图时,它甚至没有连接到任何东西,所以我认为它是别的。

I have seen the posts about increasing the xslt timeout but when adding the empty dataview it is not even connected to anything so I am thinking it is something else.

有什么建议吗?

谢谢!

推荐答案

您好epicswell,

Hi epicswell,

当您第一次收到"无法显示此webpart ..."错误时,您是否只是在不提供数据源的情况下添加空数据视图?

When you first get the "Unable to display this webpart..." error, whether you just add a Empty Data View without giving data source?

如果是这种情况,我可以重现这个问题,在检查ULS日志后,我得到原因"值不能为空",可能是我们无法查看空数据浏览器。

If that’s the case, I can reproduce the issue, after checking the ULS log, I get the cause "Value cannot be null", it might that we cannot view the empty data in the browser.

添加数据源但仍然出现错误后,您添加的数据源是什么以及添加的方式是什么?请提供相关信息,以便我们帮助您排除故障。

After you add a data source but still get the error, what’s the data source you added and how you added? Please provide relevant information so we can help you troubleshoot.

然后当我通过数据视图下拉按钮插入相关列表时,我可以通过LIST查看工具选项选项卡创建过滤,排序和分组,你的意思是你不能在你的环境中创建它们吗?

Then when I insert the relevant list via Data View drop down button, I can create Filter, Sort and Group via LIST View Tools Options tab, do you mean you cannot create them in your environment?

尝试
清除SharePoint Designer缓存
并再次检查。

如果问题存在,我建议您与可以访问ULS日志的用户联系,以获取可能指向根本原因的更多错误消息。

If the issue exists, I recommend you contact with the user who can access ULS log to get more error messages that might point to the root cause.

祝你好运,

Grace Wang

Grace Wang


这篇关于SharePoint 2013 - Dataview Webpart始终显示无法显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆