SQL Server 2005 Database Mail - Mail configuration information could not be read from the database.
-
Monday, March 18, 2013 11:53 PM
I'm trying to setup Database Mail and send a test message, but it's not working.
I've done several step-by-steps and all and I can't get it to work. Also checked several posts in this forum but none helped. I think it used to work before (2 months ago) but we had to turn it off.
I've enabled it in Surface Configuration, have tried recreating all profiles, restarted SQL Agent, checked version mismatch...
I check the Database Mail and I get the following message:
Log Database Mail (Database Mail Log)
Log ID 152
Process ID 7684
Last Modified 3/14/2013 6:49:58 PM
Last Modified By SPEEDLING\sqlservice
Message
1) Exception Information
===================
Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException
Message: Mail configuration information could not be read from the database.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Objects.Account GetAccount(Int32)
HelpLink: NULL
Source: DatabaseMailEngine
StackTrace Information
===================
at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.GetAccount(Int32 accountID)
at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandFactory.CreateSendMailCommand(DBSession dbSession)
at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandRunner.Run(DBSession db)
at Microsoft.SqlServer.Management.SqlIMail.IMailProcess.ThreadCallBack.MailOperation(Object o)
2) Exception Information
===================
Exception Type: System.IndexOutOfRangeException
Message: timeout
Data: System.Collections.ListDictionaryInternal
TargetSite: Int32 GetOrdinal(System.String)
HelpLink: NULL
Source: System.Data
StackTrace Information
===================
at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
at System.Data.SqlClient.SqlDataReader.get_Item(String name)
at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.GetAccount(Int32 accountID)
All Replies
-
Tuesday, March 19, 2013 12:05 AMModerator
Hello,
Have you read the following support article?
http://support.microsoft.com/kb/2008286
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com- Edited by Alberto MorilloMVP, Moderator Tuesday, March 19, 2013 12:09 AM
-
Tuesday, March 19, 2013 12:18 AMI tried all the updates on that page for the fix, all of them are below my version.
-
Tuesday, March 19, 2013 12:28 AMModerator
Hello,
Please apply SP4 for SQL Server 2005, if possible.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com- Proposed As Answer by Ahmed Ibrahim - MSFTMicrosoft Employee, Moderator Wednesday, March 20, 2013 8:25 AM
-
Tuesday, March 19, 2013 4:08 AM
I installed SP4 on SQL server AND did the stuff on the link below, and it worked!
http://stackoverflow.com/questions/13638347/database-mail-mail-configuration-information-could-not-be-read-from-the-databa
- Marked As Answer by MateusStock Tuesday, March 19, 2013 4:08 AM

