API Support Forum
OEC API > API Support > Error: "Specified cast is not valid."
Author Topic: Error: "Specified cast is not valid."
(3 messages, Page 1 of 1)
Moderators: VPfau
SierraChart
Posts: 111
Joined: Jul 17, 2007


Posted: Dec 03, 2007 @ 03:03 PM             Msg. 1 of 3
One of my clients is reporting getting the error "Specified cast is not valid." This is an error reported directly from the OnError callback. I have not seen this error in my development or tests, so I'm asking if Open E Cry knows what might be causing this error. It looks like a .NET error, however all of my code is in C++ and I'm using the COM interface.
SierraChart
Posts: 111
Joined: Jul 17, 2007


Posted: Dec 05, 2007 @ 12:50 PM             Msg. 2 of 3
This information is from another report by the same user.

The error does not seem to happen all the time. When it does happen, it doesn't seem to be directly related to any function calls made on the Open E Cry API. The errors appear to start after we've already been connected and subscribed to a few symbols for a bit of time, and they come repeatedly, about one a minute.

Open E Cry error: Specified cast is not valid. 2007-12-05 08:20:44
Open E Cry error: Specified cast is not valid. 2007-12-05 08:21:45
Open E Cry error: Specified cast is not valid. 2007-12-05 08:22:45
Open E Cry error: Specified cast is not valid. 2007-12-05 08:23:46
Open E Cry error: Specified cast is not valid. 2007-12-05 08:24:46
Open E Cry error: Specified cast is not valid. 2007-12-05 08:25:46
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Dec 10, 2007 @ 03:29 PM             Msg. 3 of 3
we are researching this problem.

sorry for inconvenience.