First, the problem found
Failed to start data Analysis Service for SQL Server
View system log errors as follows:
A detailed error is displayed after double-clicking the error:
There is an error in the metadata manager. Instantiate from file "\\?\c:\program Files\Microsoft SQL Server\msas11. An error occurred while mssqlserver\olap\data\tfs_analysis.0.db\vdimtestcaseoverlay.874.dim.xml the metadata object.
Ii. problem-solving-database
Then I manually try to "C:\Program Files\Microsoft SQL Server\msas11. Mssqlserver\olap\data\tfs_analysis.0.db "Rename to" C:\Program Files\Microsoft SQL Server\msas11. mssqlserver\olap\data\tfs_analysis.0--. DB "
Then manually restart the service MSSQLServerOLAPService again, the error log appears again, and after viewing is unable to access the encryption key "C:\Program Files\Microsoft SQL Server\msas11. Mssqlserver\olap\data\tfs_analysis.0.db\0.cryptkey.bin "
Then I manually created the empty directory "C:\Program Files\Microsoft SQL Server\msas11. Mssqlserver\olap\data\tfs_analysis.0.db "and copy" 0.cryptkey.bin "from the directory you just renamed to the new directory
Then restart the service again manually, found that the service started, and no error, but it is clear that tfs_analysis.0.db is empty.
Third, solve the problem-tfs
Open the management interface for TFS
Just came in, the report to the right should not start, click on the right "edit", in the popup window to complete the parameter configuration
where "Analysis Services" has a row of hints at the bottom, it finds that tfs_analysis is empty and will be populated.
After clicking OK, wait for TFS to repopulate the TFS_Analysis database.
After filling, you can click "Start Job" in the upper right corner.
And you can see the populated database in SQL Server Management Studio
There is an error in the
Meta Data Manager. Instantiate from file "\\?\c:\program Files\Microsoft SQL Server\msas11. An error occurred while mssqlserver\olap\data\tfs_analysis.0.db\vdimtestcaseoverlay.874.dim.xml the metadata object.