Guest
17 years ago
Hi

We have a problem with unsent/unrecieved messages/strings. The task order is:
1. ActiveSMS recieves incoming message and calls a vbs script.
2. vbs script handles with several arguments and calls our own software, our software reads the arguments and returns a string to standard output.
3. vbs script reads from standard output and hands over something to ActiveSMS.
4. ActiveSMS sends a message to an user.

Problem is if I send a message to ActiveSMS either I will not recieve any answer or the part from our software is missing. (I checked both incoming and outgoing log files.)
If I try to run the script manually with parameters (step 1 is omitted) everything is alright and I will recieve whole message including string generated by our programme. (I also let wrote out all used strings to console, it is ok.)

There must be hidden error which I cannot found. Can somebody help me?
Thanks
David Hajny
Support
17 years ago
Hi David,

Often these types of problems are related to security, as ActiveSMS will run you script using a LocalSystem account rather than your own login.

I would suggest adding trace logging to your script, i.e. write progress updates to a file. This should allow you to see how far your script gets before it has a problem.


Guest
17 years ago
Problem was solved several weeks ago. I did not know that vbs script is unable to run application via commandline and read from StdOut.