Category Archives: Infrastructure

Could not load file or assembly ‘Microsoft.AnalysisServices, Version=11.0.0.0

If you’re getting the following error upgrading TFS 2012 RTM to ver. 2012.3: TF255356: The following error occurred when configuring the Team Foundation databases: TF400711: Error occurred while executing servicing step Upgrade Warehouse for component UpdateWarehouseVersion during FinishInstallUpdates: Could not … Continue reading

Posted in Infrastructure | Tagged , , | Leave a comment

How to issue a self-signed certificate

To have a properly working SSL web site you have to assign a SSL certificate to it. A real one costs real money. Easily especially for development to issue a self-signed one. To create certificates I will use MakeCert.exe that … Continue reading

Posted in Infrastructure | Tagged | Leave a comment

How to start and stop windows service using single batch file

echo off set service=MyService for /f “tokens=3” %%a in (‘sc query “%service%” ^| find “STATE”‘) do ( if %%a==4 goto running goto stopped ) :stopped sc start %service% goto :eof :running goto :eof

Posted in Infrastructure | Leave a comment