Loading
ISAPI Settings in IIS7
I was wondering if anyone knew how to do the following in an InstallScript MSI project:

 

1) By default when you install .NET 4.0 Framework on a 64 Bit OS (Windows 2008 R2), the aspnet_ISAPI.dll's are set to Not Allowed. How can my install set these to Allow?

 

2) How can I Edit the Feature settings for ISAPI restrictions to Allow unspecified ISAPI modules?

 

Thanks,

 

Greg

  • You need to add a new extension under "Server Configuration\Internet Information Services\Web Service Extensions".

     

    Call it "ASP.NET" and point it to "[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll"

     

    Make sure that "Allow" and "Overwrite Existing Extensions" are both set to "Yes"

     

    This is what I do on Windows Server 2003 R2 so I guess it should work on 2008 too.
    Expand Post
  • I'm working with .NET 4.0, not 2.0.

     

    Regardless, I ended up deleting the existing extensions and creating the 2 for .NET 4.0 and added my own with the right settings and everything was fine.

Loading
ISAPI Settings in IIS7