在服务器上传时出现SqlCacheDependency问题

时间:2012-07-30 15:31:20

标签: c# asp.net sqlcachedependency

我在我的网站上使用了SqlCacheDependency,它在localhost上运行没有问题。但是当在服务器上上传它并恢复我的数据库时,它有以下错误:

 The SQL Server Service Broker for the current database is not enabled,
 and as a result query notifications are not supported.
 Please enable the Service Broker
 for this database if you wish to use notifications.

但我将其设置为true并且在localhost上运行良好。如何在Broker true上设置plesk

1 个答案:

答案 0 :(得分:0)

我发现必须在服务器管理员服务器上的数据库上启用代理。

相关问题