I�??ve updated the httpRuntime maxRequestLength value in the web.config but during my test I still get the file size error message thrown from the SubmitIssueDetails function of utilis.jsWhere else is the maximum file size indicated that this function is comparing against? What else do I need to change to increase the maximum file size before this error message is thrown.Here is what I believe is the relevant code from the SubmitIssueDetails function.
if (dojo.byId('txtFileName').value != "") {
map.getLayer(serviceRequestLayerId).addAttachment(addResults[0].objectId, dojo.byId('formFileUplaod'), function (sucess) {
ShowServiceRequestDetails(mapPoint, serviceRequestGraphic.attributes);
HideProgressIndicator();
ResetRequestFields();
HideCreateRequestContainer();
}, function (err) {
HideProgressIndicator();
alert(dojo.string.substitute(messages.getElementsByTagName("fileSize")[0].childNodes[0].nodeValue, [addResults[0].objectId]));
});
} else {
ShowServiceRequestDetails(mapPoint, serviceRequestGraphic.attributes);
HideProgressIndicator();
ResetRequestFields();
HideCreateRequestContainer();
}