Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Database Mail problem

$
0
0

Hi all,

I have searched and tried every solution possible but none of them worked.

May be I didn't apply well the steps, and that's why I'm here.

My problem is with "Database Mail", when I try to start it with "exec sysmail_start_sp" and look at "Database Mail Log" I get :

5 warnings with the same message :

*******************************************************************

1) Exception Information  
===================  
Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException  
Message: The read on the database failed. Reason: Échec du chargement du fichier Msxmlsql.dll.  
Data: System.Collections.ListDictionaryInternal  
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Objects.QueueItem GetQueueItemFromCommand(System.Data.SqlClient.SqlCommand)  
HelpLink: NULL  
Source: DatabaseMailEngine    
StackTrace Information  
===================     
à Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.QueueDataReader.GetQueueItemFromCommand(SqlCommand c)     
à Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.QueueDataReader.GetQueueData(Int32 receiveTimeoutSec)     
à Microsoft.SqlServer.Management.SqlIMail.IMailProcess.QueueItemProcesser.GetDataFromQueue(DataAccessAdapter da, Int32 lifetimeMinimumSec)    

2) Exception Information  
===================  
Exception Type: System.Data.SqlClient.SqlException  
Errors: System.Data.SqlClient.SqlErrorCollection  
Class: 16  
LineNumber: 1  
Number: 6610  
Procedure: sp_xml_preparedocument  
Server: ACSRVCPU\SQL2008  
State: 1  
Source: .Net SqlClient Data Provider  
ErrorCode: -2146232060  
Message: Échec du chargement du fichier Msxmlsql.dll.  
Data: System.Collections.ListDictionaryInternal  
TargetSite: Void OnError(System.Data.SqlClient.SqlException, Boolean)  
HelpLink: NULL    
StackTrace Information  
===================     
à System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     
à System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     
à System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     
à System.Data.SqlClient.SqlDataReader.ConsumeMetaData()     
à System.Data.SqlClient.SqlDataReader.get_MetaData()     
à System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)     
à System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)     
à System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)     
à System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)     
à System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)     
à System.Data.SqlClient.SqlCommand.ExecuteReader()     
à Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.ConnectionManager.ExecuteReader(SqlCommand command)

*******************************************************************

and 1 information :

*******************************************************************

1) Exception Information  
===================  
Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.NoQueueDataException  
Message: Database Mail shutting down. Mail queue has been stopped.  
Data: System.Collections.ListDictionaryInternal  
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Objects.QueueItem GetQueueItemFromCommand(System.Data.SqlClient.SqlCommand)  
HelpLink: NULL  
Source: DatabaseMailEngine    
StackTrace Information  
===================     
à Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.QueueDataReader.GetQueueItemFromCommand(SqlCommand c)     
à Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.QueueDataReader.GetQueueData(Int32 receiveTimeoutSec)     
à Microsoft.SqlServer.Management.SqlIMail.IMailProcess.QueueItemProcesser.GetDataFromQueue(DataAccessAdapter da, Int32 lifetimeMinimumSec)
*******************************************************************

I know the is messed up but I really Help.

Thank You.

YosBoss



Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>