Visual Studio Installer doesn't open

ilyas varol 21 Reputation points
2021-03-15T11:38:35.94+00:00

I want to install VS 2019 Pro on my computer but VS 2019 doesn't open. I see this error in windows event viewer

Error Information
AppInsightsEvent Name = vs/setupengine/fault
          Description = Application failed with an uncaught exception: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
     TelemetrySession = 'ec253d91-3714-4619-9d9d-126ec43138e9' Started = True OptIn=True IsInitialized = True Cloned = True
      WatsonEventType = VisualStudioNonFatalErrors2
             UTC time = 2021-03-15T10:43:59

 Exception:
 System.Xml.XmlException
 '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
 System.Xml.XmlTextReaderImpl.Throw(Exception e)
 System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
 System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
 System.Xml.XmlTextReaderImpl.ParseDocumentContent()
 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
 System.Xml.XmlDocument.Load(XmlReader reader)
 SharpVectors.Dom.Css.CssXmlDocument.Load(XmlReader reader)
 SharpVectors.Dom.Svg.SvgDocument.Load(Stream inStream)
 SharpVectors.Renderers.Utils.WpfSvgWindow.LoadDocument(Stream documentStream)
 Microsoft.VisualStudio.Setup.Installer.Converters.SvgStringToDrawingConverter.ConvertTo(Object value, Object parameter, CultureInfo culture)
 Microsoft.VisualStudio.Setup.Installer.Converters.ValueConverter`3.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
 System.Windows.Data.BindingExpression.Activate(Object item)
 System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
 System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
 MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
 MS.Internal.Data.DataBindEngine.Run(Object arg)
 System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
 System.Windows.ContextLayoutManager.UpdateLayout()
 System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 System.Windows.Threading.DispatcherOperation.InvokeImpl()
 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 System.Windows.Threading.DispatcherOperation.Invoke()
 System.Windows.Threading.Dispatcher.ProcessQueue()
 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
 System.Windows.Application.RunDispatcher(Object ignore)
 System.Windows.Application.RunInternal(Window window)
 Microsoft.VisualStudio.Setup.Installer.Application.MainApplication.Microsoft.VisualStudio.Setup.Installer.IApplication.Run()
 Microsoft.VisualStudio.Setup.Installer.Program.ExecuteInternal(IServiceContainer services, ICommandLineParserResult`1 parserResult, ITelemetry telemetry, ILogger logger)
WerReportAddDump PID=3896 setup WerDumpTypeMiniDump
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,511 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
952 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cuong Pham Ngoc 16 Reputation points
    2021-04-15T10:11:43.647+00:00

    I got same problem and unable to update my visual studio or new install. The error log was attached.

    88186-errorinformation.txt

    1 person found this answer helpful.