问题
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