hvorfor virker det ikke??
her er koden :\'**************************************
\' Name: Send an Operator Logo in ASP
\' Description:Allows you to use SMS wire
\' less messaging to send operator logos (g
\' raphic images, gifs, jpgs) to Nokia cell
\' phones from Active Server Pages. Uses th
\' e Simplewire network.
\' By: Bob White
\'
\' Inputs:MsgPin, From, Callback, and the
\' Nokia Smart Message Settings.
\'
\' Returns:Returns Message Status
\'
\' Assumes:The best way is to join the Si
\' mplewire Developer Program at http://dev
\' program.simplewire.com. Then download th
\' e SDK as listed. Then you will receive a
\' n email explaining what to do
\'
\'This code is copyrighted and has \' limited warranties.Please see http://w
\' ww.Planet-Source-Code.com/xq/ASP/txtCode
\' Id.6919/lngWId.4/qx/vb/scripts/ShowCode.
\' htm \'for details. \'**************************************
%>
<%
Set sms = Server.CreateObject( \"Simplewire.SMS\" )
\' Subscriber Settings
sms.SubscriberID = \"123-123-123-12345\"
sms.SubscriberPassword = \"Password Goes Here\"
\' Message Settings
sms.MsgPin = \"+1 100 510 1234\"
sms.MsgFrom = \"Demo\"
sms.MsgCallback = \"+1 100 555 1212\"
\' Smart Message Settings
sms.OptPhone = \"nokia\"
sms.OptCountryCode = \"Country Code goes here\"
sms.OptNetworkCode = \"Network Code goes here\"
sms.MsgOperatorLogoFilename = Server.MapPath(\"example.gif\")
Response.Write(\"<B>Sending message To Simplewire...</B><BR>\")
\' Send Message
sms.MsgSend
\' Check For Errors
if (sms.Success) Then
Response.Write(\"<B>Message was sent!</B><BR>\")
Else
Response.Write(\"<B>Message was Not sent!</B><BR>\")
Response.Write(\"Error Code: \" & sms.ErrorCode & \"<BR>\")
Response.Write(\"Error Desc: \" & sms.ErrorDesc & \"<BR>\")
End if
Set sms = Nothing
%>
Men fejlen er:
\'Serverobjekt fejl \'ASP 0177 : 800401f3\'
Server.CreateObject blev ikke udført
/sms/logo/Default.asp, linje 30
800401f3
HVORFOR
