• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1199
  • Last Modified:

Problem enabling Forms Authentication on Windows Server 2008 IIS7

Hello, We are trying to set up an ASP.NET 2.0 site on a Windows 2008 x64 Standard Server. We'd like to use a simple ASP.NET login control, which will need to use Forms Authentication.

We are having a problem enabling Forms Authentication in IIS7 on this server:

1. First of all, the Forms Authentication Module is Managed, not Native. In our IIS7 modules window, we aren't able to add Managed modules - instead of "Add Managed Module" , we see an alert: "The application is in an application pool that is running in CLassic mode, so you can manage ISAPI extensions and native modules that are mapped to paths. You must manage managed modules (system.web/httpModules) directly in the configuration file".

2. We have tried adding reference to the module in web.config for our app, but it doesn't seem to recognize it when we run the app.

<httpModules>
<!--
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
 -->
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name ="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule"/>
</httpModules>

...does a particular server role have to be enabled for this to work? i.e. we tried turning in "Basic Authentication" in Server Manager under Web Server (IIS) Server roles, but that didn't seem to do the trick. There is no apparent separate server role under this heading for "Forms Authentication", just Basic Authentication, Windows Authentication, Digest Authentication, etc.

Thanks for any help and advice.
0
Nostromo77
Asked:
Nostromo77
1 Solution

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now