I am trying to integrate the autoscalling block in to a worker role in order to auto scale another azure application.
My worker role is running the emulator environment on my computer.
I've edited the app.config of the worker role in order to have all the relevant configuration (Rule store, service information store etc...) to a storage in azure.
At the on start of the worker role just after the
autoscaler = EnterpriseLibraryContainer.Current.GetInstance<Autoscaler>();
i see in the debug output the following:
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.dllA first chance exception of type 'Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.DataPointsCollection.DataPointsCollectionException'
occurred in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.dll
Any help will be appreciated
More info will be provided if needed.