Symptoms

When you run Report Commander in evaluation mode (i.e., you have not activated Report Commander using a license) from a Web application or other application (such as adTempus) that runs Report Commander in a non-interactive mode (without a desktop), Report Commander may fail with the following .NET Framework exception message:

It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

Alternatively, Report Commander may fail with a generic error message similar to the following:

adcrutil.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
System.InvalidOperationException occurred in adcrutil.exe

Cause

This occurs because when you run Report Commander in evaluation mode, the program tries to display a dialog box with an evaluation notice. Because Report Commander is running in a non-interactive session, it is not permitted to display the dialog box.

Resolution

This error will not occur if Report Commander is running with a license. If you are evaluating Report Commander, obtain a temporary license to avoid this problem.