Abhilash J A

Abhilash J A

  • 535
  • 2.4k
  • 596.3k

The query string is too long error MVC 4 C#

Dec 15 2015 5:14 AM
 
why there query string is too long error occurred while passing list of parameter values(ie, Ids= 45,15,1,2,3,5 ... like this) from controller to another controller in MVC4 C#?
 
Requested URL : http://localhost:7655/ExposureAnalysis/GetAllResults?GroupIds=14%2C& SectorIds=4%2C9%2C13%2C17%2C36%2C42%2C57%2C67%2C72%2C74%2C&SubSectorIds=70%2C101%2C115%2C19%2C20%2C21%2C78%2C87%2C105%2C114%2C120%2C64%2C92%2C28%2C76%2C96%2C31%2C51%2C54%2C86%2C104%2C110%2C55%2C56%2C127%2C130%2C&CompanyIds=316%2C350%2C518%2C635%2C685%2C716%2C14%2C205%2C438%2C443%2C455%2C874%2C930%2C227%2C464%2C749%2C39%2C79%2C155%2C378%2C513%2C784%2C800%2C835%2C836%2C851%2C926%2C42%2C175%2C192%2C262%2C444%2C447%2C490%2C636%2C706%2C735%2C865%2C283%2C774%2C847%2C252%2C919%2C317%2C816%2C580%2C56%2C60%2C67%2C69%2C105%2C111%2C118%2C148%2C159%2C211%2C224%2C243%2C281%2C297%2C335%2C401%2C406%2C414%2C415%2C424%2C430%2C445%2C471%2C481%2C482%2C488%2C499%2C504%2C531%2C546%2C548%2C564%2C589%2C599%2C628%2C647%2C679%2C692%2C743%2C765%2C805%2C812%2C813%2C817%2C887%2C897%2C898%2C931%2C937%2C940%2C491%2C177%2C305%2C336%2C758%2C112%2C167%2C171%2C200%2C232%2C244%2C272%2C383%2C431%2C434%2C448%2C449%2C462%2C465%2C468%2C510%2C544%2C572%2C595%2C728%2C793%2C828%2C886%2C621%2C142%2C125%2C162%2C535%2C581%2C759%2C848%2C872%2C532%2C312%2C651%2C881%2C228%2C565%2C791%2C144%2C521%2C593%2C640%2C901%2C245%2C172%2C298%2C313%2C337%2C392%2C755%2C760%2C857%2C920%2C237%2C269%2C273%2C286%2C318%2C435%2C514%2C662%2C721%2C&BrandIds=1068%2C1575%2C1733%2C1355%2C1639%2C206%2C1587%2C1219%2C1588%2C1810%2C1705%2C1543%2C1693%2C1981%2C1858%2C1179%2C283%2C231%2C1993%2C1329%2C1178%2C202%2C647%2C583%2C582%2C581%2C174%2C678%2C168%2C1904%2C1245%2C1540%2C1590%2C1043%2C690%2C187%2C357%2C188%2C454%2C524%2C663%2C1086%2C1255%2C1260%2C1254%2C755%2C1259%2C1083%2C1084%2C1256%2C1257%2C1085%2C903%2C906%2C905%2C757%2C1258%2C753%2C2048%2C1603%2C944%2C1415%2C1965%2C367%2C1644%2C356%2C546%2C756%2C754%2C1253%2C911%2C916%2C473%2C410%2C2094%2C322%2C634%2C945%2C1125%2C1895%2C186%2C902%2C1075%2C1568%2C1896%2C1871%2C1923%2C1550%2C1975%2C314%2C1542%2C2087%2C1198%2C899%2C702%2C807%2C1246%2C527%2C1197%2C1773%2C687%2C1706%2C1637%2C1052%2C1247%2C823%2C631%2C1995%2C1512%2C1038%2C2046%2C573%2C1163%2C1570%2C991%2C1744%2C1450%2C1640%2C1352%2C629%2C1076%2C1928%2C317%2C1494%2C1036%2C642%2C1762%2C621%2C599%2C866%2C816%2C1022%2C1025%2C267%2C1491%2C1809%2C1495%2C714%2C1196%2C1829%2C1764%2C142%2C627%2C604%2C1974%2C948%2C867%2C455%2C1368%2C1182%2C566%2C1726%2C1242%2C1397%2C1748%2C772%2C354%2C1626%2C1437%2C1103%2C567%2C406%2C1559%2C1472%2C833%2C737%2C1073%2C1185%2C696%2C1947%2C1464%2C897%2C1156%2C1988%2C2068%2C1444%2C1468%2C641%2C1331%2C1152%2C461%2C1446%2C1996%2C1749%2C1589%2C979%2C978%2C1333%2C1332%2C1316%2C1315%2C1138%2C808%2C960%2C1317%2C526%2C1866%2C213%2C1045%2C859%2C704%2C943%2C980%2C1719%2C1564%2C1422%2C1969%2C1968%2C1419%2C1417%2C1720%2C1565%2C1722%2C1971%2C1424%2C1421%2C1563%2C1423%2C1972%2C1724%2C1973%2C1723%2C1721%2C1566%2C1567%2C1418%2C1966%2C1967%2C1416%2C1420%2C1970%2C1725%2C1562%2C1089%2C1046%2C860%2C1207%2C1913%2C679%2C1953%2C1569%2C2018%2C342%2C511%2C1375%2C1343%2C175%2C1162%2C765%2C1561%2C1560%2C482%2C128%2C841%2C1501%2C1745%2C1735%2C345%2C1205%2C1894%2C832%2C1892%2C&ItemIds=2269%2C74%2C618%2C2304%2C601%2C2217%2C1485%2C2088%2C1150%2C500%2C1499%2C2089%2C848%2C1730%2C1895%2C280%2C2246%2C102%2C198%2C2780%2C1426%2C2517%2C1707%2C1518%2C907%2C556%2C1385%2C2527%2C849%2C644%2C1183%2C2605%2C2048%2C783%2C2745%2C1401%2C557%2C1689%2C2518%2C2640%2C2758%2C1358%2C1020%2C2057%2C2376%2C2951%2C2445%2C1095%2C141%2C672%2C2341%2C791%2C1658%2C957%2C870%2C748%2C2034%2C1744%2C825%2C2929%2C970%2C2560%2C2919%2C1153%2C917%2C1386%2C631%2C1943%2C671%2C2171%2C1549%2C2559%2C1332%2C442%2C1679%2C1257%2C2510%2C836%2C2703%2C2574%2C1563%2C300%2C1087%2C824%2C2874%2C2719%2C1881%2C268%2C1287%2C155%2C2391%2C319%2C648%2C1008%2C410%2C2918%2C1486%2C1976%2C2889%2C1812%2C1535%2C395%2C1184%2C2247%2C2049%2C1638%2C1883%2C732%2C1579%2C1762%2C1877%2C1175%2C1810%2C558%2C2837%2C1845%2C1637%2C815%2C1822%2C1569%2C126%2C1849%2C207%2C1666%2C2494%2C2446%2C1271%2C806%2C2248%2C1198%2C193%2C2249%2C1944%2C1954%2C1955%2C1071%2C103%2C2277%2C383%2C673%2C2420%2C2786%2C1617%2C1708%2C986%2C443%2C1724%2C1821%2C718%2C1731%2C773%2C550%2C871%2C2120%2C749%2C143%2C674%2C1754%2C1

Answers (6)