Further to my difficultiess with unmanged data sources in 2.4, I wonder if the following images help.  As you can see the schema name is different in the two previews of the same data source.  If I do this comparison on the same datasource under 2.2 the names match.  This suggests to me an issue or possible answer as to why I cannot create layers from these datasources?  I have no idea why the difference exists but it happens to anything I import from a package or anything new I create.  

<b>Schema Name of data source as shown in Maestro using the Preview function on the Toolbar.  This is the correct or expected name.</b>
<a href="http://osgeo-org.1560.n6.nabble.com/file/n5004985/schema1.png" target="_top" rel="nofollow" link="external">schema1.png</a>

<b>Schema Name of data source as shown in Maestro using the Local Preview function</b>
<a href="http://osgeo-org.1560.n6.nabble.com/file/n5004985/schema2.png" target="_top" rel="nofollow" link="external">schema2.png</a>


<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="quote dark-border-color"><div class="quote light-border-color">
<div class="quote-author" style="font-weight: bold;">gom wrote</div>
<div class="quote-message">
I have a number of unmanaged SDF files in a folder. (2 point sdf files, 3
polyline (curve) sdf files) I have them authored/working nicely on an active
Mapguide 2.2 server 32 bit version on IIS.  I exported them as a package and
imported them to my development workstation.  Windows 7 Professional,
Mapguide 2.4 RC1.  I have another test server Windows 2008 IIS with 2.4 RC2
64 bit where I did the same.

The data files are available for authoring in the Mapguide Studio/Maestro
programs.  I can create data sources and use the preview functions on the
programs to view the schema, attributes etc with no trouble.  I see a valid
geometry property.  In addition I can preview the features and see the
objects drawn as expected.  Permissions seem to be consistent across the
three machines.

All the layers for 4 data sources are broken.  When I go to modify a layer,
and select one of the 4 data sources, I get an errors.  When I try to create
a new layer I get the same errors. Re-creating the data sources makes no
difference.  (One of the polyline data sources is still  working as
expected).  I edited and saved each file in AutoCAD map to ensure I could
read/write them successfully.

In Maestro 4.0.2 it says "Feature Source  (xxx) has no usable feature
classes.  Choose a different feature source.", then it says "The Resource ID
could not be found."

In Mapguide Studio 2010 and 2011 it says "Object reference not set to an
instance of an object."  The layer dialog shows the selected FeatureSource
name and the expected schema in the dropdown list but Geometry drop down has
no options.

I have tried every variation of new feature sources and layers but no luck.
Is there something I am missing?  Can anyone suggest some different tests or
approaches I can take to sorting this out?

mapguide-users mailing list
<a href="/user/SendEmail.jtp?type=node&node=5004985&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
http://lists.osgeo.org/mailman/listinfo/mapguide-users
</div>
</div></blockquote>



        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/Cannot-Create-Layers-From-Feature-Sources-tp5003380p5004985.html">Re: Cannot Create Layers From Feature Sources</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/MapGuide-Users-f4182607.html">MapGuide Users mailing list archive</a> at Nabble.com.<br/>