Finally got this weblog moved. Had some strange behaviour with customErrors not seeming to work when I set the mode to "Off". Turns out the virtual directory/application base was set one directory too high during the migration. This made the "authentication" and "sessionState" entries illegal in web.config. Parsing failed and by default, the customError mode was set to RemoteOnly. Changing its value had no effect.