Articles in this section
Category / Section

How do I solve the license error when using XlsIO in Windows Service?

1 min read

The following error may occur:
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.

This often indicates that the license file is not embedded in the application. Please follow the steps given below:

  • Include the license file in the project as Embedded Resource
  • Now recompile the application, it should work in windows service

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied