Initiating ActiveX EXE from ASP in Windows 2003 (IIS6)

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: David (David_at_discussions.microsoft.com)
Date: 01/25/05


Date: Tue, 25 Jan 2005 07:45:01 -0800

We have someone in our company who wrote the code that was originally placed
on a Windows NT box and was working fine. Now we are trying to move to
Windows 2003 and the code does not work anymore. Here is what the
application does:

1. Asp code initiates an ActiveX dll.
2. Asp code initaiates an ActiveX exe.
3. Instance of the dll is passed to the exe as a parameter.
4. Exe is calling functions that are defined within the dll.

Once we moved the code to the Window 2003 server application is not running
properly anymore. we are getting 'Permissio denied' errors when dll
functions are called from the exe. Exe appears in the task manager but it
does not do what it supposed to do (read files from the specific directory,
process them, and pass data back to the dll).

I understand that there are many other ways how this process can be changed
to solve our problems but it would require the developer to change the code
that may require the time that we do not have. If we do need to change the
current structure and re-design it, we need a valid reason why the current
one will not work.

I think it has something to do with Windows 2003 security. Can you tell me
if it is possible to execute such code. If yes, what can we change to do so.
 Otherwise, what within 2003 stops this code from being executed. Also, I
understand that the solution may open security holes on the server (this is
something I do not want to happen).

Please help. Thanks.
 



Relevant Pages