Solved

sql server 2005 mail suddently stops  but job succeeds

Posted on 2011-09-08
3
455 Views
Last Modified: 2012-05-12
Have sql server 2005 configured to send out an email when space used falls below a certain threshold .
Test emails work properly . Have checked the sql server agent mail profile accordingly
but job still fails.

Thanks for any help

Job log below

This worked for a while and suddenly stopped working . The jobs still succeeds with the
following message
Source: ODSOLE Extended Procedure [SQLSTATE 01000] (Message 0)  Description: sp_OAMethod usage:  ObjPointer int IN, MethodName varchar IN [, @returnval <any> OUT [, additional IN, OUT, or BOTH params]] [SQLSTATE 01000] (Message 0).  The step succeeded.
0
Comment
Question by:mngong_rc
  • 2
3 Comments
 
LVL 17

Expert Comment

by:dbaSQL
Comment Utility
If it worked before, and is suddenl failing, I would be curious about the actual job steps, and the full job log.  

But, it almost looks like the @returnval output param is not being specified.  Again, if this worked before and just stopped, that is a little puzzling, but if you're expecting output, you should store that in a local variable.
0
 

Author Comment

by:mngong_rc
Comment Utility
Would like to give all points to dbaSQL for attempting . Found an entirely newer and simple script on the web that works with a few mods . Not sure why the script started failing and have spent enough time on troubleshooting that I could have created a script from scratch

Thanks
MNT
0
 
LVL 17

Accepted Solution

by:
dbaSQL earned 500 total points
Comment Utility
Glad to hear you got things resolved.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now