0
votes

I have migrated a a classic ASP files from IIS 6 to IIS 7.5

After migrating, the line Request.ServerVariables("LOGON_USER") doesn't return any value, because of which the application is not running.

The Anonymous Authentication is already disabled in IIS. Is there any other setting i need to check. Please someone help me on this.

1
Is Basic or Windows authentication enabled?Keith
Windows Authentication is Enabled.NewTechie

1 Answers

0
votes

Maybe you have also allowed anonymous access?

Excerpt from here (Microsoft KB), highlight by me:

This problem occurs because the authentication-related variables in the ServerVariables collection are not populated if you use Anonymous Access security to access the .aspx page. This problem can also occur if you give the Anonymous user access in the section of the Web.config file.