Got this error while trying to get this Azure Autoscale demo project with WASABi from the Enterprise Library 5.0 Integration Pack for Windows Azure working. Error thrown when all instructions followed correctly is:
Activation error occured while trying to get instance of type
Autoscaler, key “”
at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Typ
e serviceType, String key) in
c:\Home\Chris\Projects\CommonServiceLocator\main\M
icrosoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs:line 57
at
Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstanceTSe
rvice in
c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices
.ServiceLocation\ServiceLocatorImplBase.cs:line 90 at
PB_WASABi_autoscaler.Program.Main(String[] args) in
c:\Users\daniel\Documents\Visual Studio
2012\Projects\PB-WASABi-autoscaler\PB-WASABi-autoscaler\Progr
am.cs:line 13
Windows Azure 1.7 libraries are used.
Tutorial (and other online sources) mostly use Azure 1.6 SDK.
Solution:
Source: here