Cellofer-0188 avatar image
0 Votes"
Cellofer-0188 asked AlexLi-MSFT edited

Getting a ribbon exception


2020-05-16T16:31:56.411+06:00 Using locale: en_US
2020-05-16T16:31:56.603+06:00 Initialization of 'System.Windows.Controls.Ribbon.Ribbon' threw an exception.
2020-05-16T16:31:56.608+06:00 at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at ComsolDesktop.ControlsImpl.MainWindowView..ctor(MainWindow mainWindow, MainRibbonWindow ribbonWindow)
at ComsolDesktop.ControlsImpl.MainWindowView.CreateMainWindowView(MainWindow mainWindow, Boolean shareWithPrimary)
at ComsolDesktop.App.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

When I try to open Comsol Software the attached log appears. The software worked properly 2 days ago. Suddenly, yesterday this appeared. I reinstalled the software but nothing works.

Please help me figure out this one.

com.jpg (99.6 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Is the Comsol an application developed by you or an application which you use? If you developed this application, did you use the WPF for the code? If you use the WPF for this application, please give more details how to use the ribbon.

0 Votes 0 ·

I didn't developed comsol. It's a software. When I try to open it the error log shows up.

0 Votes 0 ·

Your question is not related to WPF developing, and it is not in our supporting scope.

0 Votes 0 ·

0 Answers