« Previous Next »

Thread: setting .net version and app pool

Last post 09-10-2008 12:47 AM by seraph5186. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 07-12-2008, 6:36 PM

    • dlynn
    • Not Ranked
    • Joined on 07-12-2008, 10:30 PM
    • Posts 3

    setting .net version and app pool

    I am trying to automate the install of a program in IIS 6. It runs with .Net 1.1, where other programs use 2.0. I created the web site with the iisweb tool and the app pool to run it in with adsutil. However, I haven't found a way to programmatically set the .Net version of the site to 1.1 or to set the site's app pool.  I'm game for either command-line options or writing a vb script to do it. Thanks for any help.

  • 07-12-2008, 10:56 PM In reply to

    Re: setting .net version and app pool

    aspnet_regiis.exe is the ticket.

    http://msdn.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx

    It's located in c:\windows\microsoft.net\framework\version#

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 07-12-2008, 11:49 PM In reply to

    • dlynn
    • Not Ranked
    • Joined on 07-12-2008, 10:30 PM
    • Posts 3

    Re: setting .net version and app pool

    in another install, I use that with the -r flag, but that sets all sites in IIS to use that version of .Net. Maybe I'm missing it, but I didn't see a flag to only set a given site to that version of .Net
  • 08-14-2008, 2:26 PM In reply to

    Re: setting .net version and app pool

     look at aspnet_iisreg -s

     

     

  • 08-15-2008, 5:22 PM In reply to

    Re: setting .net version and app pool

    we use aspnet_regiis -sn for updating to v2 framework for a specific directory

  • 09-10-2008, 12:47 AM In reply to

    Re: setting .net version and app pool

    you can programe the property scriptmaps of iis metabase by WMI and replace the version number to all dlls which have different version
Page 1 of 1 (6 items)
Microsoft Communities