Getting "The data area passed to a system call is too small" in ASP.Net on server, but not on localhost
I've been scratching my head over this for half the day now. I am trying to secure the application to pr开发者_如何学Pythonevent any URL tampering, so when i stick a very long sting into the form action's URL parameter, it gets trapped and handled locally just find. But, when i upload it to the server, i get the following error "The data area passed to a system call is too small". Both machines are on IIS 6. Thanks!
Sounds like your IIS config is messed up, here's a possible KB article.
Try posting on serverfault.com also, this is more of a server config problem than a programming problem I think.
Is it to do with the Query string being too long for the server to handle / process?
I recently ran into this with a GET request that passed a lot of query string parameters.
If I removed some of them the error went away, so I switched to POST
instead.
精彩评论