Solved

sql server 2005 mail suddently stops  but job succeeds

Posted on 2011-09-08
3
459 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
ID: 36504685
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
ID: 36524477
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
ID: 36524540
Glad to hear you got things resolved.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 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