IIS 6 restriction? Please help!

Hi!

I have to run my own executable from ASP. I use this code for this:

var objShell = new ActiveXObject("Shell.Application");
objShell.ShellExecute(cmd, params, Server.MapPath("."), "open", 1);

The problem is IIS 6 under Win2003 fails to run CreateControl method inside executable:

m_webBrowserWnd.CreateControl(CLSID_WebBrowser, _T(""), WS_VISIBLE | WS_CHILD, rect, this, CHILDBROWSER )

It works perfectly on IIS 5.1 under Windows XP.

Does anybody have idea how to solve this problem?

Thank you.

Average rating
(0 votes)
Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

Can't help you with the ASP, but you might like to try using IISState and Systernals Filemon to help track this down.