I am executing an exe from an asp page, using wscript. Here is the code:



set WshShell = server.CreateObject("WScript.Shell")

RunString = server.MapPath("/GenFiles/") & "\CommTest.exe"

WSHShell.run(RunString)



The exe runs, however, when it attempts to create a new object, in this case, an adodb connection object, I get this error:



ERROR: 429, ActiveX component can't create object



The same error occurs when attempting to create a new adodb.recordset object.



When I run my exe from the command prompt or a batch file, it works perfectly. I am logged in as an admin user.



My web server is running IIS 6 on 2003. This code works fine on a 2000 web server.



I've tried setting IUSR permissions on my folder where my exe resides (GenFiles), as well as the program files\common\ado folder and wscript.exe.