Allow asp in Win2003 automatically?

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Allow asp in Win2003 automatically?

    Hello,

    How can Allow ASP in Win2003 in a script or some automatic way to be run in
    my installer?

    Regards,
    Ariel


    Ariel Erlijman Guest

  2. Similar Questions and Discussions

    1. CF5.0 on Win2003
      I am just a developer and not a server administrator, however it has become my responsibility. I have the opportunity to get a new web server with...
    2. CF MX7 on Win2003 R2 x64
      I just installed CF MX7 Standard Edtn on a brand new server running Windows Server 2003 R2 (x64) and although the install all seems to run ok, once...
    3. can not run cf 6.1 in win2003
      I could install cf 6.1, but it said wed connector could not run!! thanks
    4. Mac can't see swf on win2003 server.
      I have a win2003 server that Mac's can't see .swf's, imbedded into the page, but pc's can. Example: http://www.ms-group.co.uk Mac can't see, same...
    5. Win2003 Bug
      Hi all, I'm running a small network with a win2003 server (fully updated) And 30 xp Clients (fully up to date) The problem I'm having is, when...
  3. #2

    Default Re: Allow asp in Win2003 automatically?

    Check out this code if it helps you.
    You can call this method like this: EnabledExtension("aspnet_isapi.dll")


    public static void EnabledExtension(string fileNameExtend)
    {

    string scriptPath = Environment.SystemDirectory;
    string webExtension =
    System.IO.Path.Combine(System.IO.Path.Directory.Ge tParent(HttpRuntime.Machin
    eConfigurationDirectory).ToString(), fileNameExtend);

    ProcessStartInfo pInfo = new ProcessStartInfo("cscript");
    pInfo.Arguments = String.Format("iisext.vbs /EnFile {0}",webExtension);

    try
    {
    using(Process p = Process.Start(pInfo))
    {
    string info = p.StandardOutput.ReadToEnd();
    if (!p.WaitForExit(60000))
    // Log timeout message
    }
    }
    catch(Exception ex)
    {
    // Log ex
    }
    }


    --
    Hernan de Lahitte
    Lagash Systems S.A.
    [url]http://weblogs.asp.net/hernandl[/url]
    Shadowfax Dev Team

    This posting is provided "AS IS" with no warranties, and confers no rights.

    "Ariel Erlijman" <ariel@interactiveni.com> wrote in message
    news:OVgcDSXIEHA.3144@TK2MSFTNGP10.phx.gbl...
    > Hello,
    >
    > How can Allow ASP in Win2003 in a script or some automatic way to be run
    in
    > my installer?
    >
    > Regards,
    > Ariel
    >
    >

    Hernan de Lahitte Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139