dbTalk Databases Forums  

sending message to cell phone if package fails

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss sending message to cell phone if package fails in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dan
 
Posts: n/a

Default sending message to cell phone if package fails - 05-13-2004 , 07:45 AM






I'm using SS2000. Is it possible to send a message to a cell phone if a
package fails?

Thanks,

Dan



Reply With Quote
  #2  
Old   
Ben
 
Posts: n/a

Default Re: sending message to cell phone if package fails - 05-13-2004 , 08:19 AM






You could certainly send an e-mail if your gsm or another provider has an
e-mail to SMS gateway.

Alternatively there are SDK's for SMS sending and I'm sure some of them have
COM interfaces (which you can use in DTS).

Have a look here for starters:
http://www.componentsource.com/Catal...WIRELC& sc=CS

(Watch for broken link)



"Dan" <ddonahue (AT) archermalmo (DOT) com> wrote

Quote:
I'm using SS2000. Is it possible to send a message to a cell phone if a
package fails?

Thanks,

Dan





Reply With Quote
  #3  
Old   
Dan
 
Posts: n/a

Default Re: sending message to cell phone if package fails - 05-13-2004 , 08:36 AM



Microsoft also has Notification Services for SQL Server 2000. I was hoping
for a simpler solution but maybe there isn't one.

Thanks Ben

"Ben" <anonymous (AT) example (DOT) com> wrote

Quote:
You could certainly send an e-mail if your gsm or another provider has an
e-mail to SMS gateway.

Alternatively there are SDK's for SMS sending and I'm sure some of them
have
COM interfaces (which you can use in DTS).

Have a look here for starters:

http://www.componentsource.com/Catal...WIRELC& sc=CS

(Watch for broken link)



"Dan" <ddonahue (AT) archermalmo (DOT) com> wrote in message
news:ucCDllOOEHA.2976 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
I'm using SS2000. Is it possible to send a message to a cell phone if a
package fails?

Thanks,

Dan







Reply With Quote
  #4  
Old   
Shawn Enderlin
 
Posts: n/a

Default Re: sending message to cell phone if package fails - 05-14-2004 , 01:26 PM



There is an easier way. You should be able to send an email to your phone. If that's the case, create this ActiveX script in your package

Function Main(

set con = createobject("ADODB.Connection"
con.ConnectionString = "Provider=SQLOLEDB.1;Data source='"& DTSGlobalVariables("hostserver").Value &"' ;Initial Catalog=master;Integrated Security=SSPI
con.Ope

dim sq
sql = "EXEC master.dbo.xp_sendmail @recipients = 'yourname (AT) domain (DOT) com', @message = 'error text', @subject = 'error'

set cmd = createobject("ADODB.Command"
cmd.ActiveConnection = co
cmd.CommandType=
cmd.CommandText = sq
cmd.Execute

Main = DTSTaskExecResult_Succes
End Functio

I think that's all you need. There may be a bug in here - I pulled it from a more complex script that we use - but this should get you going.

Reply With Quote
  #5  
Old   
Frank K.
 
Posts: n/a

Default Re: sending message to cell phone if package fails - 05-17-2004 , 05:23 PM



In article <OTrZnBPOEHA.2524 (AT) TK2MSFTNGP11 (DOT) phx.gbl>, Dan says...
Quote:
Microsoft also has Notification Services for SQL Server 2000. I was hoping
for a simpler solution but maybe there isn't one.
Have you looked at PageGate http://www.notepage.net/pagegate.htm ? I'm pretty
sure it will work for you.

Frank K.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.