dbTalk Databases Forums  

Database Mail Configuration Problem in a cluster env. (SQL 2005 SP

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss Database Mail Configuration Problem in a cluster env. (SQL 2005 SP in the microsoft.public.sqlserver.clustering forum.



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

Default Database Mail Configuration Problem in a cluster env. (SQL 2005 SP - 02-03-2008 , 05:07 PM






Hello,

I'm trying to configure Database Mail on our Cluster running 2 SQL server
2005 SP2 node.

The configuratoin wizard is running fine and I presume the details entered
are correct:
- Existing user
- FQN mail server etc..

I also made sure the cluster nodes were authorized to relay email on our
exchange mail server.

Trying to send a test mail flags up the following error in the Database Mail
error log:
"Date 07/12/2007 17:18:54
Log Database Mail (Database Mail Log)

Log ID 49
Process ID 4372
Last Modified 07/12/2007 17:18:54
Last Modified By DOMAIN\xxxx

Message
1) Exception Information
===================
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Obj ects.Account
GetAccount(Int32)
HelpLink: NULL
Source: DatabaseMailEngine

StackTrace Information
===================
at
Microsoft.SqlServer.Management.SqlIMail.Server.Dat aAccess.DataAccessAdapter.GetAccount(Int32 accountID)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateSendMailCommand(DBSes sion dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateCommand(DBSession dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandRunner.Run(DBSession db)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProce ss.ThreadCallBack.MailOperation(Object o)
(Please see code for message)"

I also restarted the database server as well as the SQL agent after this
modifications but still no success.

Any ideas?

Thanks

Julien


Reply With Quote
  #2  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: Database Mail Configuration Problem in a cluster env. (SQL 2005 SP - 02-04-2008 , 08:29 AM






You may need to put a couple of entries for the short and FQDN cluster names
in the hosts file on each node.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP




"Julien" <Julien (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I'm trying to configure Database Mail on our Cluster running 2 SQL server
2005 SP2 node.

The configuratoin wizard is running fine and I presume the details
entered
are correct:
- Existing user
- FQN mail server etc..

I also made sure the cluster nodes were authorized to relay email on our
exchange mail server.

Trying to send a test mail flags up the following error in the Database
Mail
error log:
"Date 07/12/2007 17:18:54
Log Database Mail (Database Mail Log)

Log ID 49
Process ID 4372
Last Modified 07/12/2007 17:18:54
Last Modified By DOMAIN\xxxx

Message
1) Exception Information
===================
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Obj ects.Account
GetAccount(Int32)
HelpLink: NULL
Source: DatabaseMailEngine

StackTrace Information
===================
at
Microsoft.SqlServer.Management.SqlIMail.Server.Dat aAccess.DataAccessAdapter.GetAccount(Int32
accountID)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateSendMailCommand(DBSes sion
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateCommand(DBSession
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandRunner.Run(DBSession
db)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProce ss.ThreadCallBack.MailOperation(Object
o)
(Please see code for message)"

I also restarted the database server as well as the SQL agent after this
modifications but still no success.

Any ideas?

Thanks

Julien



Reply With Quote
  #3  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: Database Mail Configuration Problem in a cluster env. (SQL 2005 SP - 02-04-2008 , 08:29 AM



You may need to put a couple of entries for the short and FQDN cluster names
in the hosts file on each node.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP




"Julien" <Julien (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I'm trying to configure Database Mail on our Cluster running 2 SQL server
2005 SP2 node.

The configuratoin wizard is running fine and I presume the details
entered
are correct:
- Existing user
- FQN mail server etc..

I also made sure the cluster nodes were authorized to relay email on our
exchange mail server.

Trying to send a test mail flags up the following error in the Database
Mail
error log:
"Date 07/12/2007 17:18:54
Log Database Mail (Database Mail Log)

Log ID 49
Process ID 4372
Last Modified 07/12/2007 17:18:54
Last Modified By DOMAIN\xxxx

Message
1) Exception Information
===================
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Obj ects.Account
GetAccount(Int32)
HelpLink: NULL
Source: DatabaseMailEngine

StackTrace Information
===================
at
Microsoft.SqlServer.Management.SqlIMail.Server.Dat aAccess.DataAccessAdapter.GetAccount(Int32
accountID)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateSendMailCommand(DBSes sion
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateCommand(DBSession
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandRunner.Run(DBSession
db)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProce ss.ThreadCallBack.MailOperation(Object
o)
(Please see code for message)"

I also restarted the database server as well as the SQL agent after this
modifications but still no success.

Any ideas?

Thanks

Julien



Reply With Quote
  #4  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: Database Mail Configuration Problem in a cluster env. (SQL 2005 SP - 02-04-2008 , 08:29 AM



You may need to put a couple of entries for the short and FQDN cluster names
in the hosts file on each node.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP




"Julien" <Julien (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I'm trying to configure Database Mail on our Cluster running 2 SQL server
2005 SP2 node.

The configuratoin wizard is running fine and I presume the details
entered
are correct:
- Existing user
- FQN mail server etc..

I also made sure the cluster nodes were authorized to relay email on our
exchange mail server.

Trying to send a test mail flags up the following error in the Database
Mail
error log:
"Date 07/12/2007 17:18:54
Log Database Mail (Database Mail Log)

Log ID 49
Process ID 4372
Last Modified 07/12/2007 17:18:54
Last Modified By DOMAIN\xxxx

Message
1) Exception Information
===================
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Obj ects.Account
GetAccount(Int32)
HelpLink: NULL
Source: DatabaseMailEngine

StackTrace Information
===================
at
Microsoft.SqlServer.Management.SqlIMail.Server.Dat aAccess.DataAccessAdapter.GetAccount(Int32
accountID)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateSendMailCommand(DBSes sion
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateCommand(DBSession
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandRunner.Run(DBSession
db)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProce ss.ThreadCallBack.MailOperation(Object
o)
(Please see code for message)"

I also restarted the database server as well as the SQL agent after this
modifications but still no success.

Any ideas?

Thanks

Julien



Reply With Quote
  #5  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: Database Mail Configuration Problem in a cluster env. (SQL 2005 SP - 02-04-2008 , 08:29 AM



You may need to put a couple of entries for the short and FQDN cluster names
in the hosts file on each node.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP




"Julien" <Julien (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I'm trying to configure Database Mail on our Cluster running 2 SQL server
2005 SP2 node.

The configuratoin wizard is running fine and I presume the details
entered
are correct:
- Existing user
- FQN mail server etc..

I also made sure the cluster nodes were authorized to relay email on our
exchange mail server.

Trying to send a test mail flags up the following error in the Database
Mail
error log:
"Date 07/12/2007 17:18:54
Log Database Mail (Database Mail Log)

Log ID 49
Process ID 4372
Last Modified 07/12/2007 17:18:54
Last Modified By DOMAIN\xxxx

Message
1) Exception Information
===================
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Obj ects.Account
GetAccount(Int32)
HelpLink: NULL
Source: DatabaseMailEngine

StackTrace Information
===================
at
Microsoft.SqlServer.Management.SqlIMail.Server.Dat aAccess.DataAccessAdapter.GetAccount(Int32
accountID)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateSendMailCommand(DBSes sion
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateCommand(DBSession
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandRunner.Run(DBSession
db)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProce ss.ThreadCallBack.MailOperation(Object
o)
(Please see code for message)"

I also restarted the database server as well as the SQL agent after this
modifications but still no success.

Any ideas?

Thanks

Julien



Reply With Quote
  #6  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: Database Mail Configuration Problem in a cluster env. (SQL 2005 SP - 02-04-2008 , 08:29 AM



You may need to put a couple of entries for the short and FQDN cluster names
in the hosts file on each node.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP




"Julien" <Julien (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I'm trying to configure Database Mail on our Cluster running 2 SQL server
2005 SP2 node.

The configuratoin wizard is running fine and I presume the details
entered
are correct:
- Existing user
- FQN mail server etc..

I also made sure the cluster nodes were authorized to relay email on our
exchange mail server.

Trying to send a test mail flags up the following error in the Database
Mail
error log:
"Date 07/12/2007 17:18:54
Log Database Mail (Database Mail Log)

Log ID 49
Process ID 4372
Last Modified 07/12/2007 17:18:54
Last Modified By DOMAIN\xxxx

Message
1) Exception Information
===================
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Obj ects.Account
GetAccount(Int32)
HelpLink: NULL
Source: DatabaseMailEngine

StackTrace Information
===================
at
Microsoft.SqlServer.Management.SqlIMail.Server.Dat aAccess.DataAccessAdapter.GetAccount(Int32
accountID)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateSendMailCommand(DBSes sion
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateCommand(DBSession
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandRunner.Run(DBSession
db)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProce ss.ThreadCallBack.MailOperation(Object
o)
(Please see code for message)"

I also restarted the database server as well as the SQL agent after this
modifications but still no success.

Any ideas?

Thanks

Julien



Reply With Quote
  #7  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: Database Mail Configuration Problem in a cluster env. (SQL 2005 SP - 02-04-2008 , 08:29 AM



You may need to put a couple of entries for the short and FQDN cluster names
in the hosts file on each node.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP




"Julien" <Julien (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I'm trying to configure Database Mail on our Cluster running 2 SQL server
2005 SP2 node.

The configuratoin wizard is running fine and I presume the details
entered
are correct:
- Existing user
- FQN mail server etc..

I also made sure the cluster nodes were authorized to relay email on our
exchange mail server.

Trying to send a test mail flags up the following error in the Database
Mail
error log:
"Date 07/12/2007 17:18:54
Log Database Mail (Database Mail Log)

Log ID 49
Process ID 4372
Last Modified 07/12/2007 17:18:54
Last Modified By DOMAIN\xxxx

Message
1) Exception Information
===================
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Obj ects.Account
GetAccount(Int32)
HelpLink: NULL
Source: DatabaseMailEngine

StackTrace Information
===================
at
Microsoft.SqlServer.Management.SqlIMail.Server.Dat aAccess.DataAccessAdapter.GetAccount(Int32
accountID)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateSendMailCommand(DBSes sion
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateCommand(DBSession
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandRunner.Run(DBSession
db)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProce ss.ThreadCallBack.MailOperation(Object
o)
(Please see code for message)"

I also restarted the database server as well as the SQL agent after this
modifications but still no success.

Any ideas?

Thanks

Julien



Reply With Quote
  #8  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: Database Mail Configuration Problem in a cluster env. (SQL 2005 SP - 02-04-2008 , 08:29 AM



You may need to put a couple of entries for the short and FQDN cluster names
in the hosts file on each node.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP




"Julien" <Julien (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I'm trying to configure Database Mail on our Cluster running 2 SQL server
2005 SP2 node.

The configuratoin wizard is running fine and I presume the details
entered
are correct:
- Existing user
- FQN mail server etc..

I also made sure the cluster nodes were authorized to relay email on our
exchange mail server.

Trying to send a test mail flags up the following error in the Database
Mail
error log:
"Date 07/12/2007 17:18:54
Log Database Mail (Database Mail Log)

Log ID 49
Process ID 4372
Last Modified 07/12/2007 17:18:54
Last Modified By DOMAIN\xxxx

Message
1) Exception Information
===================
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Obj ects.Account
GetAccount(Int32)
HelpLink: NULL
Source: DatabaseMailEngine

StackTrace Information
===================
at
Microsoft.SqlServer.Management.SqlIMail.Server.Dat aAccess.DataAccessAdapter.GetAccount(Int32
accountID)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateSendMailCommand(DBSes sion
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateCommand(DBSession
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandRunner.Run(DBSession
db)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProce ss.ThreadCallBack.MailOperation(Object
o)
(Please see code for message)"

I also restarted the database server as well as the SQL agent after this
modifications but still no success.

Any ideas?

Thanks

Julien



Reply With Quote
  #9  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: Database Mail Configuration Problem in a cluster env. (SQL 2005 SP - 02-04-2008 , 08:29 AM



You may need to put a couple of entries for the short and FQDN cluster names
in the hosts file on each node.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP




"Julien" <Julien (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I'm trying to configure Database Mail on our Cluster running 2 SQL server
2005 SP2 node.

The configuratoin wizard is running fine and I presume the details
entered
are correct:
- Existing user
- FQN mail server etc..

I also made sure the cluster nodes were authorized to relay email on our
exchange mail server.

Trying to send a test mail flags up the following error in the Database
Mail
error log:
"Date 07/12/2007 17:18:54
Log Database Mail (Database Mail Log)

Log ID 49
Process ID 4372
Last Modified 07/12/2007 17:18:54
Last Modified By DOMAIN\xxxx

Message
1) Exception Information
===================
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Obj ects.Account
GetAccount(Int32)
HelpLink: NULL
Source: DatabaseMailEngine

StackTrace Information
===================
at
Microsoft.SqlServer.Management.SqlIMail.Server.Dat aAccess.DataAccessAdapter.GetAccount(Int32
accountID)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateSendMailCommand(DBSes sion
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateCommand(DBSession
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandRunner.Run(DBSession
db)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProce ss.ThreadCallBack.MailOperation(Object
o)
(Please see code for message)"

I also restarted the database server as well as the SQL agent after this
modifications but still no success.

Any ideas?

Thanks

Julien



Reply With Quote
  #10  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: Database Mail Configuration Problem in a cluster env. (SQL 2005 SP - 02-04-2008 , 08:29 AM



You may need to put a couple of entries for the short and FQDN cluster names
in the hosts file on each node.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP




"Julien" <Julien (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I'm trying to configure Database Mail on our Cluster running 2 SQL server
2005 SP2 node.

The configuratoin wizard is running fine and I presume the details
entered
are correct:
- Existing user
- FQN mail server etc..

I also made sure the cluster nodes were authorized to relay email on our
exchange mail server.

Trying to send a test mail flags up the following error in the Database
Mail
error log:
"Date 07/12/2007 17:18:54
Log Database Mail (Database Mail Log)

Log ID 49
Process ID 4372
Last Modified 07/12/2007 17:18:54
Last Modified By DOMAIN\xxxx

Message
1) Exception Information
===================
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Obj ects.Account
GetAccount(Int32)
HelpLink: NULL
Source: DatabaseMailEngine

StackTrace Information
===================
at
Microsoft.SqlServer.Management.SqlIMail.Server.Dat aAccess.DataAccessAdapter.GetAccount(Int32
accountID)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateSendMailCommand(DBSes sion
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandFactory.CreateCommand(DBSession
dbSession)
at
Microsoft.SqlServer.Management.SqlIMail.Server.Con troller.CommandRunner.Run(DBSession
db)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProce ss.ThreadCallBack.MailOperation(Object
o)
(Please see code for message)"

I also restarted the database server as well as the SQL agent after this
modifications but still no success.

Any ideas?

Thanks

Julien



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.