Windows Azure Development
Remember to update your DiagnosticsConnectionString before deploying
In the ServiceConfiguration.cscfg file, you have a DiagnosticsConnectionString which as a default is linked to local storage.
<Setting name="DiagnosticsConnectionString" value="UseDevelopmentStorage=true" />
When you deploy your package it will never start correctly (stuck in Busy/Initializing), because you could will be trying to log to the local storage, which doesn’t exist in the cloud.
Fixing this is easy:
- Create a storage account if you don’t already have one.
- In Visual Studio, bring up the properties of your project, then click settings.
- Click on the … next to the DiagnosticsConnectionString.
- Enter your storage details in the dialog.
- Save then deploy.
THIS POSTING IS PROVIDED “AS IS” WITH NO WARRANTIES, AND CONFERS NO RIGHTS
| Print article | This entry was posted by DavidAiken on May 28, 2010 at 2:47 pm, and is filed under Windows Azure. Follow any responses to this post through RSS 2.0. Both comments and pings are currently closed. |
Comments are closed.