2

I'm new to Windows 7 as well as IIS 7.5 (Version:7.5.7600.16385). I need to host a webservice on this machine now. This was working perfectly Ok in my old Windows XP machine, but I'm kind of confused to see that lot of options in my old IIS is not very apparent in IIS 7.5.

My webservice demands the following while hosting:

  • The IIS website that the service is installed to must be configured to run .NET 2.0 (v2.0.20575).

  • The site/virtual folder needs to be configured so that directory access is via NTLM Authentication ONLY. Anonymous and all basic authentication modes must be disabled.

Please can you help me with the steps in IIS 7.5 to configure this?

1 Answer 1

1

ASP.NET Version:

You configure the ASP.NET version on IIS7.x on the application pool that the site is running in. To find what pool your site is running in, select the site in IIS Manager and select Advanced Settings in the right hand Actions pane. This will pop up a window like this:

enter image description here

Jot down the name of the Application Pool then close this popup dialogue.

Navigate and open the Application Pools feature in IIS Manager. Select and right click on the application pool noted above then select Advanced Settings:

enter image description here

I've highlighted three settings:

.NET Framework Version - this is a dropdown where you can choose which .NET Framework to run

Enable 32-Bit Applications - if you're running a 64 bit version of Windows 7 or 2008R2 then this option will be important if your application consumes 32 bit only components. Even if it doesn't, knocking the pool back to 32 bit more can be useful when trouble shooting mysterious failures.

Managed Pipeline Mode - IIS supports two types of pipeline now. Classic and Managed. If your application is being migrated from IIS5.x or 6 then I'd start off by changing the pool to run in Classic Pipeline mode.

Authentication:

To configure authentication navigate to the site in IIS Manager and select the site in the left hand tree view. This will open the "Features View" in the middle panel.

Double click on the Authentication icon:

enter image description here

This will open up a list of the various authentication settings available to you:

enter image description here

From here you can right click on each Authentication setting and enable/disable as per your needs.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .