[mapguide-users] Maestro 4.0.4 - Cannot change WMS from PNG to JPG

Hans Milling hm at geograf.dk
Wed Nov 28 23:43:08 PST 2012


Hi All

Using Maestro 4.0.4 and MGOS2.2 I have added a WMS feature source, and using
the default PNG works fine. However it's an orthofoto and jpeg is a bit
faster. I then click Advanced, Image format and and change the type to JPG.
But when I save the feature source I get the following error:

System.Exception: The remote server returned an error: (559)
MgUnclassifiedException.: 
Problem:\nThe application encountered a problem and could not finish the
operation you just requested properly.\n\nSolution:\nIf it\'s the first time
you met this problem, try again or restart the application / session;
otherwise, describe the steps to reproduce this problem to the server
administrator for suggestions.

 ---> System.Net.WebException: The remote server returned an error: (559)
MgUnclassifiedException.
   at System.Net.HttpWebRequest.GetResponse()
   at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.OpenRead(String req) in
c:\Program Files (x86)\Jenkins\jobs\Maestro
4.0.x\workspace\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line
1221
   --- End of inner exception stack trace ---
   at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.OpenRead(String req) in
c:\Program Files (x86)\Jenkins\jobs\Maestro
4.0.x\workspace\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line
1237
   at
OSGeo.MapGuide.MaestroAPI.HttpServerConnection.DescribeFeatureSource(String
resourceID) in c:\Program Files (x86)\Jenkins\jobs\Maestro
4.0.x\workspace\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line
668
   at
OSGeo.MapGuide.ObjectModels.FeatureSource.FeatureSourceExtensions.Describe(IFeatureSource
fs) in c:\Program Files (x86)\Jenkins\jobs\Maestro
4.0.x\workspace\OSGeo.MapGuide.MaestroAPI\ObjectModels\FeatureSourceInterfaces.cs:line
486
   at Maestro.Editors.FeatureSource.ExtensionsCtrl.OnResourceSaved(Object
sender, EventArgs e) in c:\Program Files (x86)\Jenkins\jobs\Maestro
4.0.x\workspace\Maestro.Editors\FeatureSource\ExtensionsCtrl.cs:line 149
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at Maestro.Editors.ResourceEditorServiceBase.OnSaved() in c:\Program
Files (x86)\Jenkins\jobs\Maestro
4.0.x\workspace\Maestro.Editors\ResourceEditorServiceBase.cs:line 423
   at Maestro.Editors.ResourceEditorServiceBase.SaveAs(String resourceID) in
c:\Program Files (x86)\Jenkins\jobs\Maestro
4.0.x\workspace\Maestro.Editors\ResourceEditorServiceBase.cs:line 251
   at Maestro.Base.Commands.SaveResourceAsCommand.Run() in c:\Program Files
(x86)\Jenkins\jobs\Maestro
4.0.x\workspace\Maestro.Base\Commands\SaveResourceAsCommand.cs:line 60
   at Maestro.Base.Commands.SaveResourceCommand.Run() in c:\Program Files
(x86)\Jenkins\jobs\Maestro
4.0.x\workspace\Maestro.Base\Commands\SaveResourceCommand.cs:line 39
   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)

Should I file a ticket or is there a known workaround? (I can edit the XML
manually, but after saving and either testing or using the feature source
the MapGuide server throws the same error).

Best regards
  Hans Milling...



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Maestro-4-0-4-Cannot-change-WMS-from-PNG-to-JPG-tp5019493.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list