50٪ تخفیف روی تمام دوره‌ها!
پایان تخفیف تا:
مشاهده دوره‌ها
0

خطای نصب mailserver sql server

سلام دوستان من میخوام از mailserver sql server استفاده کنم

تنظیمات هم انجام دادم

حالا موقعی که از procedure ران میگیرم این error رو میده

{"SQL Server blocked access to procedure 'dbo.spsenddbmail' of component 'Database Mail XPs' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'Database Mail XPs' by using sp_configure. For more information about enabling 'Database Mail XPs', see \"Surface Area Configuration\" in SQL Server Books Online."}

پرسیده شده در 1395/06/28 توسط

1 پاسخ

2

سلام

در ابتدای امر شما باید Database Mail رو از طریق این پروسیجر سیستمی فعال کنید.

لطفا مراحل زیر رو انجام بدید.

sp_configure 'show advanced options', 1;  
GO  
RECONFIGURE;  
GO  
sp_configure 'Database Mail XPs', 1;  
GO  
RECONFIGURE  


ALTER DATABASE [MSDB] SET  ENABLE_BROKER WITH NO_WAIT
پاسخ در 1395/06/28 توسط

پاسخ شما