Windows Azure - The current service model is out of sync

Viewed 10827

When I run a Windows Azure web role on my local developer fabric, I get the following error:

The current service model is out of sync. Make sure both the service configuration and definition files are valid.

11 Answers

For me, the issue turned out to be an inconsistency between the vmName value I had assigned to one of my roles in my various environments. I have a *.cscfg files for my development, test, and production environments. Each of these had a role definition that was supposed to be along the lines of

   <Role name="HardWorker" vmName="SomeName">...</Role> 

but one had an entry like

   <Role name="HardWorker" vmName="SomeOtherName">...</Role> 

and that, apparently, was enough to trigger the error.

Related