I wanna send SMS from ASP page to mobiles.For that, I have created ActiveX Dll in VB say COM1, which send SMS using Nokia PC Connectivity SDK. Every thing works well if I use COM1 in any vb appliaction.
But once I use COM1 in ASP page, I get error( Vb error "2147467259--Automation error Unspecified error", due to Nokia Communication Error 7689)
Please note that my COM1 instantiates properly in ASP page as it properly goes through all error handling thus specifying the line where is problem .The error is generated while calling actual "SEND" method of Nokia SDK which is used to send messages. Strange thing is that this method doesnot create any error when i use COM1 dll in any Vb programe. My code
Dim SMSSend As SMS3ASuiteLib.SMS_SuiteAdapter
Dim shortmsg As SMS3ASuiteLib.ShortMessage
Set SMSSend = New SMS3ASuiteLib.SMS_SuiteAdapter
Set shortmsg = SMSSend.CreateShortMsg
shortmsg.UserDataText = "Hello"
shortmsg.OtherEndAddress = ReceiverMobile
Call SMSSend.Send(shortmsg)---->Error generated here