HttpContext.Current.Profile is null in iis7 (Vista, Windows 7, 2008 Server)

Took an ASP.NET app to an IIS7 and suddenly lost access to Profile. After much trial, error, and Googling, found that the following attribute must be present on the <modules> element inside the <system.webserver> element:

<modules runAllManagedModulesForAllRequests="true">
Hope I saved you some time.

posted @ Wednesday, October 21, 2009 11:31 PM

Print
Comments have been closed on this topic.