Diagnostic doesn't work properly

Hi all,
we have a problem with the diagnostic. Both locally and remotely the diagnostic tool seems to write the diagnostic information only when "it wants" (sometime it does it, sometimes doesn't).
Here our configuration file:
ServiceDefinition.csdef
<ServiceDefinition name="Cryptobrand_compress" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2014-01.2.3">
  <WebRole name="Compression" vmsize="ExtraSmall">
    <Sites>
      <Site name="Web">
        <Bindings>
          <Binding name="Endpoint1" endpointName="Endpoint1" />
        </Bindings>
      </Site>
    </Sites>
    <Endpoints>
      <InputEndpoint name="Endpoint1" protocol="http" port="80" />
    </Endpoints>
    <Imports>
      <Import moduleName="Diagnostics" />
    </Imports>
    <LocalResources>
      <LocalStorage name="Compression.svclog" sizeInMB="1000" cleanOnRoleRecycle="false" />
    </LocalResources>
  </WebRole>
</ServiceDefinition>
ServiceConfiguration.Local.cscfg
<ServiceConfiguration serviceName="Cryptobrand_compress" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="4" osVersion="*" schemaVersion="2014-01.2.3">
  <Role name="Compression">
    <Instances count="1" />
    <ConfigurationSettings>
      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
    </ConfigurationSettings>
  </Role>
</ServiceConfiguration>
ServiceConfiguration.Cloud.cscfg
<ServiceConfiguration serviceName="Cryptobrand_compress" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="4" osVersion="*" schemaVersion="2014-01.2.3">
  <Role name="Compression">
    <Instances count="1" />
    <ConfigurationSettings>
      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=betatwo;AccountKey=OUR_ACCOUNT_KEY==" />
    </ConfigurationSettings>
  </Role>
</ServiceConfiguration>
Web.config
<configuration>
  <!--  To collect diagnostic traces, uncomment the section below or merge with existing system.diagnostics section.
        To persist the traces to storage, update the DiagnosticsConnectionString setting with your storage credentials.
        To avoid performance degradation, remember to disable tracing on production deployments.  -->
  <system.diagnostics>     
    <sharedListeners>
      <add name="AzureLocalStorage" type="Compression.AzureLocalStorageTraceListener, Compression"/>
    </sharedListeners>
    <sources>
      <source name="System.ServiceModel" switchValue="Verbose, ActivityTracing">
        <listeners>
          <add name="AzureLocalStorage"/>
        </listeners>
      </source>
      <source name="System.ServiceModel.MessageLogging" switchValue="Verbose">
        <listeners>
          <add name="AzureLocalStorage"/>
        </listeners>
      </source>
    </sources> 
    <trace>
      <listeners>
        <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
          name="AzureDiagnostics">
          <filter type="" />
        </add>
      </listeners>
    </trace>
  </system.diagnostics>
  <system.web>
    <compilation debug="true" targetFramework="4.5.1" />
  </system.web>
  <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <!-- To avoid disclosing metadata information, set the value below to false before deployment -->
          <serviceMetadata httpGetEnabled="true"/>
          <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
          <serviceDebug includeExceptionDetailInFaults="false"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
  </system.serviceModel>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
    <!--
        To browse web app root directory during debugging, set the value below to true.
        Set to false before deployment to avoid disclosing web app folder information.
    -->
    <directoryBrowse enabled="true"/>
  </system.webServer>
</configuration>
Note: if we try to "View/Update Diagnostic Data" from Server Explorer, we receive the following exception:
Could not retrieve the current diagnostic configuration or this role instance.
Thank you for your support.
Attilio Gelosa

Hi Attilio,
Thanks for posting!
From your description, I suggest you could try those approaches:
1.enable and configure the setting:
then, your projects could auto create a new file: diagnostics.wadcfg.
2. you could add this configuration setting into your code, like this:
var config = DiagnosticMonitor.GetDefaultInitialConfiguration();
CloudStorageAccount cloudStorageAccount =
CloudStorageAccount.Parse(
RoleEnvironment.GetConfigurationSettingValue(
"Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"));
// Get the perf counters
config.PerformanceCounters.ScheduledTransferPeriod = TimeSpan.FromMinutes(1);
// Add the perf counters
config.PerformanceCounters.DataSources.Add(
new PerformanceCounterConfiguration
CounterSpecifier = @"\Processor(_Total)\% Processor Time",
SampleRate = TimeSpan.FromSeconds(30)
config.PerformanceCounters.DataSources.Add(
new PerformanceCounterConfiguration
CounterSpecifier = @"\Memory\Available MBytes",
SampleRate = TimeSpan.FromSeconds(30)
DiagnosticMonitor diagMonitor = DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", config);
You could add those code into your onstart() method.
Please see this tutorials:
http://msdn.microsoft.com/en-us/library/azure/dn186185.aspx
http://channel9.msdn.com/Events/windowsazure/Windows-AzureConf-2013/Debugging-and-Monitoring-Windows-Azure-Cloud-Services
http://msdn.microsoft.com/en-us/magazine/ff714589.aspx
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • My palm m105's touch screen doesn't work properly after a sync.

    I dug out my old m105, put new batteries in and start it. On first launch it auto runs the alignment tool, and after touching all the points it goes to the main screen and works fine. No problem till here.
    Now, I plug it into my old computer which still has the palm software with my apps, and I run the sync operation (from the palm device sync manager, cause I lost my cradle and I'm connected via the serial cable), and it syncs fine BUT, here comes the problem, when it finishes the sync (successfully) the touch screen is all misaligned. I can't go back to the home screen or do anything useful.
    My palm m105's touch screen doesn't work properly after a sync.
    I dug out my old m105, put new batteries in and start it. On first launch it auto runs the alignment tool, and after touching all the points it goes to the main screen and works fine. No problem till here.
    Now, I plug it into my old computer which still has the palm software with my apps, and I run the sync operation (from the palm device sync manager, cause I lost my cradle and I'm connected via the serial cable), and it syncs fine BUT, here comes the problem, when it finishes the sync (successfully) the touch screen is all misaligned. I can't go back to the home screen or do anything useful.
    Thanks in advance!
    Post relates to: Palm m105
    Post relates to: Palm m105

        Maldoman578,
    Let's help solve this mystery together! Is your screen freezing after every reboot? Is there any physical/liquid damage on the device? When did this issue begin? Did you notice this after a recent update or application download?
    EfrainM_VZW
    Follow us on Twitter @VZWSupport

  • My Safari doesn't work properly after installing Lion.  Don't like it, how can I uninstall? (Cloud not worth it)?

    I upgraded ti Lion 10.7.2 for icloud but it's causing other problems with my mac.  My Safari doesn't work properly anymore.  Wishing I didn't upgrade, anyone know how to fix this or do i just have to uninstall?  Thanks,

    Wipe the drive clean and install Snow Leopard from your install disk.
    Might be less work fixing Safari. Try Resetting Safari.

  • I have an iphone 3GS and I have upgraded it to iOS 6. Since then it doesn't work properly. Every now and then it has been restarting by itself and requiring restore. When I connect it to itunes it restarts again and again. Is there any solution?

    I have an iphone 3GS and I have upgraded it to iOS 6. Since then it doesn't work properly.
    Every now and then it has been restarting by itself and requiring restore. When I connect it to itunes it restarts again and again without letting me take any action. Is there any solution?

    Hey, There are afew things you can try.
    - Simply turn your phone off and back on again
    - Hold down your home button and your lock button and let goes as soon as the screen goes black (Phone will power down) - Then turn on your phone and hey presto!
    - Back up your iPhone to your PC, then restore it..
    this ones last cause I think you may have tried it already..
    - Close all open applications
    Hope this helps!
       Kieran.

  • HT1923 The sync function on my iPod Touch 3rd generation doesn't work properly.  My OS is up to date, but some of my podcasts won't transfer onto the iPod, and it won't delete ones I've already listened to.

    The sync function on my 3rd gen iPod Touch doesn't work properly.  It won't sync all the podcasts I've downloaded, and it won't delete ones I've listened to and deleted on iTunes.

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 &amp; above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • What can I do if my CD or DVD drive doesn't work properly in Windows 8?

    QuestionWhat can I do when if my laptop CD or DVD drive doesn't work properly in Windows 8?
    AnswerNote: For help with this issue in Windows 7, please see this article.
    To get your CD or DVD drive working correctly, try these suggestions in the order listed.
    Reinstall the Driver
    Hold the Windows key and press the 'x' key to open a menu in the lower-left. In this menu, select "Device Manager." Expand "DVD/CD-ROM drives." Right-click the entry for the CD/DVD drive nested under "DVD/CD-ROM drives," then select "Uninstall." Finally, restart the computer. The computer will reinstall the drivers for the drive.
    Power Cycle
    Even when your laptop is off and unplugged, residual power can still be held in some components. While this is normal, clearing it can help with some hardware problems. Perform these steps to complete what’s called a power cycle.
    Ensure the laptop is turned off.
    Unplug the laptop's AC power cable.
    Unplug all wires and peripherals. This includes CDs, DVDs, USB sticks, mice, printers, and any other accessories.
    Remove the battery (if the model has a removable battery). If the model does not have a removable battery, check your user's guide to determine if you have a pinhole reset on the bottom. If you do, press this.
    Hold down the power button for thirty seconds.
    Reattach the battery if removed.
    Connect the AC adaptor to the power socket that was confirmed to be working in the first step.
    Connect the other end of the AC adaptor to your computer.
    Start the computer and test the drive
    Microsoft Fix-it
    Your computer may exhibit one or more of the following symptoms:
    Your CD or DVD drive no longer appears in Windows
    Your CD or DVD drive does not read or write and is shown as disabled
    The media in your CD or DVD drive cannot be read
    The media cannot be written to a CD or DVD inserted into the drive
    You receive an error message about your CD or DVD drive
    If any of these symptoms apply to your computer, use Microsoft Fix-it troubleshooter available here.
    System Restore
    Try using System Restore to restore to the most restore point from before the problem arose.
    How To: Understanding System Restore, Refresh, Reset, and, Recovery options in Windows 8 + Video
    System Recovery
    If the System Restore doesn't solve the issue, you could try a System Reset. Resetting your laptop to its original, out-of-the-box state is a great way to eliminate software as a possible cause of the problem. Note that doing a system reset will return the laptop to its default conditions, completely wiping your data. Information on how to perform a system recovery can be found in your user's guide.
    For more information on performing a recovery, see the following article:
    How To: Understanding System Restore, Refresh, Reset, and, Recovery options in Windows 8 + Video
    Contact Customer Support
    If the drive doesn't work after performing a recovery, it may be due to hardware failure. Please call customer support or seek servicing.

    See this Microsoft article - http://support.microsoft.com/kb/314060/en-us  For ways to fix manually
    and/or use the proper microsoft fixit 8.1 and 8 or the other one for Windows 7, Vista, and XP listed below.
    (these are from the Microsoft article)
    Resolution 2: Use the CD/DVD Fix it troubleshooter
    To automatically fix common issues with CD or DVD drives, click Run now, and then follow the on-screen instructions. Windows 8.1 and Windows 8   
    The Automatically diagnose and fix common problems with CD or DVD drives troubleshooter may automatically fix the problem described in this article.
                                    This troubleshooter fixes many problems. learn more
    Run now
    Windows 7, Windows Vista and Windows XP
    The Automatically diagnose and fix common problems with CD or DVD drives troubleshooter may automatically fix the problem described in this article.
                                    This troubleshooter fixes many problems. learn more
    Run now
    If your problem is not solved, try the next
    S70-ABT2N22 Windows 7 Pro & 8.1Pro, C55-A5180 Windows 8.1****Click on White “Kudos” STAR to say thanks!****

  • Satellite Pro L20 doesn't work properly with USB Fast Track audio i.f.

    Hello!
    I have used my Fast Track USB on new Toshiba Satellite L40 and I never had problems with it. I could set low latency and I did few songs with it.
    Yesterday I bought another notebook, thinking of home recording studio. It's used Toshiba Satellite Pro L20. It doesn't work properly with my interface. When I listen music on Winamp or do anything on Fruity Loops I hear loud clicks, pops, noises. They introduce samples, or they appear during playback or after a sample is stopped.
    I noticed, drivers for Satellite Pro L20 are a problem. Its not supported by Toshiba anymore?! The only drivers for chipset are very old and you can download em only from Toshiba website. The chipset is ATI Xpress 200M. Its drivers are with graphic card. Recently I noticed you can download "ATI Catalyst Legacy Display Driver for Windows XP - Motherboard/IGP Drivers 9.11" and CRACK IT to make it possible to install on mobile unit such as L20. Yep its funny but its impossible to do otherwise!
    things I have tried and they still not help:
    # drivers replacement, original were released in 2004. I installed recent version.
    # driver settings, low latency, high latency
    # asio and different settings
    # pluging the interface to another usb socket.
    # trying what happens when I use battery and when I use adapter
    # updated bios
    # turned off onboard units such as wifi card, sound card
    # checked IRQ list
    pops still appear.
    my config:
    Toshiba Satellite Pro L20
    Win XP Home SP3
    Celeron M 1,5GHz
    896Mb ram
    M-Audio Fast Track USB, drivers: 6.0.2
    Kind regards

    Thanks for answer. I still have L40 but I try to run my homerecording on L20. The L40 is now used by whole my family. It's possible to swap them but there's a problem - L20 has Norway keyboard and I'm the only person at home who doesn't often look down while typing. In Poland, we use standard ms keyboard. I'd buy special stickers, it's about only to make special chars get back to their places.
    I installed Windows on this computer end set it to best performance possible.
    Since I created this thread, guys from M-Audio support tried to solve my problem - nothing helped. I think potential solutions are exhausted.
    Message was edited by: lidia.pochron

  • Hp laserjet P1006 doesn't work properly

    my Hp laserjet P1006 doesn't work properly on my windows 7(64-bit) and whenever I try to print a page the orange light just flashes and then the green light flashes and then it doesn't print at all.I've tryed everyway including reinstalling the software or even turning it off and then turning it on.Pleaseeeee.............help!!!!!!!!!!!

    Hello
    I understand you are no longer able to print with the P1006 on Win8.1.
    Did you uninstall the P1006 first?
    If not uninstall and reinstall the printer software again.
    Both drivers are the same if you look at the version on the website and should still work with the Win8.1.
    If you need more assistance just let me know.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Lightroom 5: start button in the presentation module doesn't work properly

    Hi. I purchased LR 5 last week but the start button in the presentation mudule doesn't work properly. I get a black screen and nothing happens. I have to press the esc button several times to return to LR.Can you help me please
    Regards Eugene

    start button in the presentation mudule
    Can you clarify?
    There is no start button nor a presentation module.
    Do you mean the Play button in the Slideshow module?
    Which operating system?

  • The cable doesn't work properly when connected as data cable.

    Hi,
    I have recently encountered problem of the cable. The thing is that if i use it just for charging with the plug, it works fine. But when i wanna use it with computer (i.e., accessing itunes, etc) or with my car, it doesn't work properly, it keeps switching between charging and discharging very fast. I will appreciate your quick support!
    Regards,
    Farhan

    Just for all the people to know, I found out the solution. You have to mark the correct side of the charging cable which connects at inlet of the phone. Because this point acts as a chip when used as data cable or auxiliary use (car,etc). That's why it charges with the plug on any side. I don't know what's the frequency of it happening to iphone 5s users, because I bought it recently (iOS 7.1.1) Hope it helps to others in future.

  • Key Command for "Go to Next Marker" doesn't work properly

    Hi there!
    While using Logic Pro 9.1.8 with Mountain Lion (10.8.2), it seems that the Key Command for "Go to Next/Previous Marker" doesn't work properly.
    The only effect is, that a grey rectangle moves in the top of the Arrange Area while ignoring the Markers itself.
    Any suggestions to solve it or is it me that is misbehaving?
    Cheers, GJ

    Hi
    The commands work correctly here on the same OS etc: Cycle Locators jump to the next/prev marker and the Playhead jumps to the Start of the Marker.
    Default KC are Control Command +Arrow Left/right
    Step 1: check you are using the correct key command :-)
    CCT

  • The middle button on my iphone 4 doesn't work properly what can I do about it?

    the middle button on my iphone 4 doesn't work properly what can I do about it?

    Make an appointment with the genius and bring to the Apple Store.

  • I imported videos from photo into iMovie when I set up iMovie (obvious mistake) and now iMovie doesn't work properly, nor can I move specific videos into a folder where I want them. How do I fix this?

    I imported videos from photo into iMovie when I set up iMovie (obvious mistake) and now iMovie doesn't work properly, nor can I move specific videos into a folder where I want them. How do I fix this? I even tried deleting iMovie, bought a new copy and installed it, but the folder "iPhoto Videos" is still there and I can't get new clips loaded to iMovie, especially where I want them. Please help.

    The iPhoto Videos do occasionally have problems. I've seen a lot of people write messages to this Discussion group describing similar problems. The only thing that seems to get around this problem is to pull the video clips out of iPhoto then import them directly into iMovie. Once the troubles with iPhoto Videos starts, I haven't yet seen anyone write back with something that they did to fix it.
    The most difficult part of doing this is the movies in iPhoto might be a little difficult to track down. But you can create a smart alum that does that for you. Go to iPhoto > File Menu > New Smart Album:
    Set the first pulldown menu to keyword, second to contains, then in the last box type Movie with a capital 'M'. Then click OK. This smart album more or less does as search of the whole iPhoto Library and only displays items that match your search tearm of "Movie" exactly. In that smart album then you can find the original Movies you want to move out of iPhoto and into iMovie, <CTRL> click on the Movie clip, then choose Reveal in Finder. That will jump you out of iPhoto temporarily and into the iPhoto Library folder. From there you can move that movie file to the desktop. Move all the clips you want, once they're all collected up go to iMovie and go to the File Menu > Import Files. Then point it to the desktop where you moved your video clips.
    This will put all those videos into an Event folder in iMovie and bypass iPhoto Videos altogether.

  • Site doesn't work properly

    Hi all, I'm PHP programmer, and i have some questions in my area. I have 3 Apple computers (MacBook Air, MacBook and MacBook Pro). There is one site, made by our group, that doesn't work properly on my MacBook Pro and MacBook Air, while other sites work excellent on that 2 computers. And what is more interesting, site, that doesn't work on my MacBook Pro and Air, WORKS on my windows computer, and WORKS on my MacBook. I tried to use this site from different internet provider, but problem was steel actual. I asked 2 of my friends to try this site on their MacBooks Pro - the same (it doesn't work properly, links don't open), but any other computer (under windows, or iPad, or my Macbook) can work with this site excellent. Can anybody help with this? Are there any specifications in program code to MacBook Air work with that site also excellent?

    It's working, after using Cyberduck to FTP.

  • A65-S159 - I can't use the CD Recovery because my CD/DVD doesn't work properly

    Hi, I need help to reinstall the system and drives. It's a Satellite A65-S159. The CD/DVD doesn't work properly. Rarely, the CD/DVD can read a DVD. So I can't use the CD Recovery. What may I do?
    Thank you,
    Cabula, Brazil

    There are two ways to run the recovery DVD, one is from Windows.  Instead power ont he computer with the disk in the drive.  And imediatly after powering on start pressing the F12 key.  After a few seconds you should see a boot device menu that you can select the CD/DVD drive to boot from.  Try that and let us know if you got the boot menu, and if the disk worked.
    This signature left intentionally blank.

Maybe you are looking for