Too many parameters in MVC2 Controllers or IIS problem?

Posted by cc0 on Stack Overflow See other posts from Stack Overflow or by cc0
Published on 2010-05-23T09:26:41Z Indexed on 2010/05/23 9:30 UTC
Read the original article Hit count: 411

Filed under:
|
|
|

I'm using a controller to call a stored procedure that requires 12 parameters. This works perfectly in debug mode locally (working against a remote database), but not when I publish it to my IIS 7 server. It complains about parameter #7, claiming it's not supplied with the URL.

The URL call looks like this;

http://localhost:50160/GetPlaces?minLat=-90&maxLat=90&minLng=-180&maxLng=180&minDate=0&maxDate=60000000&a=1&b=1&c=1&e=1&f=1&h=1

Does anyone have any idea what may be the cause of this? Any help would be very appreciated here.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about iis