Pesquisar

27.5.10

Falha na Criação de um Team Project - TF30177: Error while creating report


Olá Pessoal!
Mais problemas, agora com o TFS (Team Foundation Server). Os desenvolvedores estavam utilizando seus projetos sem problemas, mas ao tentar criar um novo projeto uma mensagem era apresentada.
Erro TF30177
Verificando o log foi apresentado os seguintes detalhes:
---begin Exception entry---Time: 2010-05-27T12:17:15Module: EngineEvent Description: TF30162: Task "Populate Reports" from Group "Reporting" failedException Type: Microsoft.TeamFoundation.Client.PcwExceptionException Message: The Project Creation Wizard encountered an error while creating reports to the SQL Server Reporting Services on http://srvdev-033vm/ReportServer_DEVTFS/ReportService2005.asmx.Exception Details: The Project Creation Wizard encountered a problem while creating reports on the SQL Server Reporting Services on http://srvdev-033vm/ReportServer_DEVTFS/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: TF30225: Error uploading report 'Work Item with Tasks': The current action cannot be completed because the user data source credentials that are required to execute this report are not stored in the report server database. ---> The current action cannot be completed because the user data source credentials that are required to execute this report are not stored in the report server database. (type ReportingUploaderException) Exception Stack Trace: at Microsoft.TeamFoundation.Client.Reporting.ReportingUploader.UploadReport(XmlNode report) at Microsoft.TeamFoundation.Client.Reporting.ReportingUploader.HandleCreateReports(XmlNode node) at Microsoft.TeamFoundation.Client.Reporting.ReportingUploader.Run() at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.Execute(ProjectCreationContext context, XmlNode taskXml) Inner Exception Details: Exception Message: The current action cannot be completed because the user data source credentials that are required to execute this report are not stored in the report server database. ---> The current action cannot be completed because the user data source credentials that are required to execute this report are not stored in the report server database. (type SoapException)SoapException Details: 400http://www.microsoft.com/sql/reportingservices">400 xmlns="http://www.microsoft.com/sql/reportingservices">The current action cannot be completed because the user data source credentials that are required to execute this report are not stored in the report server database.span style="font-size:85%;">xmlns="Microsoft" sql www.microsoft.com reportingservices?>Microsoft< >http: FONT> SQL Server Reporting Services127http://www.microsoft.com/sql/reportingservices">127 xmlns="1033http://www.microsoft.com/sql/reportingservices">1033 xmlns="span style="font-size:85%;">">" xmlns:msrs="The" sql www.microsoft.com >http: reportingservices?>The<> current action cannot be completed because the user data source credentials that are required to execute this report are not stored in the report server database.http://www.microsoft.com/sql/reportingservices" /> Exception Stack Trace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.TeamFoundation.Client.Reporting.ReportingService.SetCacheOptions(String Report, Boolean CacheReport, ExpirationDefinition Item) at Microsoft.TeamFoundation.Client.Reporting.ReportingUploader.UploadReport(XmlNode report) --- end Exception entry --- 2010-05-27T12:17:15 Module: Engine Thread: 10 TF30202: Task "" from Group "" will not be run because a prior task failed.2010-05-27T12:17:15 Module: Engine Thread: 4 Deleting from Build ...2010-05-27T12:17:15 Module: Engine Thread: 4 Done2010-05-27T12:17:15 Module: Engine Thread: 4 Deleting from Work Item Tracking ...2010-05-27T12:17:15 Module: Engine Thread: 4 Done2010-05-27T12:17:15 Module: Engine Thread: 4 Deleting from Version Control ...2010-05-27T12:17:16 Module: Engine Thread: 4 Done2010-05-27T12:17:16 Module: Engine Thread: 4 Warning. Did not find Report Server service.2010-05-27T12:17:16 Module: Engine Thread: 4 Warning. Did not find SharePoint site service.2010-05-27T12:17:16 Module: Engine Thread: 4 Deleting from Team Foundation Core ...
Através do link: http://social.msdn.microsoft.com/Forums/en-US/tfsgeneral/thread/251f0534-82af-45a2-bb6e-f2ae4ef76581?prof=required, consegui encontrar a solução para resolver o problema. No site do Reporting Services abra o Data Souce TfsOlapReportDS e o TfsReportDS. Na página que se abre a sessão "Connect using:" estava selecionada a opção "Credentials supplied by the user running the report". Foi só trocar a opção para "Credentials stored securely in the report server" e selecionar o combo "Use as Windows credentials when connecting to the data source", em destaque na figura abaixo.
Data Source Reporting Services

Espero ter ajudado!


Nenhum comentário:

Postar um comentário