Friday, August 31, 2012

TFS - ItemNotFoundException on Reporting Server while creating new Team Projects

I had do deal with a problem while creating new Team Projects with Visual Studio 2010. The error message was that an an the item /Tfs2010OlapReportDS was not found.

It seemed that the reports for tfs could not be uploaded due a permission problem. After hours of searching and reinstalling I found the fix for the problem.

The fix was really easy.
  1. Go to your team foundation server 
  2. Open the administration console. 
  3. Click on Reporting
  4. Click on Edit
  5. Click on Reports Tab
  6. Enter the credential for the Reports
  7. Save
  8. Click on Start Jobs




The whole exception message :

TF30162: Task "Populate Reports" from Group "Reporting" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: The Project Creation Wizard encountered an error while creating reports to the SQL Server Reporting Services on http://tfs/ReportServer/ReportService2005.asmx. Exception Details: The Project Creation Wizard encountered a problem while creating reports on the SQL Server Reporting Services on http://tfs/ReportServer/ReportService2005.asmx. The reason for the failure cannot be determined at this time. Because the operation failed, the wizard was not able to finish creating the SQL Server Reporting Services site.

Stack Trace: at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.Execute(ProjectCreationContext context, XmlNode taskXml) at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml) at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
-- Inner Exception --
Exception Message: The item '/Tfs2010OlapReportDS'cannot be found. (type ReportingServiceException)
Exception Stack Trace: at Microsoft.TeamFoundation.Client.Reporting.ReportingUtilities.ConvertException(SoapException e) at Microsoft.TeamFoundation.Client.Reporting.ReportingUtilities.HasPermissions(ReportingService proxy, String itemPath, String[] permissions) at Microsoft.TeamFoundation.Client.Reporting.ReportingUtilities.CheckPermissions(ReportingService proxy, String itemPath, String[] requiredPermissions) at Microsoft.TeamFoundation.Client.Reporting.ReportingUploader.Validate() at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.Execute(ProjectCreationContext context, XmlNode taskXml)

Inner Exception Details: Exception Message: System.Web.Services.Protocols.SoapException: The item '/Tfs2010OlapReportDS' cannot be found.

1 comment:

Anonymous said...

Thanks , you save my time, instead of reinstalling , these steps so easy and fast, thanks again.