Diagnostics to find out why Azure Web Role doesn't start -


i trying deploy large web site azure web role. however, azure on instances tab of azure dashboard, tells me suffers error during start up, causing restart on , on again.

where can find log files tell me going wrong? manage.windowsazure.com site doesn't seem have any.

first, debug on dev machine. make sure deployed right .cscfg file, don't have broken connection strings, you're referencing right version of dlls (the same azure's vms) or copying newer versions azure. if fail, read this topic on windowsazure.com , topics in node on msdn. hello world code sample has basic demonstration of diagnostics should helpful.

the basics of diagnostics in windows azure:

  • must manually enabled each role importing diagnostics module in servicedefinition.csdef file
  • a storage location needs configured resulting logs in serviceconfiguration.cscfg file, such storage emulator, or windows azure storage account. depending on types of logs, stored in either blobs or tables.
  • you can either configure diagnostics collection programmatically or file read when role starts , can updated on-the-fly
  • you can set , control how diagnostics data downloaded storage account (important because transactions/transfer/storage costs money), performance counters, or other metrics need

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -