I deploying the webRole application. It is successfully deployed. But after applying the Azure caching(Preview) to my default cache of the Web role its not deployed..Shown the following the message more than 1 hr. Instance 0 of role WebRole1 is in an unknown
state.. System startup tasks are Initializing and running properly. But the webrole is busy for long time.
My azure SDK version 1.7. i just enabled caching in caching tab of the web role properties. The web.config file looks like,
<dataCacheClients>
<tracing sinkType="DiagnosticSink" traceLevel="Error" />
<dataCacheClient name="default">
<autoDiscover isEnabled="true" identifier="WebRole1" />
<!--<localCache isEnabled="true" sync="TimeoutBased" objectCount="100000" ttlValue="300" />-->
</dataCacheClient>
</dataCacheClients>
servicedefinitionfile lks like,
<Imports>
<Import moduleName="Diagnostics" />
<Import moduleName="RemoteAccess" />
<Import moduleName="RemoteForwarder" />
<Import moduleName="Caching" />
</Imports>
<LocalResources>
<LocalStorage name="Microsoft.WindowsAzure.Plugins.Caching.FileStore" sizeInMB="1000" cleanOnRoleRecycle="false" />
</LocalResources>
Configuration settings of cloud configuration file looks like,
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.Loglevel" value="" />
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.CacheSizePercentage" value="30" />
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.ConfigStoreConnectionString" value="UseDevelopmentStorage=true" />
My Web role name is WebRole1. Am uninstall all previous version of azure sdk and try only sdk version 1.7 only. Because i read the version compatablity error like. At last uninstall the azure sdk version1.7 and reinstall it and check. It wont work..
3:00:41 PM - Instance 1 of role WebRole1 is in an unknown state
3:01:47 PM - Instance 0 of role WebRole1 is starting the virtual machine
3:01:47 PM - Instance 1 of role WebRole1 is starting the virtual machine
3:03:57 PM - Instance 0 of role WebRole1 is busy
3:03:57 PM - Instance 1 of role WebRole1 is busy
Instance 1 of role WebRole1 is cycling atlast..
Atlast shown the following the error message. Solution to this type of error.
There was no endpoint listening at https://management.core.windows.net/7690051c-c52b-4c6d-865e-591a05788f5a/operations/382c6bcd6a6b4867b6cd4fc9c0f9ab44 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException,
if present, for more details.
![]()
Role instances recycled for a certain amount of times during an update or upgrade operation. This indicates that the new version of your service or the configuration settings you provided when configuring the service prevent role instances from running.
The most likely reason for this is that your code throws an unhandled exception. Please consider fixing your service or changing your configuration settings so that role instances do not throw unhandled exceptions. Then start another update or upgrade operation.
Until you start another update or upgrade operation, Windows Azure will continue trying to update your service to the new version or configuration you provided
3:21:05 PM - Deployment failed with a fatal error
P.Mythili