cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gknierim
Level 6

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
Labels (1)
0 Kudos
(3) Replies
gknierim
Level 6

Update:

I just need to know how to do number 1.

Anyone have any ideas?

Thanks,
Greg
0 Kudos
timelox
Level 5

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.
0 Kudos
gknierim
Level 6

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.
0 Kudos