Errors when running Reports in Graphical View on Windows 10 Machines
  • 24 Mar 2023
  • Contributors
  • Dark
    Light
  • PDF

Errors when running Reports in Graphical View on Windows 10 Machines

  • Dark
    Light
  • PDF

Article summary

When sending reports to Graphical Viewer a few errors occur

1) System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
2) System.TypeinitializationExceptions: The type initializer for 'GrapeCity.ActiveReports.Expressions.Expressioninfo' threw and axception
3) System.Security.SecruiityException: Request for the permissions of type 'System.Security.Permissions.SecurityPermission,mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' Failed

Report runs for a little then other errors

4) Invalid datatype specified: Microedge.Fims.Reports.ViewerControl. Specify a datatype such as 'character' or the name of a class. (5638)
5) ** \\cfsc-app01\npo\found\fims\Gui\Reports\ReportViewer.cls Could not understand line 33. (196)

Steps To Duplicate:
1) Log into FIMS
2) Go to Reports> Run any report
3) Go to the Send To tab> Select Graphical Viewer> Run
4) Error Occurs
Answer:
This issue occurs because .Net assemblies are not updated on the workstation. The solution in the article below has to be run under an account that has full admin rights, also the FIMS shortcut on the workstation needs to be correctly configured, see the following:
How do I setup FIMS on a Workstation?
How do I create a FIMS shortcut on a workstation, terminal server or the database server?

Was this article helpful?