The specified user does not have a valid profile. Unable to load XXX.dll

asp.net-mvc, c#, iis-7.5

Solution

Set to `Load User Profile` true in the apppool advanced settings in IIS:

More info is here: http://www.iis.net/learn/manage/configuring-security/application-pool-identities

Problem

In a website, I get this error: ``` The specified user does not have a valid profile.  Unable to load XXX.dll ``` This happens when any page load is attempted.

Original source