All,
I've just compiled a WC6.21 exe and for some reason, the usual WC form doesn't show in file mode.
ShowServerForm=ON in the app's .ini [main].
Running the exe via Windows Explorer shows an instance in Task Manager and admin.aspx but no GUI.
Load/Unload File Server via admin.aspx, ditto.
Running in IDE the form displays as expected.
The exe happily serves pages, just no GUI.
Any ideas?
Solved... I believe it's to do with experimentation I was doing to automate specific identity for app pools. I'd programmatically set what I knew to be bad credentials. Once corrected, the GUI showed as expected.
UI won't show if the server is loaded from within a IIS because it's running in a system service context and the user doesn't have UI rights there.
The only way to get the UI to display is to have the COM server DCOM identity explicitly set to INTERACTIVE.
For file based I think the App Pool Identity has to be running under a the same account as the Interactive user in order for you to see the console because the EXE is launched from the App Pool's identity and the new EXE inherits that identity. If it's anything but the current user that won't be visible because it's not in your desktop session.
+++ Rick ---