Hi there, I have a situation with ReportViewer with Implicit Styles (Windows8Touch). When I run my project an error is shown:
An unhandled exception of type 'System.InvalidOperationException' occurred in PresentationFramework.dll. Additional information: 'root' name cannot be found in the name scope of 'System.Windows.Controls.Grid'.
So, viewing the details of the error I found this situation in the InnerException:
Cannot load 'DocumentFormat.OpenXml'...
I added the library in my project and the following setting in App.config:
But the first error is shown without InnerException. With any other Implicit Style (Office2013, Windows 7, etc) works perfectly.
Is there a problem with Windows8Touch XAML definition in Implicit Styles?
An unhandled exception of type 'System.InvalidOperationException' occurred in PresentationFramework.dll. Additional information: 'root' name cannot be found in the name scope of 'System.Windows.Controls.Grid'.
So, viewing the details of the error I found this situation in the InnerException:
Cannot load 'DocumentFormat.OpenXml'...
I added the library in my project and the following setting in App.config:
<
dependentAssembly
>
<
assemblyIdentity
name
=
"DocumentFormat.OpenXml"
culture
=
"neutral"
publicKeyToken
=
"31bf3856ad364e35"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-65535.65535.65535.65535"
newVersion
=
"2.5.5631.0"
/>
</
dependentAssembly
>
Is there a problem with Windows8Touch XAML definition in Implicit Styles?