Modal dialog issue - very urgent
Hi everyone,
i'm working with indesign application under asp.net. I'm using Interop.InDesign.dll. I'm able to open Indesign, but when i try to change UserInteractionLevel, then application returns error "Cannot handle the request because a modal dialog or alert is active." I can't see what modal dialog is opened because, i can't see Indesign window. It is runing in asp.net context.
When i'm opening manually Indesign then none of the modal dialogs is active.
My code:
Type indAppType = Type.GetTypeFromProgID("InDesign.Application");
objInDesign = (InDesign.Application)Activator.CreateInstance(indAppType, true);
objInDesign.ScriptPreferences.UserInteractionLevel = idUserInteractionLevels.idNeverInteract;
Do you have any solutuion for it ?
Thanks.
Regards
