I just added my website to IIS. After much troubleshooting I was able to make it run with the Classic .NET App Pool.
But on the page which requires connecting with the database, I am getting the error "Login failed for the user 'IIS APPPOOL\Class .NET AppPool'
Please suggest a workaround.