i receive this error when running my application on iis.what is it and how could i resolve the issue


Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Raja TPosted Jan 12, 2016, 10:15 AM
umair mohsinPosted Jan 12, 2016, 10:04 AM
umair mohsinPosted Jan 12, 2016, 10:04 AM
Anu VPosted Jan 12, 2016, 7:13 AM
Problem can be resolved by following steps
1. Open IIS manager (Go to start - Run - type 'INETMGR')
2. Select the Server Name (System Name)
3. Select ISAPI and CGI restrictions in right side pane
4. Allow the Not Allowed restrictions for required framework
5. If your required framework will not exist in ISAPI and CGI restrictions then you need to re-registered framework with following command
6. Go to Start - Run put following command in Run window
C:\Windows\Microsoft.NET\Framework\v4.0.30319 \aspnet_regiis -i
7. Set required .NET version in application pool
8. Enable 32-bit Application in application pool
9. Restart IIS
Rajeesh MenothPosted Jan 12, 2016, 4:09 AM