I use reporting engine for .NET
I have the same class name in different namespaces. I added them to engine’s knowntypes.
I’m trying to use them as follows: ((CAType011901.ServiceProperties)custom).ChildLastName
And get an exception “An error has been encountered at the end of expression ‘((CAType011901.ServiceProperties)custom)’. Closing parenthesis or operator is expected.”
If there is only one class name then cast by partially qualified name is working fine: ((ServiceProperties)custom).ChildLastName
If you still face problem, please attach the following resources here for testing:
Your input Word document.
Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.
As soon as you get these pieces of information ready, we’ll start investigation into your issue and provide you more information. Thanks for your cooperation.
PS: To attach these resources, please zip and upload them.