Q: I got this error: "Report Server has encountered a SharePoint error. User cannot be found."
Did you set the Author field on all Webs in all site collections in all SharePoint Web Applications?
A number of posts suggest that the following error in Figure 1 will appear if an SPWeb.Author has been previously assigned to the SharePoint Web, but has since been deleted:
Figure 1
This can also happen if you've converted a classic mode Web Application to claims-based and you were using Reporting Services in Integrated Mode before the transition. A number of posts state that the Author field must be set on all Webs in all site collections in all SharePoint Web Applications to avoid this error. I believe this is true for any Site Collection where Reporting Services integration has been deployed.
You can use SharePoint Manager to check the value of the Author property in each Web in SharePoint 2007 or 2010. There is a version of SharePoint Manager for SharePoint 2007 and SharePoint 2010 on CodePlex.
You can also use the Get-SPWeb PowerShell commandlet to get each Web and then check the Author property.
When converting from classic-mode to a claims-based Web Application, you must also make sure that the author field is using a valid login ID. The internal claims format for a SAML-token based user account contains the prefix i:0.w| (e.g., i:0.w|contosouser01).
A user account of contosouser01 in a claims-aware application is not a valid user account and if this is set as the value of the Author property on a Web, SharePoint will throw the User cannot be found exception. You can also use the SHAREPOINTSystem account. This format is valid in classic and claims-mode Webs.
You might also need to delete and replace all rdl (report) and rsds (data connection) files after the conversion from classic to claims mode and after all of the Author properties have valid value.
For example, to replace a rdl file, follow these instructions:
Navigate to the Reports library containing the reports that are throwing the User not found error.
Download a copy of the report (.rdl) file. You can do this by hovering over the item in the SharePoint library and from the context menu, click Send To and then click Download a Copy.
Delete the rdl file from the SharePoint library
Upload the file that you downloaded in the first step.
Be sure to check-in the rdl if the SharePoint library is versioned and also approve the file if content approval is enabled. Repeat these steps for all data connection files and any other Reporting Services files throwing the User cannot be found error. If the User cannot be found error appears again, attempt to upload the new file using a different user account.
Read more SharePoint Q & A's :
SharePoint Q&A: Attempting to Configure Search Scope Settings for a Site Collection Throws an Error
SharePoint Q&A: How do I configure a load balancer to accept only SSL requests for a SharePoint 2010 FQDNs?
SharePoint Q&A: How Do I Apply a Filter Based on a URL to an External List?
SharePoint Q &A: How Do I Propagate BDC Model Updates to an Entity Picker to Resolve the "Parameter is Missing" Error?
SharePoint Q&A: How Do I Smoothly Deploy Reports Hosted in SharePoint?
Sharepoint Q&A: How Can I Create an External List When SharePoint Throws an Unspecfied ASP.NET Error?
SharePoint Q &A: InfoPath Designer 2010 message says By default this control will send data to the server whenever its value changes
SharePoint Q&A: How do I display a user-friendly value?
SharePoint Q&A: How do I display a more user-friendly error message?
SharePoint Q&A: How do I submit the InfoPath 2010 form programmatically to an external list?
Sharepoint Q&A: How Can I Create an Action for an External Content Type in SharePoint?
Sharepoint Q&A: How to Make a Type String Type Descriptor a Required Field in the BDC Explorer
Sharepoint Q&A: Data Source Conflict
About the Authors
You May Also Like