Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > IIS forms authentication & Login controls

Thread Tools

IIS forms authentication & Login controls

Ashkan Daie
Posts: n/a
Hi All,

When using forms authentication with IIS 6.0, I can create a user and log in
the user. But the LoginStatus control states that the user is logged out.

When running the same app using the file system and the Visual Studio web
server the LoginStatus page functions properly by displaying the LoggedIn

Any help is appreciated.

System Settings:
Windows 2003 R2 EE w/ all patches

IIS Settings:
Anonymous & Integrated Security


<?xml version="1.0"?>
<add name="SqlConnectionString" connectionString="Data
Source=(local);Initial Catalog=aspnet;Integrated Security=True;Application
providerName="System.Data.SqlClient" />
<trace enabled="true" mostRecent="true" />

<authentication mode="Forms">
<forms name=".ASPXAUTH" loginUrl="Login.aspx" protection="All"
timeout="30" path="/" requireSSL="false" slidingExpiration="true">
<credentials passwordFormat="SHA1" />

<compilation debug="true" defaultLanguage="C#">
<add assembly="System.Management, Version=, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Data.OracleClient, Version=,
Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Configuration.Install, Version=,
Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Windows.Forms, Version=, Culture=neutral,
PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Design, Version=, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.DirectoryServices, Version=,
Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Drawing.Design, Version=, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Transactions, Version=, Culture=neutral,
PublicKeyToken=B77A5C561934E089" />
<add assembly="Microsoft.Build.Tasks, Version=, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Messaging, Version=, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Runtime.Remoting, Version=,
Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="Microsoft.Build.Utilities, Version=,
Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.Build.Framework, Version=,
Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<membership defaultProvider="SqlMembershipProvider"
<clear />
<add name="SqlMembershipProvider"
connectionStringName="SqlConnectionString" applicationName="aspnet"
enablePasswordRetrieval="false" enablePasswordReset="true"
requiresQuestionAndAnswer="true" requiresUniqueEmail="true"
passwordFormat="Hashed" minRequiredPasswordLength="4"
minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="5"
passwordAttemptWindow="10" />
<roleManager defaultProvider="SqlRoleProvider" enabled="true"
cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30"
cookiePath="/" cookieRequireSSL="true" cookieSlidingExpiration="true"
<clear />
<add name="SqlRoleProvider" type="System.Web.Security.SqlRoleProvider"
connectionStringName="SqlConnectionString" applicationName="aspnet" />
<profile defaultProvider="SqlProfileProvider">
<clear />
<add name="SqlProfileProvider"
connectionStringName="SqlConnectionString" applicationName="aspnet" />
<add name="FirstName" />
<add name="LastName" />
<add name="Address" />
<add name="City" />
<add name="StateCode" />
<add name="ZipCode" />
<add name="Gender" />
<add name="Age" type="System.Int32" />

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS forms authentication & Login controls Ashkan Daie ASP .Net Web Controls 0 07-18-2006 03:05 PM
IIS forms authentication & Login controls Ashkan Daie ASP .Net 0 07-18-2006 03:05 PM
Forms authentication - Multiple login forms based on directory acc Keltex ASP .Net Security 1 01-24-2006 03:06 PM
Strange problem with Forms authentication: After successfull login, login page is still displayed Pascal Blanchard ASP .Net Security 1 08-18-2004 08:36 AM
Strange problem with Forms authentication: After successfull login, login page is still displayed Pascal Blanchard ASP .Net Security 0 08-17-2004 06:26 PM