You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got this error message when trying to clip from Landfire_EVT webservice on the server to the AOI. I'm running the addin on ArcMap 10.8.1. Gus has the same issue on 10.5.X.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'ESRI.ArcGIS.Catalog.IGxDataset'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{BDBBB3F4-D0B2-11D1-AED9-080009EC734B}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at BAGIS.frmAOIInfo.CmdAddLayer_Click(Object sender, EventArgs e) in C:\workspace\vb-bagis\src\AOI\frmAOIInfo.vb:line 983
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)
The text was updated successfully, but these errors were encountered:
I think we agreed a couple of years ago to not make webservices available for importing to BAGIS due to concerns about possible projection mismatches if we leave this open to all webservices. Search for an e-mail called 'BAGIS Aoi Info - Add a new layer' from November 2018. Of course, we know that the webservices in our data bin will work fine. Here are a couple of suggestions for enabling this feature:
Check the webservice projection against the AOI projection when it is selected. If they don't match, warn the user of a potential error but allow them to continue if desired. This could be annoying if the projection doesn't match between our data bin and the AOI and the message pops every time. We would need to look into the projection info from the web service.
Check the webservice uri and only allow the user to continue if it is in the databin or (less restrictive) on our server
According to the old email, this is also an issue with the Settings form so, whatever our decision, we should be handling it the same in both places. Currently on the settings form, we catch that the input is a webservice and don't allow the user to continue. At the least, we should add this to the AOI Utilities form to avoid this exception.
It is technically possible to clip an image service using ArcMap because we are doing it in BAGIS-P. BTW that is a workaround for Gus if he needs this layer right away. The Data Manager in BAGIS-P has the capability to clip the evt file to the AOI.
Got this error message when trying to clip from Landfire_EVT webservice on the server to the AOI. I'm running the addin on ArcMap 10.8.1. Gus has the same issue on 10.5.X.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'ESRI.ArcGIS.Catalog.IGxDataset'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{BDBBB3F4-D0B2-11D1-AED9-080009EC734B}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at BAGIS.frmAOIInfo.CmdAddLayer_Click(Object sender, EventArgs e) in C:\workspace\vb-bagis\src\AOI\frmAOIInfo.vb:line 983
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)
The text was updated successfully, but these errors were encountered: