Posted 6 December 2023, 6:04 am EST
Hi,
The case has been already encoded (CAS-41946-G3Q7C9) in the support but maybe help can be foud here …
We have a windows service in our solution and in this service, we use some graphical components to achieve some tasks
For example, we use a C1FlexGrid to load dataset and then export the results in Excel.
It works very well in release 4.5.2 v438 but not anymore in 4.8 (611).
We have this error message :
“2023/12/05 15:59:47”;3;;“Err : System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at et.a(a A_0, ez A_1, ev A_2, Object A_3)
at et.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
at C1.Util.Licensing.ProviderInfo.Validate(Type type, Object instance, Boolean showNagDialog, Boolean useAppDomainTest)
at C1.Win.C1FlexGrid.C1FlexGrid…ctor()
at OrfComponent.UIGrdMainClassToHerit…ctor() in C:\Orfival\Patch Gpms V212\Sources\Gpms .NET\OrfInterface\OrfComponent\UIGrdMainClassToHerit.vb:line 29
at OrfComponent.UIGrdEnhanced…ctor() in C:\Orfival\Patch Gpms V212\Sources\Gpms .NET\OrfInterface\OrfComponent\UIGrdEnhanced.vb:line 62
at OrfTask.UITaskResult.InitializeComponent() in C:\Orfival\Patch Gpms V212\Sources\Gpms .NET\OrfTask\UITaskResult.Designer.vb:line 36
at OrfTask.UITaskResult…ctor() in C:\Orfival\Patch Gpms V212\Sources\Gpms .NET\OrfTask\UITaskResult.vb:line 50”
Help is required ASAP
Thanks