The code in the ServerRenderingService.cpp:

1040        if (width <= 0 || height <= 0 || dpi <= 0 || scale <= 0.0 ||
metersPerUnit <= 0.0)
1041            throw new
MgInvalidArgumentException(L"MgServerRenderingService.RenderForSelection",
__LINE__, __WFILE__, NULL, L"MgValueCannotBeLessThanOrEqualToZero",
 NULL);

Try to check the extent of the map in webstudio.
You cannot set dpi or scale or metersPerUnit, but you can set width and
height.
width and height must > 0.

-- 
View this message in context: 
http://n2.nabble.com/creating-package-problem-tp3173532p3174988.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to