1. HTTP Handler configured to handle the request has certain preconditions set, but its Application pool does not meet some or all of these preconditions, in simple words Application pool's .NET framework is not set properly to the application in which it is compiled (If my application developed in 4.5 and I am attaching application pool with framework 2.0)
2. If application is migrated from IIS 6 then My Application pool should running in Classic Mode, with enable 32 bit mode options
3. Required .NET framework has restriction in 'ISAPI and CGI restrictions' in IIS
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