I created C# project for Automation. But when ever I run ShowDialog function of the automation variable on RTC it gives me the following error. The same automation variable runs perfectly on Classic client.
This message is for C/AL programmers: The call to member Showdialog failed 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.
Has anyone got the same error while developing COM Class and using it in NAV.?
Thanks
Pawan
0
Comments
CREATE(Automation [,NewServer] [,OnClient])
Where OnClient = TRUE