Knowledge Base Ask Cody Resources



 
When I run this code in a .NET service, it does not work. What could be wrong? tIterm.InvokeMember ("Show",BindingFlags.InvokeMethod,null,o,null);

I found that if I set "The interactive user" option on the Identity tab of DCOMCNFG, it fixes the problem

Well you probably need to allow IIS to interact with desktop, so that a web service can create visible windows.

Check "allow service to interact with desktop" for both IIS Admin Service and WWW Publishing service and restart them. Or try setting "The interactive user" option on the Identity tab of DCOMCNFG.





04/25/2024   Legal notices | PRIVACY Policy |