﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">Исключение InvalidOperationException: Indexing not switched on</title>
  <id>~/topic/14587/isklyuchenie-invalidoperationexception-indexing-not-switched-on/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-16T06:03:43Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=14587" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/53840/</id>
    <title type="text">в общем, это какие то внутренние глюки, судя по декомпилированному коду, если выполнить MemoryStatis...</title>
    <published>2020-10-19T19:51:53Z</published>
    <updated>2020-10-19T19:51:53Z</updated>
    <author>
      <name>александр</name>
      <uri>https://stocksharp.com/users/103953/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;в общем, это какие то внутренние глюки, судя по декомпилированному коду, если выполнить MemoryStatistics.Instance.Dispose(); то цикл вывода статистики в логи будет остановлен и падать больше не будет.
Глючный + закрытый софт это слишком сложно для того, чтобы что-то на этом строить :(&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/53826/</id>
    <title type="text">Пытаюсь запустить приложение использующее коннектор стокшарпа к бинанс. Без подключения к бирже, чер...</title>
    <published>2020-10-17T01:11:09Z</published>
    <updated>2020-10-17T01:11:09Z</updated>
    <author>
      <name>александр</name>
      <uri>https://stocksharp.com/users/103953/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Пытаюсь запустить приложение использующее коннектор стокшарпа к бинанс. Без подключения к бирже, через минуту происходит какая-то внутренняя ошибка, после которой приложение перестает работать.
Подозреваю, что разработчик забыл что-то инициализировать.
версия коннектора 5.0.1, пробовал обновиться, но в новой версии есть несовместимые изменения, поэтому хотелось бы запустить на имеющейся. Можно ли как то это исправить?&lt;/p&gt;
&lt;p&gt;System.InvalidOperationException: Indexing not switched on.
at Ecng.Collections.SynchronizedSet&lt;code&gt;1.CheckIndexingEnabled() at Ecng.Collections.SynchronizedSet&lt;/code&gt;1.OnGetItem(Int32 index)
at Ecng.Collections.BaseCollection&lt;code&gt;2.get_Item(Int32 index) at Ecng.Collections.SynchronizedCollection&lt;/code&gt;2.get_Item(Int32 index)
at System.Linq.Enumerable.SelectIListIterator&lt;code&gt;2.ToArray() at System.Linq.Enumerable.ToArray[TSource](IEnumerable&lt;/code&gt;1 source)
at Ecng.Common.StringHelper.Join(IEnumerable`1 parts, String separator)
at StockSharp.Logging.MemoryStatistics.ToString()
at StockSharp.Logging.MemoryStatistics.&amp;lt;&amp;gt;c__DisplayClass5_0.&amp;lt;.ctor&amp;gt;b__0()
at Ecng.Common.ThreadingHelper.&amp;lt;&amp;gt;c__DisplayClass0_0.&amp;lt;Timer&amp;gt;b__0(Object s)
at System.Threading.TimerQueueTimer.&amp;lt;&amp;gt;c.&amp;lt;.cctor&amp;gt;b__23_0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.TimerQueueTimer.CallCallback(Boolean isThreadPool)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.TimerQueue.AppDomainTimerCallback(Int32 id)&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>