Guest
2007-10-03T11:20:36Z
I keep getting the following error when trying to send an sms from my ASP script (code is taken directly form the samples)

IntelliSoftware.ActiveSMS.1 error '80004005'

COM Exception raised Function: CActiveSMS::SendMessage Description: Could not connect to service control manager


Using the test console works fine - messages are sent succesfully.

Here is the code from my page :

Set ActiveSMS = CreateObject("Intellisoftware.ActiveSMS")

For i = 0 to UBound(aDrsContact,2)
PhoneNumbers = PhoneNumbers & Replace(rsContact("tSMS_Alert_Number",0)," ","") & ","
Next
PhoneNumbers = Left(PhoneNumbers,Len(PhoneNumbers)-1)
MessageText = smstext

MessageId = ActiveSMS.SendMessage (PhoneNumbers, MessageText, 15000)
Status = ActiveSMS.GetSendStatus(MessageId)

Should I be using the 'Activehandset' property? It wasn't in the sample but I've seen it elsewhere - if so, what value should go here?

Any help would be gratefully received.

thank you.
Support
2007-10-05T16:48:55Z
Please check the settings on the Queuing tab of the ActiveSMS Console.

Is “Store message in Memory” Or “Store Message in Database” selected?