Hi,
I'm having a problem with an expression in column. Any math expression, such as addition, subtraction, division or multiplication will result in an "#Error" in run-time. Even the simpliest expressions such as 100/5 produces errors. It does work Ok in a preview mode in design-time.
Any help will be greatly appreciated.
Thank you. John
Hello,
Thank you for your post.
I have been looking into it, but it seems like I am missing something from your scenario, so if this is still an issue for you, could you please send me, an isolated sample project, where this is reproduced, so I can investigate it further for you.
Looking forward to hearing from you.
Thanks for the quick reply. We found the reason for this error. In the project's app.config file, I have an entry which is required for supporting legacy scanner driver. Here is the entry:
<runtime>
<NetFx40_LegacySecurityPolicy enabled="true"/>
</runtime>
I have attached an isolated sample project which you can use to reproduce the error. By removing the above entry from app.config, the issue is fixed. Please let me know how this can be fixed without removing the app.config entry, since I need to support the mentioned legacy scanner driver.
Thank you for your help,
John