stevebassett
Programmer
Hi,
I have an exe on machine A which invokes a service on machine B, using clireg32 and dcomcnfg. The service basically updates some rows in the database. When I run this exe from the cmd prompt, it works like a charm.
However, when I invoke the same exe on machine A from a webclass using the "shell" command, (I have IIS running on this machine), it gives me a
"Error : 70 - Permission denied"
Now the thing I found funny is that the next time I run the exe again from the prompt on machine A, the rows that should have been updated from the webclass also get updated along with those that should have been updated with this latest invocaion of the exe.
I would be very grateful if someone could point me to some light in all this darkness. What does all this mean? Ne sugegestions how I can get this thing to work when called from my webclass.
Thanks,
Steve.
I have an exe on machine A which invokes a service on machine B, using clireg32 and dcomcnfg. The service basically updates some rows in the database. When I run this exe from the cmd prompt, it works like a charm.
However, when I invoke the same exe on machine A from a webclass using the "shell" command, (I have IIS running on this machine), it gives me a
"Error : 70 - Permission denied"
Now the thing I found funny is that the next time I run the exe again from the prompt on machine A, the rows that should have been updated from the webclass also get updated along with those that should have been updated with this latest invocaion of the exe.
I would be very grateful if someone could point me to some light in all this darkness. What does all this mean? Ne sugegestions how I can get this thing to work when called from my webclass.
Thanks,
Steve.