SQL Server 2005数据库邮件错误:异常

时间:2013-09-25 04:15:09

标签: sql-server-2005 database-mail

现在已经尝试了好几周才能完成这个设置但没有运气。尝试更改帐户和配置文件,向我和其他几个帐户添加了databasemailuser权限,但仍然收到此消息

    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.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.DataAccess.SessionManager.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)

我一直无法找到任何答案,所以我想我会尝试一下。

0 个答案:

没有答案