Pre loader

SciChart for WPF Web Application

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

I am evaluating SciChart for an upcoming project.
I need to be able to use the charts in a web browser as well as a console.
I have downloaded the v5 trial version and have been trying to use the chart control in a WPF browser application.
While trying to do so, I get runtime error “A first chance exception of type ‘System.Windows.Markup.XamlParseException’ occurred in PresentationFramework.dll”

Can you please help me to fix the above issue.

Version
4.5
  • You must to post comments
0
0

Hi Nazia,

In the XamlParseException there will be an inner exception. That too may have an inner exception. Go down all of them and please paste the error messages from all inner exceptions here. Then we can try and diagnose the problem.

Best regards,
Andrew

  • You must to post comments
0
0

Hi Andrew,

Please find below details of the inner exceptions and stack trace:

Inner Exceptions
A first chance exception of type ‘System.Windows.Markup.XamlParseException’ occurred in PresentationFramework.dll

Additional information: ‘The invocation of the constructor on type ‘SciChart.Examples.ExternalDependencies.Controls.SciChart3DInteractionToolbar.SciChart3DInteractionToolbar’ that matches the specified binding constraints threw an exception.’ Line number ’31’ and line position ’10’.

The invocation of the constructor on type ‘SciChart.Examples.ExternalDependencies.Controls.SciChart3DInteractionToolbar.SciChart3DInteractionToolbar’ that matches the specified binding constraints threw an exception.’ Line number ’31’ and line position ’10’.”

The type initializer for ‘SciChart.Examples.ExternalDependencies.Controls.SciChart3DInteractionToolbar.SciChart3DInteractionToolbar’ threw an exception.”

The type initializer for ” threw an exception.

The type initializer for ‘A.LZ’ threw an exception.

Attempt by security transparent method ‘A.LZ..cctor()’ to access security critical method ‘System.AppDomain.add_ResourceResolve(System.ResolveEventHandler)’ failed.\n\nAssembly ‘SciChart.Charting3D, Version=5.0.0.10963, Culture=neutral, PublicKeyToken=b55dd9efe817e823’ is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself. In order to access security critical code, this assembly must be fully trusted.

Stack Trace
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 System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at SciChart.Examples.Examples.Charts3D.CreateA3DChart.LogarithmicAxis3DView.InitializeComponent()
at SciChart.Examples.Examples.Charts3D.CreateA3DChart.LogarithmicAxis3DView..ctor()

Attached is a screenshot of the exception: “ExceptionSciChart.png”

Regards,
Nazia

Images
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies