我有几个 SSRS 2005 报告,我正在更新到 SSRS 2008,但是有一个数据集需要使用 SharePoint 2010 Web 服务“getUserProfileByName”来完成报告。但是,在 2005 年旧报告中显然“有效”的旧查询导致 2008 年版本报告中出现问题。当我尝试在本地和 SharePoint 网站上运行报告时,服务器无法执行操作,输入错误 500 或“未经授权的操作”错误向我吐出。
这是在 SSRS 报告中运行的查询:
<Query>
<SoapAction>http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByName</SoapAction>
<ElementPath IgnoreNamespaces="True">GetUserProfileByNameResponse{}/GetUserProfileByNameResult{}/PropertyData{Name, Values}
</ElementPath>
</Query>
任何人都可以找出问题所在或如何纠正吗?