[mapguide-internals] Error caused when inserting into SQLServer data source through MapGuide API

Zac Spitzer zac.spitzer at gmail.com
Mon Aug 4 05:04:24 EDT 2008


Carl,

Is this related http://trac.osgeo.org/mapguide/ticket/649 ?

z


On Mon, Aug 4, 2008 at 6:38 PM, Carl Jokl <carl.jokl at keynetix.com> wrote:
>
> When using a MapGuide insert features command I get an error when inserting
> into a SQLServer based data source. The insertion seems to be completing
> successfully but an error still occurs.
>
> Here is the log entry:
>
> 04-Aug-2008 09:07:45 [1] ERROR
> Keynetix.Mapping.MGToolKit.Factory.Feature.DefaultFeatureFactory [(null)] -
> Error was returned by insert operation: An exception occurred in FDO
> component.
> End of feature data or NextFeature not called
> Exception occurred in method MgServerUpdateFeatures.UpdateFeatures at line
> 97 in file
> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\feature\ServerUpdateFeatures.cpp
>
> I understand that after an insert operation completes the normal mapguide
> way of doing things is to return a feature reader to the newly inserted
> features. If something is going wrong whereby the SQLServer provider is not
> producing the expected feature reader.
>
> Has anyone encountered this problem? The same thing happens when using an
> auto generated Id or a manually generated one. The data is in the database
> afterward. It also seems after the error that a database connection it not
> being released from the database.
>
> --
> View this message in context: http://www.nabble.com/Error-caused-when-inserting-into-SQLServer-data-source-through-MapGuide-API-tp18807540p18807540.html
> Sent from the MapGuide Internals mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168


More information about the mapguide-internals mailing list