Hello, I have created a SQL Server data source, defined a feature class, and copied a bunch of polyline features into it. When I preview the feature source in Maestro, I can see my feature class listed with the attributes (and key) that I defined. If I click View Data from the feature source preview, I can see all of the data associated with the features and if I click View Feature, I can see those features graphically. however, when I create a layer from this feature source and define a basic style for the Line features, the layer (or perhaps just the preview function) does not appear to work properly. If I try to preview the layer, I get the exception below. Needless to say, if i try to build a MapDefinition or ApplicationDefintion using this layer, it also doesn't work. Any idea what could be going wrong or how to fix it?
Here is the exception: System.Exception: The remote server returned an error: (559) MgDbXmlException.: The custom error module does not recognize this error. ---> System.Net.WebException: The remote server returned an error: (559) MgDbXmlException. at System.Net.HttpWebRequest.GetResponse() at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.SetResourceXmlData(String resourceId, Stream content, Stream header) in C:\projects\mapguide-maestro\OSGeo.MapGuide.MaestroAPI\Http\HttpServerConnection.cs:line 662 --- End of inner exception stack trace --- at Maestro.Editors.Preview.LocalMapPreviewer.<>c__DisplayClass10_0.<Preview>b__1(Object obj, Exception ex) in C:\projects\mapguide-maestro\Maestro.Editors\Preview\LocalMapPreviewer.cs:line 166 at Maestro.Shared.UI.BusyWaitDialog.Run(String message, BusyWaitDelegate action, Action`2 onComplete, Boolean bPreserveThreadCulture) in C:\projects\mapguide-maestro\Maestro.Shared.UI\BusyWaitDialog.cs:line 103 at Maestro.Editors.Preview.LocalMapPreviewer.Preview(IResource res, IEditorService edSvc, String locale) in C:\projects\mapguide-maestro\Maestro.Editors\Preview\LocalMapPreviewer.cs:line 163 at Maestro.Base.Editor.EditorContentBase.Preview() in C:\projects\mapguide-maestro\Maestro.Base\Editor\EditorContentBase.cs:line 357 at Maestro.Base.Commands.PreviewResourceCommand.Run() in C:\projects\mapguide-maestro\Maestro.Base\Commands\PreviewResourceCommand.cs:line 42 at ICSharpCode.Core.WinForms.ToolBarCommand.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.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.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) -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users