This error occurs when u have different version of .net on same IIS
To solve this problem
Create your Application Pool.
After that assign pool to ur application using this
1) Go to Properties of your application in IIS
2) In that, use Application pool dropdown to select your pool.
try with this.
Hope it helps.