can I progarmatically register asp.net to IIS?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chandan

    can I progarmatically register asp.net to IIS?

    Hi,
    I am using aspnet_regiss.e xe utility from command prompt to register
    asp.net to IIS. But my requirement is to do it programmaticall y so
    that client need not worry about this registration. Can we do this
    programmaticall y??

    Thanks
    Chandan
  • Cowboy \(Gregory A. Beamer\)

    #2
    Re: can I progarmatically register asp.net to IIS?

    Yes, use a Process object and fire it off.

    The only time this should be an issue is if you have installed .NET prior to
    IIS or you need to add a specific .NET version to a specific web. If the
    later is your problem, be careful, as you have to specify the root name and
    use a different flag than the aspnet_regiis -i you run to simply register
    ASP.NET version X in IIS. If you just run with -i, you will end up changing
    all sites to the version you specify, which could end up breaking some
    sites.

    --
    Gregory A. Beamer
    MVP, MCP: +I, SE, SD, DBA

    Subscribe to my blog


    *************** *************** *************** ****
    | Think outside the box!
    |
    *************** *************** *************** ****
    "chandan" <ck.kislay@gmai l.comwrote in message
    news:db4e3ba1-7daf-48eb-88e7-19e08602f591@e1 0g2000prf.googl egroups.com...
    Hi,
    I am using aspnet_regiss.e xe utility from command prompt to register
    asp.net to IIS. But my requirement is to do it programmaticall y so
    that client need not worry about this registration. Can we do this
    programmaticall y??
    >
    Thanks
    Chandan

    Comment

    Working...