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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 11, 2016, 11:09 PM EST
Anu VRank #1,282 · 1.3K reputationPosted Jan 12, 2016, 2:13 AM EST
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
umair mohsinRank #3,092 · 463 reputationPosted Jan 12, 2016, 5:04 AM EST
umair mohsinRank #3,092 · 463 reputationPosted Jan 12, 2016, 5:04 AM EST
Raja TRank #685 · 3.5K reputationPosted Jan 12, 2016, 5:15 AM EST