Hi all Using Maestro 5 and MGOS 2.5 I can create new feature sources and layers from tables, but if I try to create a new layer based on a view I get this exception:
System.Exception: The remote server returned an error: (559) MgFdoException.: An exception occurred in FDO component. Error occurred in Feature Source (Library://test/GIS.FeatureSource): Item dbo.Indsatsplanområder is already in this named collection. (Cause: Item dbo.Indsatsplanområder is already in this named collection. , Root Cause: Item dbo.Indsatsplanområder is already in this named collection. ) - MgFeatureServiceHandler.ProcessOperation() line 83 file c:\mg-2.5-x64\mgdev\server\src\services\feature\FeatureServiceHandler.cpp - MgOpDescribeSchemaAsXml.Execute() line 110 file c:\mg-2.5-x64\mgdev\server\src\services\feature\OpDescribeSchemaAsXml.cpp - MgServerFeatureService.DescribeSchemaAsXml() line 388 file c:\mg-2.5-x64\mgdev\server\src\services\feature\ServerFeatureService.cpp - MgServerDescribeSchema.DescribeSchemaAsXml() line 643 file c:\mg-2.5-x64\mgdev\server\src\services\feature\ServerDescribeSchema.cpp - MgServerDescribeSchema.DescribeSchema() line 579 file c:\mg-2.5-x64\mgdev\server\src\services\feature\ServerDescribeSchema.cpp - MgServerDescribeSchema.DescribeFdoSchema() line 217 file c:\mg-2.5-x64\mgdev\server\src\services\feature\ServerDescribeSchema.cpp ---> System.Net.WebException: The remote server returned an error: (559) MgFdoException. at System.Net.HttpWebRequest.GetResponse() at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.OpenRead(String req) in c:\working\JenkinsCI\home\slave_win\jobs\Maestro 5.0.x\workspace\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line 1435 --- End of inner exception stack trace --- at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.OpenRead(String req) in c:\working\JenkinsCI\home\slave_win\jobs\Maestro 5.0.x\workspace\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line 1451 at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.GetClassDefinitionInternal(String resourceId, String schemaName, String className) in c:\working\JenkinsCI\home\slave_win\jobs\Maestro 5.0.x\workspace\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line 1985 at OSGeo.MapGuide.MaestroAPI.PlatformConnectionBase.GetClassDefinition(String resourceID, String className) in c:\working\JenkinsCI\home\slave_win\jobs\Maestro 5.0.x\workspace\OSGeo.MapGuide.MaestroAPI\PlatformConnectionBase.cs:line 1577 at Maestro.Base.Commands.SiteExplorer.CreateLayersFromFeatureSourceCommand.CreateLayers(IServerConnection conn, String featureSource, String targetFolder, String[] featureClasses) in c:\working\JenkinsCI\home\slave_win\jobs\Maestro 5.0.x\workspace\Maestro.Base\Commands\SiteExplorer\CreateLayersFromFeatureSourceCommand.cs:line 87 at Maestro.Base.Commands.SiteExplorer.CreateLayersFromFeatureSourceCommand.Run() in c:\working\JenkinsCI\home\slave_win\jobs\Maestro 5.0.x\workspace\Maestro.Base\Commands\SiteExplorer\CreateLayersFromFeatureSourceCommand.cs:line 49 at ICSharpCode.Core.WinForms.MenuCommand.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) What might be wrong? Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MGOS-2-5-Item-xxxxx-is-already-in-the-named-collection-tp5079775.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users