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
  • Eliyahu Goldin

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

    Sure you can do it with System.Diagnost ics.Process.Sta rt(...).

    If you are going to run a separate exe to run aspnet_regiis.e xe, why cant't
    you just run a batch file?

    --
    Eliyahu Goldin,
    Software Developer
    Microsoft MVP [ASP.NET]




    "chandan" <ck.kislay@gmai l.comwrote in message
    news:a577dd8f-c59c-4bc1-beec-4bc44b314507@i7 g2000prf.google groups.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

    • Teemu Keiski

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

      If Framework is installed after IIS, there should be no need to do this
      since ASP.NET should be registered automatically. as Eliyahu says, why
      couldn't you have batch file for this (for in case)


      --
      Teemu Keiski
      AspInsider, ASP.NET MVP




      "chandan" <ck.kislay@gmai l.comwrote in message
      news:a577dd8f-c59c-4bc1-beec-4bc44b314507@i7 g2000prf.google groups.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...