Friday, March 16, 2007

Setting ASP.NET Version via Script

Say you have a web server running multiple versions of ASP.NET. Various applications, for better or for worse, depend on a specific version of ASP.NET (e.g. it works under 1.1; throws errors under 2.0).



Here is a function for setting the version using ADSI automation:

Code snippet moved to a dedicated blog for readability

8 comments:

  1. Thank you very much. It took a lot of time for me to find it, but came across your blog, and its wonderful.

    Thanks again.

    Chanakya

    ReplyDelete
  2. I think, that you are not right. I am assured. Let's discuss. Write to me in PM, we will talk.

    ReplyDelete
  3. NOW YOU CAN PERFORM LIKE A YOUNG LIONONCE AGAIN!

    It’s true: we’re all getting older. And while some say age is all in the mind, it does sometimes show

    in the body — when you can’t seem to perform the same in the bedroom as you used to. Now there’s

    Excel, an all-natural solution to your woes between the sheets.

    We’ve carefully blended a proven mix of herbs that will take years off your age, letting you perform

    in bed like the young lion you once were. You’ll feel like you’re back in your 20s — or even younger —

    after taking Excel for just a few short weeks. And renewed sexual prowess won’t be your only benefit:

    you’ll also feel less anxious, more relaxed, and healthier overall, thanks to the bonus properties of

    our 100% pesticide-free herbal ingredients. Some of our ingredients, long used as aphrodisiacs around

    the world, even intensify the pleasure you feel at your partner’s touch. Imagine all of these benefits

    — with no side effects to speak of!

    ReplyDelete
  4. Merry Christmas! Let the new year will bring a lot of money

    ReplyDelete
  5. Beautiful post, great ))

    ReplyDelete
  6. Thank you very much for such amazing ideas!!! I'll be your follower, lots of interesting stuff here.

    ReplyDelete
  7. Dear friends, when I play a joke on not asked in support of include anyone to mitigate, but life is such a fiendish act, that
    organize to ask for help. I'm in a very key locale, ask Your friends, help
    they can, how much can. I will-power be pure appreciative to You.
    Perfect Money U 1557851 E 1512655 post: alexxx767@gmail.com
    PayPal : alexxx767@gmail.com

    ReplyDelete