Microsoft Developer Network > 포럼 홈 > Team Foundation Server - Reporting & Warehouse > The data source connection information has been deleted.
질문하기질문하기
 

답변됨The data source connection information has been deleted.

  • 2008년 7월 25일 금요일 오후 10:14topoli 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    I was trying to fix my TFS sharepoint search capability and have now messed up my reporting services.  Sharepoint works like a champ but I can't run any preexisting TFS reports, like Remaing Work.  I get this error: "

  • The report server cannot process the report. The data source connection information has been deleted. (rsInvalidDataSourceReference).  While fixing sharepoint, I changed user ids of some services in the IIS application pool.  I don't know what I did wrong to mess up reporting.  Thanx.

답변

  • 2008년 7월 28일 월요일 오전 7:25Hua ChenMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    Hello topoli,

     

      In addition to Bill's,

     

        Please check the shared data source at the Report Service Site.

     

      Here are brief steps,

     

              1. Open the http://<ReportServer>/Reports

     

              2. Please check if there are two shared data sources

     

                        a. TfsReportDS

                        b. TfsOlapReportDS

     

                      More in  Data Sources for Team Foundation Reporting

     

               3. If there is no such data sources, try to create them

     

                       a. Click 'New data sources' button.

                      

               4. Here are some properties of the TfsReportDS and TfsOlapReportDS data source

     

     

                      TfsReportDS :

                              Connection string : Data source=<Data-Tier Name>;initial catalog=TfsWarehouse

                              Connection type: Microsoft SQL Sever.

     

                      TfsOlapReportDS :

     

                              Connection string : Data source=<Data-Tier Name>;initial catalog=TfsWarehouse

                              Connection type: Microsoft SQL Server Analysis Services.

               

                       Please make sure Connect using : the  Credentials stored securely in the report server setting.

     

                       And the credential is the TFSREPORTS account used during the TFS Setup.

     

               If you have any question please let me know.

     

              Good luck.


     

모든 응답

  • 2008년 7월 26일 토요일 오전 11:05Bill.WangMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    Hi topoli

     

    I got 2 questions:

    1. Do you see this error message for every reports or just one report?
    2. Have you changed account for the application pools used by reporting service and team foundation server?
  • 2008년 7월 27일 일요일 오전 1:42topoli 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    1. I see this error for all the errors.

    2. Yes, I changed all the accounts to tfsservice in the application pool to be consistent, But found out this was a mistake ...

    Thanx,

  • 2008년 7월 27일 일요일 오전 11:17Bill.WangMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    topoli

     

    To change account used by TFS web services and Reporting Service, you can use TFSAdminUtil.exe. This command can assign the required permission to the new service account.  Please try this command with ChangeAccount switch to change to the new service account. After this, you can run this command with ActivateAt switch to start TFS web services.

  • 2008년 7월 28일 월요일 오전 7:25Hua ChenMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    Hello topoli,

     

      In addition to Bill's,

     

        Please check the shared data source at the Report Service Site.

     

      Here are brief steps,

     

              1. Open the http://<ReportServer>/Reports

     

              2. Please check if there are two shared data sources

     

                        a. TfsReportDS

                        b. TfsOlapReportDS

     

                      More in  Data Sources for Team Foundation Reporting

     

               3. If there is no such data sources, try to create them

     

                       a. Click 'New data sources' button.

                      

               4. Here are some properties of the TfsReportDS and TfsOlapReportDS data source

     

     

                      TfsReportDS :

                              Connection string : Data source=<Data-Tier Name>;initial catalog=TfsWarehouse

                              Connection type: Microsoft SQL Sever.

     

                      TfsOlapReportDS :

     

                              Connection string : Data source=<Data-Tier Name>;initial catalog=TfsWarehouse

                              Connection type: Microsoft SQL Server Analysis Services.

               

                       Please make sure Connect using : the  Credentials stored securely in the report server setting.

     

                       And the credential is the TFSREPORTS account used during the TFS Setup.

     

               If you have any question please let me know.

     

              Good luck.


     

  • 2008년 7월 28일 월요일 오후 4:54topoli 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    Thank you for your help.  Here is what I did:

    • Tried to bring up a report and it gave me this error:\
      • The report server cannot process the report. The data source connection information has been deleted. (rsInvalidDataSourceReference)
    • I then, went into Properties -> DataSource
    • And saw this next to the Shared DataSource: The shared data source reference is no longer valid
    • I then browsed and selected TfsReportDS and TfsOlapReportDS at the root
    • And the reports work.
    • I did this for all my reports and everything is back to normal
    • But I am not sure why ? and if changing of the users in one of the IIS application pool is going to haunt me in the future ... Eventhough things look to be normal now

     

    Thanx.

     

  • 2009년 5월 11일 월요일 오전 11:15MarcelPoppe 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    In case you have the message "The shared data source reference is no longer valid"
    you can use the script below to recreate the data source reference. Success

    DECLARE
      @Link uniqueidentifier

    SELECT @Link = ItemID FROM dbo.Catalog
     WHERE Type = 6 -- Select the correct Datasource

    BEGIN TRAN

      UPDATE dbo.DataSource
      SET Link = @Link
      WHERE ItemID IN
        (SELECT c.ItemID FROM dbo.Catalog c
         INNER JOIN dbo.DataSource ds ON ds.ItemID = c.ItemID
      WHERE c.type = 2 -- reports
      AND   ds.link is null
        )

    COMMIT TRAN