<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks Stefan.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I think the main problem is in the connection to
MySQL. Even Mapguide Maestro says that there is no error reported I've tried to
use the FeatureSource to connect using MapAgent/Test connection and the
test doesn't work (it return false).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Could you send me your FeatureSource XML to
try to find where the problem is?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2>Manel Gimeno</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=s.dalakov@mapware.net href="mailto:s.dalakov@mapware.net">Stefan
Dalakov</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=mapguide-users@lists.osgeo.org
href="mailto:mapguide-users@lists.osgeo.org">MapGuide Users Mail List</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, April 06, 2009 4:48
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [mapguide-users] Can't
create layer using MySQL feature source</DIV>
<DIV><BR></DIV><TT>Hi Manel,<BR>Here is a layerDefinition that works for
me.<BR>Have you specified Coordinate-System-Overrides ?<BR><BR>Stefan
Dalakov<BR><BR></TT>
<DIV class=e><TT><SPAN class=m><?</SPAN><SPAN class=pi>xml version="1.0"
encoding="UTF-8" </SPAN><SPAN class=m>?></SPAN></TT> </DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>LayerDefinition</SPAN><SPAN class=ns>
xmlns:xsi</SPAN><SPAN class=m>="</SPAN><B class=ns><A
class=moz-txt-link-freetext
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A></B><SPAN
class=m>"</SPAN><SPAN class=t> xsi:noNamespaceSchemaLocation</SPAN><SPAN
class=m>="</SPAN><B>LayerDefinition-1.1.0.xsd</B><SPAN class=m>"</SPAN><SPAN
class=t> version</SPAN><SPAN class=m>="</SPAN><B>1.1.0</B><SPAN
class=m>"</SPAN><SPAN class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>VectorLayerDefinition</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>ResourceId</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>Library://mysql_ds.FeatureSource</SPAN><SPAN
class=m></</SPAN><SPAN class=t>ResourceId</SPAN><SPAN
class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>FeatureName</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>Fdotechnop_mg:links</SPAN><SPAN class=m></</SPAN><SPAN
class=t>FeatureName</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>FeatureNameType</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>FeatureClass</SPAN><SPAN class=m></</SPAN><SPAN
class=t>FeatureNameType</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>PropertyMapping</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Name</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>LAYER</SPAN><SPAN class=m></</SPAN><SPAN
class=t>Name</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Value</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>LAYER</SPAN><SPAN class=m></</SPAN><SPAN
class=t>Value</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>PropertyMapping</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>PropertyMapping</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Name</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>LENGTH</SPAN><SPAN class=m></</SPAN><SPAN
class=t>Name</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Value</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>LENGTH</SPAN><SPAN class=m></</SPAN><SPAN
class=t>Value</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>PropertyMapping</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>Geometry</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>ogc_geom</SPAN><SPAN class=m></</SPAN><SPAN
class=t>Geometry</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>VectorScaleRange</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>PointTypeStyle</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>DisplayAsText</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>false</SPAN><SPAN class=m></</SPAN><SPAN
class=t>DisplayAsText</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>AllowOverpost</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>false</SPAN><SPAN class=m></</SPAN><SPAN
class=t>AllowOverpost</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>PointRule</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>LegendLabel</SPAN> <SPAN class=m>/></SPAN></TT> </DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>PointRule</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>PointTypeStyle</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>LineTypeStyle</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>LineRule</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>LegendLabel</SPAN><SPAN class=m>></SPAN><SPAN class=tx>'Main
Pipe'</SPAN><SPAN class=m></</SPAN><SPAN class=t>LegendLabel</SPAN><SPAN
class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>Filter</SPAN><SPAN class=m>></SPAN><SPAN class=tx>"LAYER" = 'Main
Pipe'</SPAN><SPAN class=m></</SPAN><SPAN class=t>Filter</SPAN><SPAN
class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>LineSymbolization2D</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>LineStyle</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>Solid</SPAN><SPAN class=m></</SPAN><SPAN
class=t>LineStyle</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>Thickness</SPAN><SPAN class=m>></SPAN><SPAN class=tx>2</SPAN><SPAN
class=m></</SPAN><SPAN class=t>Thickness</SPAN><SPAN
class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Color</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>FF000000</SPAN><SPAN
class=m></</SPAN><SPAN class=t>Color</SPAN><SPAN class=m>></SPAN></TT>
</DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Unit</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>Points</SPAN><SPAN class=m></</SPAN><SPAN
class=t>Unit</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>SizeContext</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>DeviceUnits</SPAN><SPAN class=m></</SPAN><SPAN
class=t>SizeContext</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>LineSymbolization2D</SPAN><SPAN
class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>LineRule</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>LineRule</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>LegendLabel</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>'Pipeline'</SPAN><SPAN class=m></</SPAN><SPAN
class=t>LegendLabel</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>Filter</SPAN><SPAN class=m>></SPAN><SPAN class=tx>"LAYER" =
'Pipeline'</SPAN><SPAN class=m></</SPAN><SPAN class=t>Filter</SPAN><SPAN
class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>LineSymbolization2D</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>LineStyle</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>Solid</SPAN><SPAN class=m></</SPAN><SPAN
class=t>LineStyle</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>Thickness</SPAN><SPAN class=m>></SPAN><SPAN class=tx>2</SPAN><SPAN
class=m></</SPAN><SPAN class=t>Thickness</SPAN><SPAN
class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Color</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>FF000080</SPAN><SPAN
class=m></</SPAN><SPAN class=t>Color</SPAN><SPAN class=m>></SPAN></TT>
</DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Unit</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>Points</SPAN><SPAN class=m></</SPAN><SPAN
class=t>Unit</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>SizeContext</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>DeviceUnits</SPAN><SPAN class=m></</SPAN><SPAN
class=t>SizeContext</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>LineSymbolization2D</SPAN><SPAN
class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>LineRule</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>LineRule</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>LegendLabel</SPAN> <SPAN class=m>/></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>LineSymbolization2D</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>LineStyle</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>Solid</SPAN><SPAN class=m></</SPAN><SPAN
class=t>LineStyle</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>Thickness</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>0.0</SPAN><SPAN class=m></</SPAN><SPAN
class=t>Thickness</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Color</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>ff000000</SPAN><SPAN
class=m></</SPAN><SPAN class=t>Color</SPAN><SPAN class=m>></SPAN></TT>
</DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Unit</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>Centimeters</SPAN><SPAN
class=m></</SPAN><SPAN class=t>Unit</SPAN><SPAN class=m>></SPAN></TT>
</DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>SizeContext</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>DeviceUnits</SPAN><SPAN class=m></</SPAN><SPAN
class=t>SizeContext</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>LineSymbolization2D</SPAN><SPAN
class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>LineRule</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>LineTypeStyle</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>AreaTypeStyle</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>AreaRule</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>LegendLabel</SPAN> <SPAN class=m>/></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>AreaSymbolization2D</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>Fill</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>FillPattern</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>Solid</SPAN><SPAN class=m></</SPAN><SPAN
class=t>FillPattern</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>ForegroundColor</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>ffffffff</SPAN><SPAN class=m></</SPAN><SPAN
class=t>ForegroundColor</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>BackgroundColor</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>ff000000</SPAN><SPAN class=m></</SPAN><SPAN
class=t>BackgroundColor</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>Fill</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><A class=b
onfocus=h() onclick="return false" href="#">-</A> <SPAN
class=m><</SPAN><SPAN class=t>Stroke</SPAN><SPAN
class=m>></SPAN></TT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>LineStyle</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>Solid</SPAN><SPAN class=m></</SPAN><SPAN
class=t>LineStyle</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>Thickness</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>0.0</SPAN><SPAN class=m></</SPAN><SPAN
class=t>Thickness</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Color</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>ff000000</SPAN><SPAN
class=m></</SPAN><SPAN class=t>Color</SPAN><SPAN class=m>></SPAN></TT>
</DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN class=t>Unit</SPAN><SPAN
class=m>></SPAN><SPAN class=tx>Centimeters</SPAN><SPAN
class=m></</SPAN><SPAN class=t>Unit</SPAN><SPAN class=m>></SPAN></TT>
</DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><TT><SPAN
class=b> </SPAN> <SPAN class=m><</SPAN><SPAN
class=t>SizeContext</SPAN><SPAN class=m>></SPAN><SPAN
class=tx>DeviceUnits</SPAN><SPAN class=m></</SPAN><SPAN
class=t>SizeContext</SPAN><SPAN class=m>></SPAN></TT> </DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>Stroke</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>AreaSymbolization2D</SPAN><SPAN
class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>AreaRule</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>AreaTypeStyle</SPAN><SPAN class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>VectorScaleRange</SPAN><SPAN
class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>VectorLayerDefinition</SPAN><SPAN
class=m>></SPAN></TT></DIV></DIV></DIV>
<DIV><TT><SPAN class=b> </SPAN> <SPAN class=m></</SPAN><SPAN
class=t>LayerDefinition</SPAN><SPAN
class=m>></SPAN></TT></DIV></DIV></DIV><BR><BR>Manel Gimeno wrote:
<BLOCKQUOTE cite=mid:5E68DD577DEF4C58B58E833D0A925D4A@SOFTIMIZA.local
type="cite">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I've created a MySQL FeatureSource in Mapguide
2.0 using Mapguide Maestro 1.0.9.15910. When I click in the test connection
button no error is reported, so it seems the connection to MySQL works
fine.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>When I try to create a FeatureLayer using the
MySQL FeatureSource previously defined the following error happens after
selecting the FeatureSource as resource:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>"Failed to read schema from data source.<BR>The
operation gave the error message: Error en el servidor remoto: (559)
MgConnectionFailedException.: <BR>Cannot establish connection.<BR>Exception
occurred in method MgServerDescribeSchema::ExecuteDescribeSchema() at line
173 in file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\feature\ServerDescribeSchema.cpp"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Can anyone help me to solve this problem?
(Maybe if you have an example of XML LayerDefinition using a MySQL
FeatureSource...)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2>Manel Gimeno</FONT></DIV><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
mapguide-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A>
</PRE></BLOCKQUOTE><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>mapguide-users
mailing
list<BR>mapguide-users@lists.osgeo.org<BR>http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR></BLOCKQUOTE></BODY></HTML>