Hi Johnny,
Getting closer. Now I get the following error when trying to use GetFeatureInfo.
System.InvalidOperationException
HResult=0x80131509
Message=Invalid value for INFO_FORMAT: text/xml
Source=ThinkGeo.MapSuite.Layers.Wms
StackTrace:
at ThinkGeo.MapSuite.Layers.WmsRasterSource.HandleResponseCore(WebRequest request)
at ThinkGeo.MapSuite.Layers.WmsRasterSource.GetFeatureInfoCore(ScreenPointF screenPointF, String infoFormat, Int32 maxFeatures)
at ThinkGeo.MapSuite.Layers.WmsRasterLayer.GetFeatureInfo(ScreenPointF screenPointF, String infoFormat, Int32 maxFeatures)
at ThinkGeo.MapSuite.Layers.WmsRasterLayer.GetFeatureInfo(ScreenPointF screenPointF)
at WMS_v10.Form1.WinformsMap1_MapClick(Object sender, MapClickWinformsMapEventArgs e) in C:\Users\damian\OneDrive - acteq.net\Visual Studio Projects\Projects\WMS_v10\WMS_v10\Form1.cs:line 102
at ThinkGeo.MapSuite.WinForms.WinformsMap.OnMapClick(MapClickWinformsMapEventArgs e)
at ThinkGeo.MapSuite.WinForms.WinformsMap.M1M=(InteractionArguments interactionArguments)
at ThinkGeo.MapSuite.WinForms.WinformsMap.J1M=(Object sender, WFM= e)
at ThinkGeo.MapSuite.WinForms.MouseEventAnalyzer.OnMouseEvent(WFM= e)
at ThinkGeo.MapSuite.WinForms.MouseEventAnalyzer.VFM=(Double screenX, Double screenY, Double worldX, Double worldY)
at ThinkGeo.MapSuite.WinForms.WinformsMap.KlM=(Object sender, MouseEventArgs e)
at System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at WMS_v10.Program.Main() in C:\Users\damian\OneDrive - acteq.net\Visual Studio Projects\Projects\WMS_v10\WMS_v10\Program.cs:line 19