February 18, 2009 at 8:18 am
rahul170 (2/18/2009)
There is no problem related to parameter as the same code is running fine in our local server and at another client's server
Maybe I misread, I thought you were running the same code on different servers.
So, you did check the parameters for the SP_SEND_DBMAIL on the Server that you have problem with and looks fine?
February 18, 2009 at 8:24 am
Ramesh (2/18/2009)
Jack Corbett (2/18/2009)
Actually this was changed in SP1, see this blog post - http://wiseman-wiseguy.blogspot.com/2008/03/64-bit-database-mail-sql-server-agent.html...I was actually correcting my statement in a new reply but you beat me on it:D.
Now for the OP, can you cross check the parameters for the procedure sysmail_delete_profile_sp? It should have an additional parameter @force_delete which added in SP2 release. And if you don't find have such parameter, then there are chances that the SP2 has not correctly applied. Check Logs to see if there's something failed during install.
Here is a thread on the msdn forums that verifies that this is likely the issue, http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/35c4c8b8-c18f-44a5-b8f5-7e656d6e74c9/
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
February 18, 2009 at 8:30 am
Below are the servers information where job is running and where it is getting failed:
Query output on server where job is running fine
Query - select @@version
Query Output -
Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86) Feb 9 2007 22:47:07 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1)
Query - SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
Query output
9.00.3042.00SP2Standard Edition
Query output on server where job is giving error:
Query - select @@version
Query Output -
Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86) Feb 9 2007 22:47:07 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
Query - SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
Query output
9.00.3042.00SP2Standard Edition
February 18, 2009 at 8:37 am
Right and what Ramesh is saying, and I am agreeing with, is that it appears that there was an error in the SP2 install on the server where sp_send_dbmail is failing so SP2 needs to be re-applied on that server.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
February 18, 2009 at 8:43 am
Thanks Jack, Ramesh and all others for your replies. I will ask client to re-install SP2.
Viewing 5 posts - 16 through 19 (of 19 total)
You must be logged in to reply to this topic. Login to reply