the setup page only runs database scripts and configuration steps, you won't need to run it after changing the app pool, but it is always safe to visit the setup page.
I'll be surprised if changing the app pool solves it but I guess its worth a try. The error really sounds like a typo in either Web.config or user.config and I would expect the error to happen no matter what kind of app pool if it is a typo.