userName = HttpContext.Current.User.Identity.Name

when the app is running and the user has been authenicated
and then right clicks a link to open in a new tab
recieves an object not set to a references error
hitting in the global.asax page upon
userName = HttpContext.Current.User.Identity.Name

it has to be a server setting or iis setting as this was never an issue on the 2003 box it was moved from
any thoughts
the server is set to windows authentication
and anonymous is disabled
and forms is enabled
any thoughts
Kurt RossAsked:
Who is Participating?
Aaron TomoskySD-WAN SimplifiedCommented:
every forms with site Ive setup has to have anonymous enabled to hit the login page. Forms and basic don't get along and iis will complain when you enable both of them.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.