March 11, 2023 at 12:28 am
Long time since I've been on here. Anyway I have a test server that I recently upgraded from SQL Server 2014 to SQL Server 2019. Database Mail was working on 2014.
I have already been through the basics:
The only clue I have been able to find is in the Windows event log I see the following:
1) Exception Information
===================
Exception Type: System.IO.FileNotFoundException
Message: Could not load file or assembly 'Microsoft.SqlServer.ConnectionInfo, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
FileName: Microsoft.SqlServer.ConnectionInfo, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
FusionLog: WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Data: System.Collections.ListDictionaryInternal
TargetSite: Void OpenConnection(System.String, System.String, System.String, System.String, System.String, Int32)
HelpLink: NULL
Source: DatabaseMailEngine
HResult: -2147024894
StackTrace Information
===================
at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.OpenConnection(String dbServerName, String dbName, String userName, String password, String appName, Int32 connectionTimeout)
at Microsoft.SqlServer.Management.SqlIMail.IMailProcess.QueueItemProcesser.ProcessQueueItems(String dbName, String dbServerName, Int32
Unfortunately all references I can find for Microsoft.SqlServer.ConnectionInfo are for Visual Studio or PowerShell. Does anyone know what client library is missing here and where to get it?
March 12, 2023 at 1:10 am
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
March 13, 2023 at 12:32 pm
So this weekend I ended up trying to do a repair on the shared components of 2019, but that didn't seem to do it. I ended up doing a repair on the 2019 instance itself and after that things seemed to start working again. I'm still not sure how the server got in this state, as there weren't any errors in logs from the upgrade itself. Oh well.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply