<div>Does the information show up in your Data Source when you preview?</div><div> </div><div>If so, do you have a coordinate system set so that MG can reference it to the map? If not, make sure to set it.</div><div> </div>

<div>If so, I would suspect that the primary key as int64 may be the issue.  I think you would be safer with int32. Given the FDO error message, I am thinking this is the culprit...</div><div> </div><div>Regards,</div><div>

Jonathon<br><br></div><div class="gmail_quote">On Thu, Mar 15, 2012 at 8:28 AM, von Wartburg, Jan BKSD <span dir="ltr">&lt;<a href="mailto:Jan.vonWartburg@bl.ch">Jan.vonWartburg@bl.ch</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">

<u></u>



<div>
<div><span><font face="Arial">Hello 
all,</font></span></div>
<div><span><font face="Arial"></font></span> </div>
<div><span><font face="Arial">I have connected to 
a SQL server 2000 database using the ODBC provider. I have configured the tables 
in order to get the right columns for the X and Y values (stored as &quot;double&quot; in 
the database, primary key is int64). </font></span><span><font face="Arial">After creating a layer using 
this feature source, the points should show up in my map, but they don&#39;t. I&#39;m 
using MGOS 2.2 and Maestro 4.0.0 on Windows XP.</font></span></div>
<div><span><font face="Arial">In the server error 
log I have the following entry:</font></span></div>
<div><span><font face="Arial"></font></span> </div>
<div><span><font face="Arial">&lt;2012-03-15T15:41:00&gt;  1712 Ajax 
Viewer 127.0.0.1 Administrator<br> Error: Failed to stylize 
layer: test<br>        An exception occurred 
in FDO component.<br>        Internal error 
<br> StackTrace:<br>  - MgMappingUtil.StylizeLayers() line 831 file 
c:\builds\mg22win32\mgdev\server\src\services\mapping\MappingUtil.cpp</font></span></div>
<div><span><font face="Arial"></font></span> </div>
<div><span><font face="Arial">The feature xml 
looks like this:</font></span></div>
<div><span><font face="Arial"></font></span> </div>
<div><span><font face="Arial">&lt;?xml 
version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&lt;FeatureSource xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot; 
xmlns:xsd=&quot;<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a>&quot; 
xsi:noNamespaceSchemaLocation=&quot;FeatureSource-1.0.0.xsd&quot;&gt;<br>  
&lt;Provider&gt;OSGeo.ODBC&lt;/Provider&gt;<br>  
&lt;Parameter&gt;<br>    
&lt;Name&gt;ConnectionString&lt;/Name&gt;<br>    
&lt;Value&gt;DSN=ADAM;Uid=sd3;Pwd=adff;&lt;/Value&gt;<br>  
&lt;/Parameter&gt;<br>  
&lt;SupplementalSpatialContextInfo&gt;<br>    
&lt;Name&gt;Default&lt;/Name&gt;<br>    
&lt;CoordinateSystem&gt;PROJCS[&quot;CH1903 / 
LV03&quot;,GEOGCS[&quot;CH1903&quot;,DATUM[&quot;CH1903&quot;,SPHEROID[&quot;Bessel 
1841&quot;,6377397.155,299.1528128,AUTHORITY[&quot;EPSG&quot;,&quot;7004&quot;]],TOWGS84[674.374,15.056,405.346,0,0,0,0],AUTHORITY[&quot;EPSG&quot;,&quot;6149&quot;]],PRIMEM[&quot;Greenwich&quot;,0,AUTHORITY[&quot;EPSG&quot;,&quot;8901&quot;]],UNIT[&quot;degree&quot;,0.01745329251994328,AUTHORITY[&quot;EPSG&quot;,&quot;9122&quot;]],AUTHORITY[&quot;EPSG&quot;,&quot;4149&quot;]],PROJECTION[&quot;Hotine_Oblique_Mercator&quot;],PARAMETER[&quot;latitude_of_center&quot;,46.95240555555556],PARAMETER[&quot;longitude_of_center&quot;,7.439583333333333],PARAMETER[&quot;azimuth&quot;,90],PARAMETER[&quot;rectified_grid_angle&quot;,90],PARAMETER[&quot;scale_factor&quot;,1],PARAMETER[&quot;false_easting&quot;,600000],PARAMETER[&quot;false_northing&quot;,200000],UNIT[&quot;metre&quot;,1,AUTHORITY[&quot;EPSG&quot;,&quot;9001&quot;]],AUTHORITY[&quot;EPSG&quot;,&quot;21781&quot;]]&lt;/CoordinateSystem&gt;<br>

  
&lt;/SupplementalSpatialContextInfo&gt;<br>  
&lt;ConfigurationDocument&gt;config.xml&lt;/ConfigurationDocument&gt;<br>&lt;/FeatureSource&gt;</font></span></div>
<div><span><font face="Arial"></font></span> </div>
<div><span><font face="Arial">Can anyone 
help?</font></span></div>
<div><span><font face="Arial"></font></span> </div>
<div><span><font face="Arial">Thanks&amp;Regards,</font></span></div>
<div><span><font face="Arial">Jan</font></span></div>
<div><span><font face="Arial"></font></span> </div></div>
<br>_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br></blockquote></div><br>