﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">installer. StockSharp</title>
  <id>https://stocksharp.ru/handlers/atom.ashx?category=tag&amp;id=installer&amp;type=community</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-10T10:24:24Z</updated>
  <logo>https://stocksharp.ru/images/logo.png</logo>
  <link href="https://stocksharp.ru/handlers/atom.ashx?category=tag&amp;id=installer&amp;type=community" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.ru/topic/21775/</id>
    <title type="text">Перестали работать приложения. переустановка с ошибкой</title>
    <published>2022-07-22T03:40:26Z</published>
    <updated>2022-07-22T11:17:46Z</updated>
    <author>
      <name>berg</name>
      <uri>https://stocksharp.ru/users/168593/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <category term="installer" />
    <category term="#установка" />
    <content type="html">&lt;p&gt;Сначала работали и Гидра и Дизайнер. Потом у Дизайнера приключился какой-то глюк, стал выдавать непрерывные ошибки. Переустановка не прошла, снес папку, стал переустанавливать - установку завершить не может, выдает ошибки.
Переустановил Инсталлер, после этого перестала работать  и Гидра.
Снес всё, заново установил Инсталер, после этого ни один пакет из доступных бесплатных не может установиться до конца.&lt;/p&gt;
&lt;p&gt;Ошибки в логах чаще всего такие:
VMPageInstallActions	22.07.2022 8:29:55 +05:00	Error	CmdExecuteAsync error: System.InvalidCastException: Can't convert  of type 'System.String' to type 'System.Xml.Linq.XElement'.
---&amp;gt; System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
at Ecng.Common.Converter.To(Object value, Type destinationType)
--- End of inner exception stack trace ---
at Ecng.Common.Converter.To(Object value, Type destinationType)
at Ecng.Common.Converter.To(Object value)
at StockSharp.Licensing.License..ctor(Byte[] body)
at StockSharp.Installer.ProfileHelper.KeepLicenseUpToDateAsync(CancellationToken token)
at StockSharp.Installer.UI.VMPageInstallActions.CmdExecuteAsync()&lt;/p&gt;
&lt;p&gt;и такие
ProfileHelper	22.07.2022 8:23:03 +05:00	Error	refresh license error: System.InvalidCastException: Can't convert  of type 'System.String' to type 'System.Xml.Linq.XElement'.
---&amp;gt; System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
at Ecng.Common.Converter.To(Object value, Type destinationType)
--- End of inner exception stack trace ---
at Ecng.Common.Converter.To(Object value, Type destinationType)
at Ecng.Common.Converter.To(Object value)
at StockSharp.Licensing.License..ctor(Byte[] body)
at StockSharp.Installer.ProfileHelper.KeepLicenseUpToDateAsync(CancellationToken token)
at StockSharp.Installer.UI.VMPageInstallActions.CmdExecuteAsync()&lt;/p&gt;
&lt;p&gt;но бывают и такие:
VMPageInstallActions	22.07.2022 8:21:06 +05:00	Error	CmdExecuteAsync error: NuGet.Protocol.Core.Types.FatalProtocolException: Error downloading 'StockSharp.Hydra.5.0.124 : Microsoft.Data.SqlClient [3.0.1, ), Microsoft.Data.Sqlite [5.0.11, ), StockSharp.Algo.Export [5.0.30, ), StockSharp.Configuration.Adapters [5.0.134, ), StockSharp.Hydra.Core [5.0.124, ), StockSharp.Studio.Controls [5.0.134, ), StockSharp.Xaml.CodeEditor [5.0.113, )' from 'https://nuget.stocksharp.com/x/v3/package/stocksharp.hydra/5.0.124/stocksharp.hydra.5.0.124.nupkg'.
---&amp;gt; System.TimeoutException: The HTTP request to 'GET https://nuget.stocksharp.com/x/v3/package/stocksharp.hydra/5.0.124/stocksharp.hydra.5.0.124.nupkg' has timed out after 100000ms.
at NuGet.Protocol.TimeoutUtility.StartWithTimeout(Func&lt;code&gt;2 getTask, TimeSpan timeout, String timeoutMessage, CancellationToken token) at NuGet.Protocol.HttpRetryHandler.SendAsync(HttpRetryHandlerRequest request, String source, ILogger log, CancellationToken cancellationToken) at NuGet.Protocol.HttpSource.GetThrottledResponse(Func&lt;/code&gt;1 requestFactory, TimeSpan requestTimeout, TimeSpan downloadTimeout, Int32 maxTries, Boolean isRetry, Boolean isLastAttempt, Guid sessionId, ILogger log, CancellationToken cancellationToken)
at NuGet.Protocol.HttpSource.ProcessResponseAsync(HttpSourceRequest request, Func&lt;code&gt;2 processAsync, SourceCacheContext cacheContext, ILogger log, CancellationToken token) at NuGet.Protocol.HttpSource.ProcessStreamAsync(HttpSourceRequest request, Func&lt;/code&gt;2 processAsync, SourceCacheContext cacheContext, ILogger log, CancellationToken token)
at NuGet.Protocol.GetDownloadResultUtility.GetDownloadResultAsync(HttpSource client, PackageIdentity identity, Uri uri, PackageDownloadContext downloadContext, String globalPackagesFolder, ILogger logger, CancellationToken token)
--- End of inner exception stack trace ---
at NuGet.Protocol.GetDownloadResultUtility.GetDownloadResultAsync(HttpSource client, PackageIdentity identity, Uri uri, PackageDownloadContext downloadContext, String globalPackagesFolder, ILogger logger, CancellationToken token)
at NuGet.Protocol.DownloadResourceV3.GetDownloadResourceResultAsync(PackageIdentity identity, PackageDownloadContext downloadContext, String globalPackagesFolder, ILogger logger, CancellationToken token)
at NuGet.PackageManagement.PackageDownloader.GetDownloadResourceResultAsync(SourceRepository sourceRepository, PackageIdentity packageIdentity, PackageDownloadContext downloadContext, String globalPackagesFolder, ILogger logger, CancellationToken token)
at NuGet.PackageManagement.PackagePreFetcher.&amp;lt;&amp;gt;c__DisplayClass0_1.&amp;lt;&lt;GetPackagesAsync&gt;b__4&amp;gt;d.MoveNext()
--- End of stack trace from previous location ---
at NuGet.PackageManagement.PackagePreFetcherResult.EnsureResultAsync()
at NuGet.PackageManagement.PackagePreFetcherResult.GetResultAsync()
at NuGet.PackageManagement.NuGetPackageManager.ExecuteNuGetProjectActionsAsync(NuGetProject nuGetProject, IEnumerable&lt;code&gt;1 nuGetProjectActions, INuGetProjectContext nuGetProjectContext, PackageDownloadContext downloadContext, CancellationToken token) at NuGet.PackageManagement.NuGetPackageManager.ExecuteNuGetProjectActionsAsync(NuGetProject nuGetProject, IEnumerable&lt;/code&gt;1 nuGetProjectActions, INuGetProjectContext nuGetProjectContext, PackageDownloadContext downloadContext, CancellationToken token)
at NuGet.PackageManagement.NuGetPackageManager.ExecuteNuGetProjectActionsAsync(NuGetProject nuGetProject, IEnumerable&lt;code&gt;1 nuGetProjectActions, INuGetProjectContext nuGetProjectContext, PackageDownloadContext downloadContext, CancellationToken token) at NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync(NuGetProject nuGetProject, PackageIdentity packageIdentity, ResolutionContext resolutionContext, INuGetProjectContext nuGetProjectContext, PackageDownloadContext downloadContext, IEnumerable&lt;/code&gt;1 primarySources, IEnumerable`1 secondarySources, CancellationToken token)
at StockSharp.Installer.Installer.DoInstallAsync(InstallerProject project, CancellationToken token)
at StockSharp.Installer.Installer.InstallAsync(ProductVersion version, String dir, CancellationToken token)
at StockSharp.Installer.Product.InstallAsync(ProductVersion version, String dir, CancellationToken token)
at StockSharp.Installer.UI.VMPageInstallActions.ExecuteAsync(CancellationToken token)
at StockSharp.Installer.UI.VMPageInstallActions.CmdExecuteAsync()&lt;/p&gt;
</content>
  </entry>
</feed>