dbTalk Databases Forums  

job notifications via db mail on x64 SQL 2k5, through EM ?

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss job notifications via db mail on x64 SQL 2k5, through EM ? in the microsoft.public.sqlserver.tools forum.



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

Default job notifications via db mail on x64 SQL 2k5, through EM ? - 01-28-2009 , 02:47 PM






Hi -

I have an instance of SQL 2k5 on x64. In the past (SQL 2k), others had set
up notifications of job completion for various SQL Server jobs in Enterprise
Manager. I tried to configure the same thing, and opened up and configured
database mail and SQL mail. Well, I get this error on the job now:

SQL Mail does not work with the 64-bit version of SQL Server [SQLSTATE
42000] (Error 17938). The step failed.

I acknowledge the SMTP/MAPI distinctions. Is there a way to configure this
SQL instance to use db mail instead of SQL Mail to send these automatic
notifications, which are specified through the Enterprise Manager
(Jobs-properties-notifications-email)? I suppose if EM uses the email stored
procs, I could just map one proc to be called from another. Any easier ways ?

Thanks for any insight.

Steve


Reply With Quote
  #2  
Old   
Steve M
 
Posts: n/a

Default Re: job notifications via db mail on x64 SQL 2k5, through EM ? - 01-28-2009 , 03:41 PM






Thanks, but I checked all of that, and it is as you say. I even re-started
the SQL Server Agent. But the same error re-currs .. it's as if it's not
using db mail for the "notification" (is that distinct from an "alert") ..

Steve

"Ekrem Önsoy" wrote:

Quote:
Go to properties of SQL Server Agent and then to "Alert system" and ensure
that "Mail system" is Database Mail and appropriate mail profile is selected
(which should be created prior to this process) and "Enable mail profile" is
checked.

--
Ekrem Önsoy



"Steve M" <SteveM (AT) discussions (DOT) microsoft.com> wrote in message
news:5A08139D-6E34-4B15-86F0-2574ECCBD20B (AT) microsoft (DOT) com...
Hi -

I have an instance of SQL 2k5 on x64. In the past (SQL 2k), others had set
up notifications of job completion for various SQL Server jobs in
Enterprise
Manager. I tried to configure the same thing, and opened up and configured
database mail and SQL mail. Well, I get this error on the job now:

SQL Mail does not work with the 64-bit version of SQL Server [SQLSTATE
42000] (Error 17938). The step failed.

I acknowledge the SMTP/MAPI distinctions. Is there a way to configure this
SQL instance to use db mail instead of SQL Mail to send these automatic
notifications, which are specified through the Enterprise Manager
(Jobs-properties-notifications-email)? I suppose if EM uses the email
stored
procs, I could just map one proc to be called from another. Any easier
ways ?

Thanks for any insight.

Steve



Reply With Quote
  #3  
Old   
Steve M
 
Posts: n/a

Default Re: job notifications via db mail on x64 SQL 2k5, through EM ? - 01-29-2009 , 01:30 PM



Just to finish - I found out what would clear it. It's cycling the Agent. I
did it, but there was apparently an uneven email delay.

"Steve M" wrote:

Quote:
Thanks, but I checked all of that, and it is as you say. I even re-started
the SQL Server Agent. But the same error re-currs .. it's as if it's not
using db mail for the "notification" (is that distinct from an "alert") ..

Steve

"Ekrem Önsoy" wrote:

Go to properties of SQL Server Agent and then to "Alert system" and ensure
that "Mail system" is Database Mail and appropriate mail profile is selected
(which should be created prior to this process) and "Enable mail profile" is
checked.

--
Ekrem Önsoy



"Steve M" <SteveM (AT) discussions (DOT) microsoft.com> wrote in message
news:5A08139D-6E34-4B15-86F0-2574ECCBD20B (AT) microsoft (DOT) com...
Hi -

I have an instance of SQL 2k5 on x64. In the past (SQL 2k), others had set
up notifications of job completion for various SQL Server jobs in
Enterprise
Manager. I tried to configure the same thing, and opened up and configured
database mail and SQL mail. Well, I get this error on the job now:

SQL Mail does not work with the 64-bit version of SQL Server [SQLSTATE
42000] (Error 17938). The step failed.

I acknowledge the SMTP/MAPI distinctions. Is there a way to configure this
SQL instance to use db mail instead of SQL Mail to send these automatic
notifications, which are specified through the Enterprise Manager
(Jobs-properties-notifications-email)? I suppose if EM uses the email
stored
procs, I could just map one proc to be called from another. Any easier
ways ?

Thanks for any insight.

Steve



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.