Hello there
I'm trying to launch a simple C++ application from my website (on the server side). It even runs, imagine that. However, when it tries to open a simple text file (for either read or write) it fails.
(BTW, I used in order to run it:
"WshShell = Server.CreateOb ject("WScript.S hell")
...
oExec = WshShell.Exec(C ommandLine)"
but it didn't open a shell window but ran the application in the background instead. how do I change this?)
When I run the application manually it works fine with the files.
The user under which the application fails is, of course, ASPNET.
I've added this user to the administrators group, but it didn't help.
The server runs on a Windows XP professional, with IIS.
I'll appreciate your ideas.
I'm trying to launch a simple C++ application from my website (on the server side). It even runs, imagine that. However, when it tries to open a simple text file (for either read or write) it fails.
(BTW, I used in order to run it:
"WshShell = Server.CreateOb ject("WScript.S hell")
...
oExec = WshShell.Exec(C ommandLine)"
but it didn't open a shell window but ran the application in the background instead. how do I change this?)
When I run the application manually it works fine with the files.
The user under which the application fails is, of course, ASPNET.
I've added this user to the administrators group, but it didn't help.
The server runs on a Windows XP professional, with IIS.
I'll appreciate your ideas.
Comment