473,587 Members | 2,527 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQL Server Alerts...

Hello
I am trying to generate an email to be sent to an operator if a SQL
Server (2000) goes down for any reason. I defined the alert to email
operator for error number "17148" which is "SQL Server is terminating
due to 'stop' request from Service Control Manager.". To test this, I
shutdown SQL Server manually. I see the above error in the Windows
Application Log, however, no emails are being sent to the Operator.
Also, when I open the Alert, I do not see that it occured. What am I
missing.

Thanks
Jagannathan Santhanam
Jul 20 '05 #1
1 4224

"Jagannatha n Santhanam" <ja*****@yahoo. com> wrote in message
news:60******** *************** ***@posting.goo gle.com...
Hello
I am trying to generate an email to be sent to an operator if a SQL
Server (2000) goes down for any reason. I defined the alert to email
operator for error number "17148" which is "SQL Server is terminating
due to 'stop' request from Service Control Manager.". To test this, I
shutdown SQL Server manually. I see the above error in the Windows
Application Log, however, no emails are being sent to the Operator.
Also, when I open the Alert, I do not see that it occured. What am I
missing.

Thanks
Jagannathan Santhanam


Instead of using SQL to fire this, use Windows itself.

Windows allows you you to run a command upon service failure - link this in
with a command-line SMTP mailer (such as BLAT) and you have your alert.

Steven
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
808
by: Jagannathan Santhanam | last post by:
Hello I am trying to generate an email to be sent to an operator if a SQL Server (2000) goes down for any reason. I defined the alert to email operator for error number "17148" which is "SQL Server is terminating due to 'stop' request from Service Control Manager.". To test this, I shutdown SQL Server manually. I see the above error in the...
2
578
by: Dipak Patel | last post by:
Platform: Win2000 SP3, SQL 7.00 - 7.00.1063 I have a SQL-authenticated user with the following permissions: "Process Administrators" server role "db_owner" and "TargetServersRole" for msdb database "db_owner" for master database. The problem is that when this user opens up any job (i.e. owned by any user) in the SQL Server Agent, and...
0
1525
by: ryan baldwin | last post by:
Hi, I posted this in the GotDotNet .NET Alerts forum, but that was 3 days ago and still no reply so I'll try my luck here. My apologies if there's a better group to post this question in, but at last check there was no Alerts group. I've been reading through oodles of the SGK documentation for the .NET Alerts SDK 5.02, and something struck...
1
2328
by: rhompi | last post by:
Hi, I have a problem displaying korean characters in javascript alerts. Korean characters are displayed fine in menus, webpages, buttons,etc. except in javascript alerts. Can anyone please help me? By the way, this problem occurs in IE5 only. I have tested in IE6, Mozilla1.4 and Netscape 6 and this issue does not occur. Thanks!
2
1249
by: Laurence Breeze | last post by:
I want to copy a database from one server to another. I'm happy about how to do this but also want to copy a number of DTS packages, jobs and alerts that relate to this database. Is there any way that I can copy them or will I need to create them again on the new server. Many Thanks Laurence Breeze
2
1714
by: Luis Esteban Valencia | last post by:
Is there a way to send timed alerts to ALL web clients conencted to the IIS server (on a server level)? IF NOT Is there a way to send timed alerts to ALL web clients using a certain .Net web application? IF NOT
0
1169
by: Ran W. | last post by:
Hi, I have installed MS alerts SDK for .NET and have followed their instructions and sample code (mainly working with their PPE environment). However, I am having some problems making sure that my/their code actually works. The problem is as follows: a. When sending an alert (as per MS sample code), I get an OK response indicating that the...
4
17412
by: nick | last post by:
Is it possible to disable/suppress alert popups in javascript? I need to write a function that will loop through a form's inputs and "manually" fire their onchange events (if found). Some of those functions could popup alert boxes which I'd like to be able to temporarily suppress. Thanks for any help.
1
2664
by: =?Utf-8?B?QmFkaXM=?= | last post by:
I'm using automation for mail merging but the process hangs because at some stage some alerts may come around! I have tried: wrdApp.DisplayAlerts = Word.WdAlertLevel.wdAlertsNone; & wrdApp.DisplayAlerts =0; all I need is to produce a word document and save it in the back end. I don't need to see the word document while the process is done....
0
7849
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8215
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5394
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3844
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2358
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1454
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1189
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.