[mapguide-users] 500 Runtime Error aspxerrorpath mapguide/mapviewernet/setselection.aspx
RenoSun
renolionheart at gmail.com
Mon Sep 23 17:09:34 PDT 2019
Hi All,
Does anyone facing the same issue when querying setselection.aspx?
I couldn't find the setselection.aspx file under the following folder
"C:\Program Files\OSGeo\MapGuide_Original\Web\www\mapviewernet".
We were using AIMS 2017, but now we are using Mapguide 3.1.2. I am wondering
if this is a update that happen to Mapguide maybe even few versions ago.
Should I change my request from "setselection.aspx" to another ASP .NET
page?
I am using modified version of Kaliopa Mobile Viewer, and there is a
function looks like following code:
ASP .NET
"
//set selection url
var SetSelectionUrl =
"<%=GetRootVirtualFolder(Request)%>/mapviewernet/setselection.aspx";
"
JavaScript
"
function SetSelection(selText, requery) {
var reqParams = "SESSION=" + sessionId + "&MAPNAME=" +
encodeURIComponent(mapName) + "&SEQ=" + Math.random() + "&SELECTION=" +
encodeURIComponent(selText) + "&QUERYINFO=" + (requery ? "1" : "0");
reqHandler = GetRequestHandler();
reqHandler.open("POST", SetSelectionUrl, false);
reqHandler.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");
console.log(reqParams);
reqHandler.send(reqParams);
if (requery) {
return reqHandler.responseXML;
}
}
"
<http://osgeo-org.1560.x6.nabble.com/file/t368332/500Error.png>
<http://osgeo-org.1560.x6.nabble.com/file/t368332/RuntimeError.png>
--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
More information about the mapguide-users
mailing list