Could you make sure that your pool, in which your site operates in the " Integrated " mode, and not Classic .
If the problem persists after this, try registering your IIS with .netv4.0
For this
Go to Command Prompt
Go to the folder C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319
Register IIS with aspnet_regiis -i
source share