[mapguide-users] How to troubleshoot "The specified class was not found"?

Hans Milling hm at geograf.dk
Fri Sep 28 06:33:44 PDT 2012

Hi all

How do I troubleshoot the error/exception “The specified class was not
The error occurs when I try to query the map e.g. for selection or tooltip.
I am using Maestro 4 API (latest) and KingOracle provider. The error does
not occur with OGR provider and MapInfo files.
Here is an example of code that breakes when querying for a tool tip:
        IMappingService mapSvc =
        return mapSvc.QueryMapFeatures(runtimemapname, wkt, false,
QueryMapFeaturesLayerAttributes.OnlyVisible, true);

I am using LocalNativeConnection, but how do I troubleshoot what is wrong
with my runtime map? How can I get to know what “class” it expects that is
not there?

The error in the MapGuide log is this:
<2012-09-28T15:22:09> 	3204			Administrator
 Error: The specified class was not found.
  - MgRenderingServiceHandler.ProcessOperation() line 83 file
  - MgOpQueryFeatures.Execute() line 125 file
  - MgServerRenderingService.QueryFeatures() line 718 file
  - MgServerRenderingService.RenderForSelection() line 1452 file
  - MgServerDescribeSchema.GetClassDefinition() line 970 file

In the access.log:
<2012-09-28T14:51:08> 	6408			Administrator
ENV El og Fiber.Map,MgStringCollection,MgGeometry,4,,-1,1) Failure

Running mgserver with the cpl_debug=on only shows the same short error
message: "The specified class was not found."

Best regards
  Hans Milling...

View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-troubleshoot-The-specified-class-was-not-found-tp5005219.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list