EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-11-13 10:02 AM . Last Modified: 2024-11-13 10:04 AM
Hi GeoScada Community,
I'm trying to fix an intermittent driver crash, for SE.GeoSCADA.DDK 6.85.8650. It happens roughly every 1.5 days.
I'm using the DriverApp provided by DriverScanner<> class, for example:
2024-11-13 01:23:02.8267 ServiceHost System.Runtime.InteropServices.COMException (0x80010006): The connection terminated or is in a bogus state and cannot be used any more. Other connections are still valid. (Exception from HRESULT: 0x80010006 (RPC_E_CONNECTION_TERMINATED))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at ClearSCADA.DriverFramework.DriverApp.SendReceiveObject(UInt32 ObjectId, UInt32 Type, Object DataObject)
I'm wondering what I should be doing in this situation?
Firstly, am I doing something wrong for this to occur, or is this a connection error that can happen in normal situations?
If this occurs, should I wait and retry the same request with this same connection?
Or should I create a new DriverApp? If so, should I attach the new DriverApp to the DriverScanner<>?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-12-11 09:01 AM
Well we upgraded to the Geoscada 2022 - Aug 2024 update and it seems to have fixed my driver issue, without making any changes to the driver. It's been about 1 week without crashes or any of the COM issues I had seen previously. So I think I am good now.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-11-29 07:37 AM
It's not clear if this might be related to your code communicating externally or to the driver communicating to the server.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-12-11 09:01 AM
Well we upgraded to the Geoscada 2022 - Aug 2024 update and it seems to have fixed my driver issue, without making any changes to the driver. It's been about 1 week without crashes or any of the COM issues I had seen previously. So I think I am good now.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-12-12 03:05 AM
It's possible that the error has been resolved by the upgrade, so I have marked that as the solution.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.