AI - why won't you let me love you? Upgrade to new version pegs my CPU. Uninstall breaks IIS core

I've been a happy consumer of the first version AI for some time. I wrestled quite a bit with it to get it to work with my code base, eventually opting out several of my namespaces in ApplicationInsights.config so that the CPU on my web servers wouldn't
go to 100%. I got it worked out with Sergey's guidance and happily enjoyed the data it provided up until now.
I recently decided to upgrade to the new Azure-based AI by installing the latest nuget package via the AI tooling in vs.net 2013 and the AI Status Monitor on my web servers. I tried a to deploy the updates last night and my nightmare has returned as my CPU
goes back to 100% for one of the servers.  
It is slightly different this time in that it only pegs one of my servers. If I bring that pegged server down, the other one pegs.
What's worse is that if I try to uninstall the AI Status Monitor it brings down my web server because it somehow corrupts Windows Process Activation Service which the WWW Publishing Service depends on. The Process Activation Service fails to start with a
'The parameter is incorrect' message. If I reinstall AI Status Monitor the process activation service and web service both start successfully. I had to leave it installed and use the AI Status Monitor interface to unregister all apps on the web server in order
to bring my prod app under control.
I don't see any documentation on the new AI.config file (the link to documentation that is added to the config file doesn't actually take you to information about the config schema) so I don't know how to opt out those same namespaces to see if I can make
the new version work. Can you provide some guidance?
One other issue - removing the NuGet package from my web projects did not remove some lines from my csproj file, specifically the <Target Name="EnsureApplicationInsightsImported"> and <Import Project="..\packages\Microsoft.ApplicationInsights.0.12.0-build17386...>
nodes.

Oh... These AI bugs that we know and love!... And, yet, you just pegged them :)
But, let me start from the beginning...
Last time I fell asleep I dreamt of Status Monitor causing AI Nuget server to fail on IIS start although Status monitor has been removed already... I woke up in sweat
and tears hoping for this to be just a bad dream but it turned out that the nightmare was a cruel reality and AI Nuget server could not start for real that day..
I won't forget that glorious moment when "The workaround" descended upon myself: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WAS\Environment
registry key value should be removed to make WPAS working again (although the value is empty after Status Monitor uninstall, it needs to be removed completely...)
Later, in the evening that was as dark as the mother of the nights, my silly attempts to remove AI from the web project turned into yet another buggy-like creature staring
at me from the csproj file: the mighty artifact “Leftover AI targets” (+2 to garbage in the project file) was there. It turned to be yet another known bug with a manual workaround as you can guess…
I whispered into this darkness asking teammates for the documentation but my whisper was met by nothing but a dead silence that kept me thinking that there is none and
all I have is to use web search and
AI landing page.
What happened next is even harder to imagine (though much funnier
J)… The very next morning I was trying to prove to AI team that I do not post questions on the forum under a pseudonym “J Kewley”
and I do not try to make fun of AI team that way…
Therefore, I write this to sum up our experiences and, hopefully, answer some of the questions.. The bugs are in the backlog and can make it into the next AI release, please try to work around
the problems till then.
The CPU issue is entirely separate beast, though, - the reason of such degradation should certainly be different between “old” & “new” AI.
Previous data collection logic was MMA-based and the present collection logic isn’t, so there is no namespaces to enable/disable in the new version at all.
Could you please describe the application/situation in more details to track this one down:
-   What is the application technology?
(MVC/Web API/…)
What’s the load on the application and how load is distributed across instances?
- Does w3wp.exe process consume all CPU when the issue happens or there is something else?
Maybe you can share the dump?
Dmitry Matveev

Similar Messages

  • Help why won't photoshop let me edit my photos anymore?

    Why won't photoshop let me edit my photos I am a photographer and my photos need more editing but photoshop will open the tools but nothing happens with any of the tools!

    Too little information …
    Could you please post a screenshot with the pertinent Panels visible?
    Boilerplate-text:
    Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by keeping command-alt-shift/ctrl-alt-shift pressed while starting Photoshop after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)?

  • Why won't iChat let me add a new account?

    I recently deleted my iChat account and I do not want to use Bonjour List. I am on the administer account and there are no other accounts created on my computer. Parental controls are also not on. Why won'y iChat let me add a new account, I am trying to add my AIM account. If you could please help me.
    Thank you,
    Brooke Russell

    Are you in a newly defined Local Site Folder?
    Which operating system?
    Which ver and build # of DW are you using?
    Nancy O.

  • Why won't Apple let a screen recorder on the App Store

    Hi why won't Apple let screen recorders on the App Store?

    You'd have to ask Apple. We wouldn't know - we are just users like you.
    Sorry,
    GB

  • Why won't safari let me open my school website in its browser?

    why won't safari let me open my school website in its browser?

    I can access it fine with the iMac in my profile running Safari 5.0.5
    What OS versions is on your Mac and what version of Safari are you running.
    NOTE: "iOS" is not a computer operating system. It;s for Phone Pads, adn Pods. Your COMPUTER IS is probably 10.something, available from :Aboutt hsi Mac':

  • HT4743 When I try to buy a tv episode, it comes up with a message "problems communicating with itunes store, try later"  click ok and then another messge comes up to verify payment info online. Everything is correct.  Why won't it let me buy??

    When I try to buy a tv episode on apple tv, it gives me a message of "problems connecting with store, try again later".  I hit ok, and then another message comes up to go online and verify payment information.  I have done that, all info is correct.  Why won't it let me purchase?  This has been going on for days.

    I figured it out!
    I read a solution for something that sounded similar.
    Anyone in similar position:
    Open iTunes app on iPhone, and pick an option from bottom, such as music. Then scroll down to bottom of page and where your iTunes ID is, press on it, and pick sign out.
    Then return to home screen, and double press home button and press and hold on first icon showing, until a minus symbol appears in the top left of icons present. Press on each minus symbol on each app in turn, until all app icons have disappeared. Then Restart the phone by pressing and hold the home button and the on/off/standby button at top of phone, until the apple symbol appears in centre of blank screen.
    Swipe to turn phone fully on and open settings and scroll down to iTunes and apps option and tap that. Pick sign in and put in your apple ID, it will accept it and then return to home screen and open iTunes a you'll find it works fine
    Simple really, but some like me won't think f this themselves!
    Hope that helps

  • Why wont google chrome let me play you tube videos as all I get is a black scfeen with no control iocons??? ps help I've  but made n o diff. tried clearing cashe's  and browsing data but made no diff grrr

    why wont google chrome let me play you tube videos as all I get is a black scfeen with no control iocons??? ps help I've  but made n o diff. tried clearing cashe's  and browsing data but made no diff grrr

        Check  whether you are currently  in  YouTube HTML 5 trial?
         http://www.youtube.com/html5
        At the bottom  left of the page  uncheck the box for
       "You are currently in the HTML5 trial".

  • Why won't my apps in itunes load to my new iphone 5s?

    why won't my apps in itunes load to my new iphone 5s?

    No idea.  You didn't provide any details or tell us what happens when you try...

  • Why won't apple allow current "AppleCare" holders upgrade to "AppleCare "? Doesn't this seem unfair for such a giant in the tech industry to not offer such an opportunity?

    Why won't apple allow current "AppleCare" holders upgrade to "AppleCare "? Doesn't this seem unfair for such a giant in the tech industry to not offer such an opportunity?

    Sorry - not understanding. What do you mean by "upgrade"? When you purchase an Apple Product, you get AppleCare automatically - 90 Days of Telephone Support, and a 1-Year Warranty.
    You can then purchase an AppleCare Protection Plan for Mac, iPod, and Apple TV, or AppleCare+ for iPad or iPhone.
    AppleCare Protection Protection Plans can be purchased any time within the 1-year warranty period.
    Apple+ must be purchased within 30 days of purchase.
    AppleCare Protection Plan extends the warranty to 3 years for Macs, and to 2 years for Apple TV and iPod.
    AppleCare+ extends the warranty to 2 years for iPad and iPhone.
    There is no "upgrade"....You either purchase the extened warranty protection plan or you don't. And unlike most extended warranty plans, you are NOT required to purchase it at the time you purchase your Apple product.
    What's the beef here?
    GB

  • Why won't my ipod charge when i use my new usb

    why won't my ipod charge when i use my new usb is used?

    A new USB what? Cable? If the old one still works and the new one does not that would point to a bad new cable.

  • After I download Itunes, when trying to sync Ipod, message says "needs newer version of mobile support, uninstall Itunes, and reinstall Itunes, and the same process starts all over again. why is that?

    after I download Itunes, when trying to sync Ipod, message says "needs newer version of mobile support, uninstall Itunes, and reinstall Itunes, and the same process starts all over again. why is that?

    Try removing and then reinstalling the Apple software using these instructions.
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    The above containes a link for XP. Also. make sure you install the correct Apple software, It comes in 32 and 64 bit and you need the one that is the same as the computer OS

  • Itunes won't "read" because it was created by a newer version of itunes

    I just updated my operating system finally and when I try to open itunes I get : itunes won't "read" because it was created by a newer version of itunes.

    This error prevents iTunes from launching. The library file was modified to work with the newer iTunes version, so it is no longer compatible with the previous version. The good news, however, is that Apple does backup the iTunes library file into a subdirectory that you can use to revert back to the previous version.
    To recover a previous version of the iTunes Library.itl file, use the following steps:
    Open up your My Documents\My Music folder.
    We will first backup the current version. Rename iTunes Library.itl to something like iTunes Library.itl.bak.
    Go into the My Documents\My Music\Previous iTunes Libraries folder.
    You may see several files that start with iTunes Library and have a date included in the name. Copy the newest file in the folder.
    Go back to the My Documents\My Music and paste the file from the previous step.
    Rename the new copied file to iTunes Library.itl.
    Your library should now be restored to the previous version of iTunes, and you should no longer receive the message.

  • Anyone know why i cant upgrade to newer version of itunes , its coming with an error "ITUNES64.MSI FOLDER containing the installation package is missing ??

    anyone know why i cant upgrade to newer version of itunes , its coming with an error "ITUNES64.MSI FOLDER containing the installation package is missing ??Ive tried unistalling previous version but same message comes up

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Why doesnt my itouch 2.2.1 update to a newer version? Barely any apps work on it

    why doesnt my itouch 2.2.1 update to a newer version? Barely any apps work on it.

    This is a first generation iPod Touch?  If so, you have to purchase iOS 3.1 through the Apple Store - there are no further free updates for that device.
    http://support.apple.com/kb/HT2052

  • My IPAD won't accept my wi-fi password. I have tried resetting all settings and network settings but still won't accept it. Can't download to new version of IOS either, says software update server could not be contacted.

    my IPAD won't accept my wi-fi password. I have tried resetting all settings and network settings but still won't accept it. Can't download to new version of IOS either, says software update server could not be contacted.

    Yes I have put in the correct password, its all numbers so can't get it wrong really.
    It has connected before as has my iPod and that won't connect either. I have checked that they aren't on the blocked list of the wi fi. Managed to download the new version of iOS and that hasn't made a difference.
    I have the wi fi plugged directly into the computer rather than the booster hub as the computer won't connect to it when its in the hub. I did get the iPad to connect to the internet when it twas in the hub but once I upgraded the iOS it won't accept the wifi password in the hub either.

Maybe you are looking for

  • Iw72 service order + Link b/w operations and PRTs

    Hello Friends, So here is my problem. In transctin iw72 ( service order ) there is a tab called "operations". In tab operatinos I can attatch Resourse / tool ( table AFFH ( PRT assignment data for the work order )  and structure AFFHD (Structure of t

  • Problem with updating Adobe reader 9.4.6.252

    Hi, I am new at this so here goes. I am having a problem with downloading Adobe Reader 9.4.7. Every time I start the update it freezers my entire computer. The only way of fixing the problem that I have found that works is to turn the entire computer

  • How does skype to go work?

    hi, i am just wondering how this really works.. i just got this funtion on my skype last night, and i am still trying to understand how this really works... when i use skype to go, the system gave me a number which was supposed to replace the mozambi

  • DTW importing COGS Account in Sales Order

    What's the column of COGS Account in Sales Order template to import through DTW?

  • IPhoto Over Network

    I've read a number of threads on this and other forums that warn against putting iPhoto on a network drive.  Ok, fair enough.  But, like many I don't have capacity on my laptops for iPhoto anymore.  I do have a 1 TB Mac Mini that would suffice for qu