Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
jfro
Starting Member
1 Post |
Posted - 2012-04-29 : 07:23:11
|
Hi,i have an issue with DB Mail.I configured on a test and production system (both with same configurations) with SP4 installedOn the test system the DB Mail functionality is working. On the production system I am not able to send mails. At start of the sql service i get this Message:[355] The mail system failed to initialize; check configuration settingsException InformationException Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseExceptionMessage: Mail configuration information could not be read from the database.Data: System.Collections.ListDictionaryInternalTargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Objects.Account GetAccount(Int32)HelpLink: NULLSource: 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) Exception InformationException Type: System.IndexOutOfRangeExceptionMessage: timeoutData: System.Collections.ListDictionaryInternalTargetSite: Int32 GetOrdinal(System.String)HelpLink: NULLSource: 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 Do some one have some hints how i can get this issue solved?Kind regards,Jochen |
|
sarabpreet12
Starting Member
5 Posts |
Posted - 2012-05-01 : 18:17:37
|
PLease try the below steps:1. Enable DB Mail in SP_Configure : 'Database Mail XPs',12. REstart SQL Agent Service3. Make sure the Server is added to the relay of Your Mail Gateway server. (however, this setting will affect the delivery of email only)This should help you i guess.Sarabpreet Singh Anand |
|
|
|
|
|