Not getting correct PTWin logon

Not getting correct PTWin logon

Old forum URL: forums.lhotka.net/forums/t/3910.aspx


TopDawg147 posted on Sunday, November 18, 2007

I've recently installed the ProjectTracker solution. The Win client works fine. However, when I try to start the PTWeb project, a Windows login screen shows up instead on the web login screen. I have the web.config set for Csla authentication.

<add key="CslaAuthentication" value="Csla" />

What did I miss?

Thanks in advance.

TopDawg147 replied on Sunday, November 18, 2007

Oops. Correction. Not getting correct PT"Web" logon

RockfordLhotka replied on Monday, November 19, 2007

If you get a Windows login screen with PTWeb it is because your virtual root (in IIS) is not configured to accept anonymous users. IIS must allow anonymous users for the virtual root in order for ASP.NET to use forms authentication, which is what PTWeb uses.

TopDawg147 replied on Monday, November 26, 2007

Anonymous access was enabled, but it still does not work. Anything else that I could be missing?

Thanks.

RockfordLhotka replied on Monday, November 26, 2007

As far as I know the Windows login dialog comes because IIS requires Windows credentials for the user to access the site.

That can happen because the virtual root doesn't allow anonymous access, or because the files in the virtual root aren't set up with the right NTFS file permissions (the ASPNET user must have access, or the user has to log in to access the files).

I'm not aware of any other scenario that triggers the Windows login dialog.

TopDawg147 replied on Thursday, November 29, 2007

I got it to work.

The directory had ASP.NET permissions, but it didn't have ANONYMOUS permissions. After adding that, everything worked fine.

Thanks.

Copyright (c) Marimer LLC