DiscountASP.NET Launches SaaS Solution for TFS 2010
You can check the following link for more information
Query execution failed for dataset ‘dsIteration’. (rsErrorExecutingCommand) Get Online Help
Errors in the metadata manager. An error occurred when loading the Team System cube, from the file, ‘\\?\C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Data\Tfs_Analysis.0.db\Team System.636.cub.xml’. Errors in the metadata manager. An error occurred when loading the Work Item dimension, from the file, ‘\\?\C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Data\Tfs_Analysis.0.db\vDimWorkItemOverlay.187.dim.xml’. File system error: The following file is corrupted: Physical file: \\?\C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Data\Tfs_Analysis.0.db\vDimWorkItemOverlay.147.dim\187.Hierarchy.Area1.sstore. Logical file
And when I go to the analysis service and try to see it, it gives me the following error
File system error: The following file is corrupted: Physical file: \\?\C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Data\Tfs_Analysis.0.db\vDimWorkItemOverlay.147.dim\187.Hierarchy.Area1.sstore. Logical file .
Errors in the metadata manager. An error occurred when loading the Work Item dimension, from the file, ‘\\?\C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Data\Tfs_Analysis.0.db\vDimWorkItemOverlay.187.dim.xml’.
Errors in the metadata manager. An error occurred when loading the Team System cube, from the file, ‘\\?\C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Data\Tfs_Analysis.0.db\Team System.636.cub.xml’.
(Microsoft.AnalysisServices)
I can’t even right-click and see the property of the Analysis data
So here the solution to this problem
************Updated 27 August 2012 *************
If you want to see the reports immediately, you will need to process the Data-warehouse and the Analysis service from the web services, or just leave it when the schedule job is running, for the step-by-step on how to process this manualy just see the following post.
Process the TFS Data Warehouse and Analysis Service manually
Or see the step-by-step video
************End of the Update*******
The MVC or the website needs additional test configuration and may normal configuration cause an error because I face the following error
Test Run Error. Cannot initialize the ASP.NET project ‘WebUIController’.
Exception was thrown: The web site could not be configured correctly; getting ASP.NET process information failed. Requesting ‘http://localhost:3352/VSEnterpriseHelper.axd’ returned an error: The remote server returned an error: (500) Internal Server Error.
You can check here a bug that closed because it can’t reproduced on Microsoft for this error
Microsoft Connect, click to see the bug
So let’s start
You can look at the following link for more information
Open forbedding pattern policy
Enter reguler expression that prevent .minifie files from from committed
Done.
How to prevent some file from committed to the source control
Now bind or unbind the files you want
That’s it
You can go to my episode 1 and download the process that I will use click-here
You can download my process template from the episode 1 as I mention before
Just queue a new build and open click on view log and you will see it log your build number
How to get infromation from the buildDefinition
That’s it
First Issue:
The Package folder that auto generated doesn’t generated on the Team build, the reason was very easy, because I don’t have Visual Studio installed on the Server machine, so by Installing the visual studio everything is now working and the generated package folder now exist.
Second Issue:
How to deploy the project to another machine, so you have to write the post build as the following
if “$(ConfigurationName)” == “Test” “$(TargetDir)_PublishedWebsites\MyProject_Package\MyProject.deploy.cmd” /Y /M:YourServerName/u:YourUserName /p:YourPassword
For more information with how to make package and deploy it using MSDeploy click-here
Note:
You have to see Ewald Hofman post because my post depend on it, because I didn’t want to repeat any examples
Part of the log file as the following
===================================================================
Using “AjaxMin” task from assembly “C:\Program Files\MSBuild\Microsoft\MicrosoftAjax\ajaxmintask.dll”.
Task “AjaxMin”
Done executing task “AjaxMin”.
Done building target “AfterBuild” in project “MVCWithAjax.csproj”.
===================================================================
And after hard investigation I found the solution, the problem was that when I set the build definition I make the drop folder inside the D:\ drive and the Team build copy the source code to the C:\build\…., so the AjaxMin can’t find any CSS or js in the whole D:\ drive, only dlls.
And because the AjaxMin use search criteria to find the files and if it didn’t find just doesn’t do anything so it doesn’t give me any error in the log file as you can see, so all I had to do just change the path to the CSS and JS to my source folder on the Team Build server as the following
Remember how to use the partial path, its very important to know how to include a file and what is the wild card that you can use to refer to the path you want, here you can find good link to the MSDN that describe this point, click-here