I have a new asp.net (4.0) project and I am trying to make a binary POST request from a flash script. From fiddler I can see the the header is well formed but the request results in a 500 message. Is there anything I need to add/remove anything from a standard web.config to get this working?
2 Answers
The Windows application log should have the detailed exception. I would look there first. If that doesn't illuminate the problem, then a few things come to mind.
Set maxRequestLength in your web.config to a number that is definitely larger than the request you are making. (see http://msdn.microsoft.com/en-us/library/e1f13641.aspx).
Also, check the MIME type of the request.
HTTP= "Hypertext Transfer Protocol"