<html><head><style type='text/css'>body { font-family: 'Times New Roman'; font-size: 12pt; color: #000000}</style></head><body>I'm having a strange error in tooltip function.<br>Tooltip are displayed only for topmost layer, if a tooltip is requested for the second layer an error is returned by <br>QUERYMAPFEATURES <br>function.<br><br>The returnet error is<br><h2>Invalid argument(s):
        [1] = "const string&"
The string is invalid and cannot be converted.</h2>
Invalid argument(s):
        [1] = "const string&"
The string is invalid and cannot be converted.

- MgRenderingServiceHandler.ProcessOperation() line 83 file 
c:\working\build_area\mapguide\2.4.1\x86\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
-
 MgOpQueryFeatures.Execute() line 125 file 
c:\working\build_area\mapguide\2.4.1\x86\mgdev\server\src\services\rendering\OpQueryFeatures.cpp
-
 MgServerRenderingService.QueryFeatures() line 848 file 
c:\working\build_area\mapguide\2.4.1\x86\mgdev\server\src\services\rendering\ServerRenderingService.cpp
-
 MgServerRenderingService.RenderForSelection() line 1520 file 
c:\working\build_area\mapguide\2.4.1\x86\mgdev\server\src\services\rendering\ServerRenderingService.cpp
-
 MgUtil.WideCharToMultiByte() line 300 file 
c:\working\build_area\mapguide\2.4.1\x86\mgdev\common\foundation\System/Util.cpp



<br><br><br>I checked that if I turn off the topmost layer than the tooltip for second layer appears correctly, but only if topmost layer is not visible.<br><br>What can be the reason of this behaviour?<br><br>My configuration in MG 2.4.1 on IIS and using ASPX pages.<br>Layer FeatureClasses are stored in a SQL 2008 Spatial database.<br><br>thanks<br>Marco<br></body></html>