our DBmail app was working up until two weeks ago.
not sure what caused it.
--
the unsent queue is load with the 10 emails that did not get sent.
SELECT * FROM msdb.dbo.sysmail_unsentitems
go
---
db mail is started
USE msdb;
go
EXEC sysmail_help_status_sp;
go
---
broker is active (1)
SELECT is_broker_enabled FROM sys.databases WHERE name = 'msdb';
go
--
the last time the msg
"databasemail process is started "
was on 1/20 four days before it stopped working.
---
I've
1) Check the permission
2) recreated the email account and profile via studio mgr.
3) I've checked and open the permission to the msdb for the admin account (as far as I can tell)
4) ran a trace via the profiler and I'm getting the msg
" exec dbo.sysmail_logmailevent_sp @event_type=2,@description=N'The read on the database failed. Reason: The EXECUTE permission was denied on the object ''sp_readrequest'', database ''msdb'', schema ''dbo''.
The EXECUTE permission was denied on the object ''sp_readrequest'', database ''msdb'', schema ''dbo''.',@process_id=5444"
--- see step 3 - granted exec permission ---
5) admin is part of the sysadmin and databasemailuserrole groups.
6) restartedthe service
what am I missing?
would AD cause a issue on the sql server?
do I need to restart the server? ( due to AD security changes)
TIA
Tim
not sure what caused it.
--
the unsent queue is load with the 10 emails that did not get sent.
SELECT * FROM msdb.dbo.sysmail_unsentitems
go
---
db mail is started
USE msdb;
go
EXEC sysmail_help_status_sp;
go
---
broker is active (1)
SELECT is_broker_enabled FROM sys.databases WHERE name = 'msdb';
go
--
the last time the msg
"databasemail process is started "
was on 1/20 four days before it stopped working.
---
I've
1) Check the permission
2) recreated the email account and profile via studio mgr.
3) I've checked and open the permission to the msdb for the admin account (as far as I can tell)
4) ran a trace via the profiler and I'm getting the msg
" exec dbo.sysmail_logmailevent_sp @event_type=2,@description=N'The read on the database failed. Reason: The EXECUTE permission was denied on the object ''sp_readrequest'', database ''msdb'', schema ''dbo''.
The EXECUTE permission was denied on the object ''sp_readrequest'', database ''msdb'', schema ''dbo''.',@process_id=5444"
--- see step 3 - granted exec permission ---
5) admin is part of the sysadmin and databasemailuserrole groups.
6) restartedthe service
what am I missing?
would AD cause a issue on the sql server?
do I need to restart the server? ( due to AD security changes)
TIA
Tim