[mapguide-internals] Error caused when inserting into SQLServer
data source through MapGuide API
Carl Jokl
carl.jokl at keynetix.com
Mon Aug 4 04:38:03 EDT 2008
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.
More information about the mapguide-internals
mailing list