server.transfer with app pool set to “integrated”

谁说我不能喝 提交于 2019-12-11 10:29:25

问题


I have a Facebook application and for various reasons, I need it to run with the app pool set to "integrated". However, when I change the app pool to "integrated", Server.Transfer does not seem to work anymore (It works fine in "classic" mode). The error is:

No http handler was found for request type 'POST'

Any ideas?


回答1:


Try changing your code from Server.Transfer to Server.TransferRequest.

I was getting the same error when running my app on IIS7 in Integrated Mode. "No http handler was found for request type 'GET'" This simple change fixed my problem.



来源:https://stackoverflow.com/questions/5774502/server-transfer-with-app-pool-set-to-integrated

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!