How can I solve this error "You cannot use C/AL variables of type DIALOG when running the Application Server for Microsoft Dynamics NAV Classic." ?

How can I solve this error “You cannot use C/AL variables of type DIALOG when running the Application Server for Microsoft Dynamics NAV Classic.” . Can we resolve this issue with out change any standard code? If anybody can help on this, It would be highly appreciable.

Thanks,

Jithin.

Are you using NAS?

Yes. I am using NAS.

Jithin.

You can’t use DIALOG window in applicationserver

NAS you have to use

IF GUIALLOWED THEN

before the dialog window

yes Use GUIALLOWED statement before Dialog statement
Like

IF GUIALLOWED THEN

Is it required to use IF GUIALLOWED THEN before each and every dialog window comes in the executable code? I so, then we have to find out each and every dialog window and give the code IF GUIALLOWED THEN just before it. Is there any other method?

Thanks,

Jithin.

yes you have to find each and every dialog window

There is no other way…

You have to create new object…