I am having difficulties troubleshooting a Database Mail issue. When I try to stop and start the service using sysmail_start_sp and sysmail_stop_sp, I see a critical error in the Administrative Logs on the server.
The relevant exception appears to be:
Message: Access to the path 'C:\Windows\Microsoft.NET\Framework64\
v2.0.50727\Config\machine.config' is denied.
I am not finding good documentation on which Windows account is used for Database Mail. I thought it would be the SQLAgent service. I have tried changing the permissions of this user to no avail.
Any guidance is appreciated.
sysmail_start_sp? – Max Vernon Mar 13 at 19:10